All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel BUG at fs/namei.c:248
@ 2017-07-19 10:24 Naresh Kamboju
  2017-07-19 13:54 ` Al Viro
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2017-07-19 10:24 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel, Kees Cook

Linux version:
Linux version 4.13.0-rc1-00059-g74cbd96 (buildslave@x86-64-07) (gcc
version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Tue
Jul 18 19:09:37 UTC 2017

[ 1245.412625] kernel BUG at
/srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
[ 1245.427428] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 1245.438436] Modules linked in: zram lzo test_printf algif_hash
af_alg adv7511 kirin_drm drm_kms_helper dw_drm_dsi drm asix usbnet
fuse [last unloaded: zram]
[ 1245.464069] CPU: 0 PID: 14116 Comm:  Not tainted 4.13.0-rc1-00059-g74cbd96 #1
[ 1245.477121] Hardware name: HiKey Development Board (DT)
[ 1245.488310] task: ffff800038a98000 task.stack: ffff800075494000
[ 1245.500283] PC is at putname+0x60/0x78
[ 1245.510118] LR is at do_execveat_common.isra.15+0x680/0x900
[ 1245.521837] pc : [<ffff0000082acd28>] lr : [<ffff0000082a4500>]
pstate: 60000145
[ 1245.535495] sp : ffff800075497e20
<snippet>
[ 1245.713871] Process  (pid: 14116, stack limit = 0xffff800075494000)
[ 1245.725093] Stack: (0xffff800075497e20 to 0xffff800075498000)
<snippet>
[ 1246.034930] [<ffff0000082acd28>] putname+0x60/0x78
[ 1246.042643] [<ffff0000082a49c0>] SyS_execve+0x38/0x48
[ 1246.050557] [<ffff0000080837cc>] __sys_trace_return+0x0/0x4
[ 1246.058954] Code: f9400bf3 a8c27bfd d65f03c0 d503201f (d4210000)
[ 1246.068297] ---[ end trace 46b3ab1ea8cf19fc ]---

Build details,
kernel-branch: master
kernel-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel-commit: 74cbd96bc2e00f5daa805e2ebf49e998f7045062
kernel-describe: v4.13-rc1-59-g74cbd96
kernel-config: https://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/101/defconfig

Details LAVA test job running kselftests on Open embedded build.
https://lkft.validation.linaro.org/scheduler/job/14907#L3525

Error log paste bin:
https://pastebin.com/mtPRdRyV

Best regards
Naresh Kamboju

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel BUG at fs/namei.c:248
  2017-07-19 10:24 Kernel BUG at fs/namei.c:248 Naresh Kamboju
@ 2017-07-19 13:54 ` Al Viro
  2017-07-19 16:16   ` Naresh Kamboju
  0 siblings, 1 reply; 5+ messages in thread
From: Al Viro @ 2017-07-19 13:54 UTC (permalink / raw)
  To: Naresh Kamboju; +Cc: linux-fsdevel, linux-kernel, Kees Cook

On Wed, Jul 19, 2017 at 03:54:54PM +0530, Naresh Kamboju wrote:
> Linux version:
> Linux version 4.13.0-rc1-00059-g74cbd96 (buildslave@x86-64-07) (gcc
> version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Tue
> Jul 18 19:09:37 UTC 2017
> 
> [ 1245.412625] kernel BUG at
> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!

Interesting... Looks like double-put or memory corruptor of some sort.
Nothing obvious jumps out at the first glance; I'll look into that when
I get back to better connectivity tonight.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel BUG at fs/namei.c:248
  2017-07-19 13:54 ` Al Viro
@ 2017-07-19 16:16   ` Naresh Kamboju
  2017-07-24  9:29     ` Naresh Kamboju
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2017-07-19 16:16 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, linux-kernel, Kees Cook

