Hello, kernel test robot noticed "sysctl_could_not_get_directory" on: commit: 1997935e918fa4c07b70be47ef8f37622df427bd ("[PATCH 6/8] test_sysclt: Test for registering a mount point") url: https://github.com/intel-lab-lkp/linux/commits/Joel-Granados/parport-plug-a-sysctl-register-leak/20230602-191021 base: https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux.git sysctl-next patch link: https://lore.kernel.org/all/20230602110638.789426-7-j.granados@samsung.com/ patch subject: [PATCH 6/8] test_sysclt: Test for registering a mount point in testcase: boot compiler: gcc-12 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-lkp/202306042234.f2d7beff-oliver.sang@intel.com [ 15.271017][ T1] initcall io_uring_init+0x0/0x40 returned 0 after 87 usecs [ 15.272122][ T1] calling test_firmware_init+0x0/0x190 @ 1 [ 15.274422][ T1] test_firmware: interface ready [ 15.275240][ T1] initcall test_firmware_init+0x0/0x190 returned 0 after 2200 usecs [ 15.276480][ T1] calling test_sysctl_init+0x0/0x630 @ 1 [ 15.277687][ T1] sysctl could not get directory: /debug/test_sysctl/mnt/mnt_error -30 [ 15.279055][ T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.4.0-rc2-00016-g1997935e918f #1 [ 15.280027][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 15.280027][ T1] Call Trace: [ 15.280027][ T1] [ 15.280027][ T1] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:107) [ 15.280027][ T1] __register_sysctl_table (kbuild/src/consumer/fs/proc/proc_sysctl.c:1379) [ 15.280027][ T1] test_sysctl_init (kbuild/src/consumer/lib/test_sysctl.c:220 kbuild/src/consumer/lib/test_sysctl.c:235) [ 15.280027][ T1] ? test_firmware_init (kbuild/src/consumer/lib/test_sysctl.c:224) To reproduce: # build kernel cd linux cp config-6.4.0-rc2-00016-g1997935e918f .config make HOSTCC=gcc-12 CC=gcc-12 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-12 CC=gcc-12 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki