[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202401191627.63051dd8-oliver.sang@intel.com>
Date: Fri, 19 Jan 2024 17:27:28 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Joel Granados <j.granados@...sung.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <linux-kernel@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>, <netdev@...r.kernel.org>,
<oliver.sang@...el.com>
Subject: [joel-granados:jag/sysctl_remove_empty_elem] [sysctl] 15acdfcefd:
sysctl_table_check_failed
Hello,
kernel test robot noticed "sysctl_table_check_failed" on:
commit: 15acdfcefdf6023d165779105b254cc410297526 ("sysctl: remove the check for the end empty element")
https://git.kernel.org/cgit/linux/kernel/git/joel.granados/linux.git jag/sysctl_remove_empty_elem
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)
+------------------------------------------+------------+------------+
| | 19bcf4e935 | 15acdfcefd |
+------------------------------------------+------------+------------+
| boot_successes | 19 | 0 |
| boot_failures | 0 | 25 |
| sysctl_table_check_failed | 0 | 25 |
| kernel_BUG_at_kernel/ucount.c | 0 | 25 |
| invalid_opcode:#[##] | 0 | 25 |
| RIP:user_namespace_sysctl_init | 0 | 25 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 25 |
+------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202401191627.63051dd8-oliver.sang@intel.com
[ 0.403101][ T1] sysctl table check failed: user/(null) No proc_handler
[ 0.404663][ T1] ------------[ cut here ]------------
[ 0.405346][ T1] kernel BUG at kernel/ucount.c:371!
[ 0.406217][ T1] invalid opcode: 0000 [#1] SMP PTI
[ 0.406343][ T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.7.0-rc6-00006-g15acdfcefdf6 #1
[ 0.406343][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 0.406343][ T1] RIP: 0010:user_namespace_sysctl_init+0xcb/0xf0
[ 0.406343][ T1] Code: 2d 72 64 4c ff c6 07 00 0f 1f 00 fb ba 01 00 00 00 31 f6 48 c7 c7 20 5c a5 90 e8 00 ab 9b fd 31 c0 5b 5d c3 cc cc cc cc 0f 0b <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00
[ 0.406343][ T1] RSP: 0000:ffffb68040013de8 EFLAGS: 00010246
[ 0.406343][ T1] RAX: 0000000000000000 RBX: ffffffff9158f710 RCX: 00000000000000b8
[ 0.406343][ T1] RDX: 0000000000000000 RSI: 0000000000037160 RDI: ffffffff90a4e020
[ 0.406343][ T1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb68040013b90
[ 0.406343][ T1] R10: 0000000000000003 R11: ffffffff90ddd6e8 R12: ffff99113fc7a000
[ 0.406343][ T1] R13: ffffb68040013e00 R14: 000000000000040d R15: 0000000000000000
[ 0.406343][ T1] FS: 0000000000000000(0000) GS:ffff99113fd00000(0000) knlGS:0000000000000000
[ 0.406343][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.406343][ T1] CR2: 0000000000000000 CR3: 0000000433c1c000 CR4: 00000000000406f0
[ 0.406343][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.406343][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.406343][ T1] Call Trace:
[ 0.406343][ T1] <TASK>
[ 0.406343][ T1] ? die+0x36/0xb0
[ 0.406343][ T1] ? do_trap+0xda/0x130
[ 0.406343][ T1] ? user_namespace_sysctl_init+0xcb/0xf0
[ 0.406343][ T1] ? do_error_trap+0x65/0xb0
[ 0.406343][ T1] ? user_namespace_sysctl_init+0xcb/0xf0
[ 0.406343][ T1] ? exc_invalid_op+0x50/0x70
[ 0.406343][ T1] ? user_namespace_sysctl_init+0xcb/0xf0
[ 0.406343][ T1] ? asm_exc_invalid_op+0x1a/0x20
[ 0.406343][ T1] ? __pfx_user_namespace_sysctl_init+0x10/0x10
[ 0.406343][ T1] ? user_namespace_sysctl_init+0xcb/0xf0
[ 0.406343][ T1] ? user_namespace_sysctl_init+0x35/0xf0
[ 0.406343][ T1] ? __pfx_user_namespace_sysctl_init+0x10/0x10
[ 0.406343][ T1] do_one_initcall+0x5b/0x2f0
[ 0.406343][ T1] do_initcalls+0xc6/0x170
[ 0.406343][ T1] kernel_init_freeable+0x25c/0x330
[ 0.406343][ T1] ? __pfx_kernel_init+0x10/0x10
[ 0.406343][ T1] kernel_init+0x1a/0x1f0
[ 0.406343][ T1] ret_from_fork+0x34/0x70
[ 0.406343][ T1] ? __pfx_kernel_init+0x10/0x10
[ 0.406343][ T1] ret_from_fork_asm+0x1b/0x30
[ 0.406343][ T1] </TASK>
[ 0.406343][ T1] Modules linked in:
[ 0.436350][ T1] ---[ end trace 0000000000000000 ]---
[ 0.436931][ T1] RIP: 0010:user_namespace_sysctl_init+0xcb/0xf0
[ 0.437526][ T1] Code: 2d 72 64 4c ff c6 07 00 0f 1f 00 fb ba 01 00 00 00 31 f6 48 c7 c7 20 5c a5 90 e8 00 ab 9b fd 31 c0 5b 5d c3 cc cc cc cc 0f 0b <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00
[ 0.439835][ T1] RSP: 0000:ffffb68040013de8 EFLAGS: 00010246
[ 0.440346][ T1] RAX: 0000000000000000 RBX: ffffffff9158f710 RCX: 00000000000000b8
[ 0.441190][ T1] RDX: 0000000000000000 RSI: 0000000000037160 RDI: ffffffff90a4e020
[ 0.441598][ T1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb68040013b90
[ 0.442345][ T1] R10: 0000000000000003 R11: ffffffff90ddd6e8 R12: ffff99113fc7a000
[ 0.443229][ T1] R13: ffffb68040013e00 R14: 000000000000040d R15: 0000000000000000
[ 0.444599][ T1] FS: 0000000000000000(0000) GS:ffff99113fd00000(0000) knlGS:0000000000000000
[ 0.445346][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.446029][ T1] CR2: 0000000000000000 CR3: 0000000433c1c000 CR4: 00000000000406f0
[ 0.446598][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.447346][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.448197][ T1] Kernel panic - not syncing: Fatal exception
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240119/202401191627.63051dd8-oliver.sang@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists