Kernel BUG at fs/namei.c:248

From: Naresh Kamboju
Date: Wed Jul 19 2017 - 06:25:05 EST


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