On 19 July 2017 at 19:24, Al Viro <viro@zeniv.linux.org.uk> wrote:
> On Wed, Jul 19, 2017 at 03:54:54PM +0530, Naresh Kamboju wrote:
>> Linux version:
>> Linux version 4.13.0-rc1-00059-g74cbd96 (buildslave@x86-64-07) (gcc
>> version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Tue
>> Jul 18 19:09:37 UTC 2017
>>
>> [ 1245.412625] kernel BUG at
>> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
>
> Interesting... Looks like double-put or memory corruptor of some sort.
> Nothing obvious jumps out at the first glance; I'll look into that when
> I get back to better connectivity tonight.

I am able to reproduce this BUG by running zram test cases multiple
times in a row.
http://people.linaro.org/~naresh.kamboju/zram.tar.gz

Ref:
LKFT: linux-mainline: Kernel BUG at fs/namei.c:248
https://bugs.linaro.org/show_bug.cgi?id=3140

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel BUG at fs/namei.c:248
  2017-07-19 16:16   ` Naresh Kamboju
@ 2017-07-24  9:29     ` Naresh Kamboju
  2017-07-26  0:29       ` Sergey Senozhatsky
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2017-07-24  9:29 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, linux-kernel, Kees Cook

This bug still occurring on linux-next : 4.13.0-rc2-next-20170724.

>>> [ 1245.412625] kernel BUG at
>>> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
>>
>> Interesting... Looks like double-put or memory corruptor of some sort.
>> Nothing obvious jumps out at the first glance; I'll look into that when
>> I get back to better connectivity tonight.


[ 1233.512841] kernel BUG at
/srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
zram load module [ 1233.522161] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
successful
set m[ 1233.529054] Modules linked in: zram lzo test_printf algif_hash
af_alg adv7511 kirin_drm drm_kms_helper dw_drm_dsi drm asix usbnet
fuse [last unloaded: zram]
[ 1233.544586] CPU: 0 PID: 14163 Comm: systemd-udevd Not tainted
4.13.0-rc2-next-20170724 #1


LAVA test job id,
https://lkft.validation.linaro.org/scheduler/job/15352#L3402

>
> I am able to reproduce this BUG by running zram test cases multiple
> times in a row.
> http://people.linaro.org/~naresh.kamboju/zram.tar.gz
>
> Ref:
> LKFT: linux-mainline: Kernel BUG at fs/namei.c:248
> https://bugs.linaro.org/show_bug.cgi?id=3140

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel BUG at fs/namei.c:248
  2017-07-24  9:29     ` Naresh Kamboju
@ 2017-07-26  0:29       ` Sergey Senozhatsky
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Senozhatsky @ 2017-07-26  0:29 UTC (permalink / raw)
  To: Naresh Kamboju; +Cc: Al Viro, linux-fsdevel, linux-kernel, Kees Cook

On (07/24/17 14:59), Naresh Kamboju wrote:
> This bug still occurring on linux-next : 4.13.0-rc2-next-20170724.
> 
> >>> [ 1245.412625] kernel BUG at
> >>> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
> >>
> >> Interesting... Looks like double-put or memory corruptor of some sort.
> >> Nothing obvious jumps out at the first glance; I'll look into that when
> >> I get back to better connectivity tonight.
> 
> 
> [ 1233.512841] kernel BUG at
> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248!
> zram load module [ 1233.522161] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
> successful
> set m[ 1233.529054] Modules linked in: zram lzo test_printf algif_hash
> af_alg adv7511 kirin_drm drm_kms_helper dw_drm_dsi drm asix usbnet
> fuse [last unloaded: zram]
> [ 1233.544586] CPU: 0 PID: 14163 Comm: systemd-udevd Not tainted
> 4.13.0-rc2-next-20170724 #1

FYI,
https://patchwork.kernel.org/patch/9861253/

	-ss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-26  0:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-19 10:24 Kernel BUG at fs/namei.c:248 Naresh Kamboju
2017-07-19 13:54 ` Al Viro
2017-07-19 16:16   ` Naresh Kamboju
2017-07-24  9:29     ` Naresh Kamboju
2017-07-26  0:29       ` Sergey Senozhatsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.