lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202408051453.f638857e-lkp@intel.com>
Date: Mon, 5 Aug 2024 15:24:58 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Joel Granados
	<j.granados@...sung.com>, <linux-kernel@...r.kernel.org>,
	<linux-fsdevel@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [sysctl:sysctl-testing] [sysctl]  9f1a3a2fce:
 sysctl_could_not_get_directory



Hello,

kernel test robot noticed "sysctl_could_not_get_directory" on:

commit: 9f1a3a2fcea5b48ed81097e779d384a33deb1ac3 ("sysctl: make internal ctl_tables const")
https://git.kernel.org/cgit/linux/kernel/git/sysctl/sysctl.git sysctl-testing

in testcase: boot

compiler: clang-18
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)


+------------------------------------------+------------+------------+
|                                          | 8ac44bd8e9 | 9f1a3a2fce |
+------------------------------------------+------------+------------+
| boot_successes                           | 24         | 0          |
| boot_failures                            | 0          | 24         |
| sysctl_could_not_get_directory           | 0          | 24         |
| kernel_BUG_at_kernel/ucount.c            | 0          | 24         |
| Oops:invalid_opcode:#[##]SMP_PTI         | 0          | 24         |
| RIP:user_namespace_sysctl_init           | 0          | 24         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 24         |
+------------------------------------------+------------+------------+


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/202408051453.f638857e-lkp@intel.com


[    0.403331][    T1] devtmpfs: initialized
[    0.404444][    T1] x86/mm: Memory block size: 128MB
[    0.406772][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.408486][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.409606][    T1] pinctrl core: initialized pinctrl subsystem
[    0.410485][    T1] sysctl could not get directory: /net -30
[    0.411213][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.412462][    T1] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.413408][    T1] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.414428][    T1] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.415498][    T1] thermal_sys: Registered thermal governor 'fair_share'
[    0.415499][    T1] thermal_sys: Registered thermal governor 'bang_bang'
[    0.416351][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.418128][    T1] thermal_sys: Registered thermal governor 'user_space'
[    0.419133][    T1] cpuidle: using governor menu
[    0.421087][    T1] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.421666][    T1] PCI: Using configuration type 1 for base access
[    0.423516][    T1] sysctl could not get directory: /user -30
[    0.424138][    T1] ------------[ cut here ]------------
[    0.424885][    T1] kernel BUG at kernel/ucount.c:370!
[    0.425334][    T1] Oops: invalid opcode: 0000 [#1] SMP PTI
[    0.426110][    T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.0-rc1-00004-g9f1a3a2fcea5 #1
[    0.426125][    T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[    0.426125][    T1] RIP: 0010:user_namespace_sysctl_init+0xdc/0xe0
[    0.426125][    T1] Code: 48 0f c1 81 80 00 00 00 48 8b 41 10 48 8b 88 58 02 00 00 48 8b 88 f0 01 00 00 48 85 c9 75 db 31 c0 5b c3 cc cc cc cc cc 0f 0b <0f> 0b cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[    0.426125][    T1] RSP: 0000:ffffaa4540013b00 EFLAGS: 00010246
[    0.426125][    T1] RAX: 61a99279fe04ab00 RBX: ffffffffa210e1a0 RCX: 00000000000000b8
[    0.426125][    T1] RDX: 00000000000000b7 RSI: 0000000000039160 RDI: ffffffffa1644250
[    0.426125][    T1] RBP: ffffaa4540013e28 R08: 0000000000007fff R09: ffffffffa1653640
[    0.426125][    T1] R10: 0000000000017ffd R11: 0000000000000004 R12: 0000000000000000
[    0.426125][    T1] R13: 0000000000000000 R14: ffffffffa2346dc4 R15: 0000000000000000
[    0.426125][    T1] FS:  0000000000000000(0000) GS:ffff896c2fd00000(0000) knlGS:0000000000000000
[    0.426125][    T1] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.426125][    T1] CR2: 0000000000000000 CR3: 000000010241a000 CR4: 00000000000406f0
[    0.426125][    T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.426125][    T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.426125][    T1] Call Trace:
[    0.426125][    T1]  <TASK>
[    0.426125][    T1]  ? __die_body+0x66/0xb0
[    0.426125][    T1]  ? die+0xa0/0xc0
[    0.426125][    T1]  ? do_trap+0xa2/0x170
[    0.426125][    T1]  ? user_namespace_sysctl_init+0xdc/0xe0
[    0.426125][    T1]  ? handle_invalid_op+0x65/0x80
[    0.426125][    T1]  ? user_namespace_sysctl_init+0xdc/0xe0
[    0.426125][    T1]  ? exc_invalid_op+0x34/0x50
[    0.426125][    T1]  ? asm_exc_invalid_op+0x16/0x20
[    0.426125][    T1]  ? __pfx_user_namespace_sysctl_init+0x10/0x10
[    0.426125][    T1]  ? user_namespace_sysctl_init+0xdc/0xe0
[    0.426125][    T1]  ? __pfx_user_namespace_sysctl_init+0x10/0x10
[    0.426125][    T1]  do_one_initcall+0x11a/0x330
[    0.426125][    T1]  ? crng_fast_key_erasure+0x109/0x190
[    0.426125][    T1]  ? crng_make_state+0x174/0x1b0
[    0.426125][    T1]  ? get_random_u32+0x138/0x190
[    0.426125][    T1]  ? __get_random_u32_below+0xf/0x60
[    0.426125][    T1]  ? allocate_slab+0x1ef/0x670
[    0.426125][    T1]  ? parameq+0x13/0x90
[    0.426125][    T1]  ? __pfx_ignore_unknown_bootoption+0x10/0x10
[    0.426125][    T1]  ? parse_args+0x143/0x3e0
[    0.426125][    T1]  do_initcall_level+0x7c/0xd0
[    0.426125][    T1]  do_initcalls+0x59/0xa0
[    0.426125][    T1]  kernel_init_freeable+0x11e/0x190
[    0.426125][    T1]  ? __pfx_kernel_init+0x10/0x10
[    0.426125][    T1]  kernel_init+0x16/0x1a0
[    0.426125][    T1]  ret_from_fork+0x36/0x40
[    0.426125][    T1]  ? __pfx_kernel_init+0x10/0x10
[    0.426125][    T1]  ret_from_fork_asm+0x1a/0x30
[    0.426125][    T1]  </TASK>
[    0.426125][    T1] Modules linked in:
[    0.464137][    T1] ---[ end trace 0000000000000000 ]---
[    0.464859][    T1] RIP: 0010:user_namespace_sysctl_init+0xdc/0xe0
[    0.466337][    T1] Code: 48 0f c1 81 80 00 00 00 48 8b 41 10 48 8b 88 58 02 00 00 48 8b 88 f0 01 00 00 48 85 c9 75 db 31 c0 5b c3 cc cc cc cc cc 0f 0b <0f> 0b cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[    0.468633][    T1] RSP: 0000:ffffaa4540013b00 EFLAGS: 00010246
[    0.469329][    T1] RAX: 61a99279fe04ab00 RBX: ffffffffa210e1a0 RCX: 00000000000000b8
[    0.470127][    T1] RDX: 00000000000000b7 RSI: 0000000000039160 RDI: ffffffffa1644250
[    0.471130][    T1] RBP: ffffaa4540013e28 R08: 0000000000007fff R09: ffffffffa1653640
[    0.472126][    T1] R10: 0000000000017ffd R11: 0000000000000004 R12: 0000000000000000
[    0.473126][    T1] R13: 0000000000000000 R14: ffffffffa2346dc4 R15: 0000000000000000
[    0.474127][    T1] FS:  0000000000000000(0000) GS:ffff896c2fd00000(0000) knlGS:0000000000000000
[    0.475127][    T1] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.475982][    T1] CR2: 0000000000000000 CR3: 000000010241a000 CR4: 00000000000406f0
[    0.477482][    T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.478502][    T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.480487][    T1] Kernel panic - not syncing: Fatal exception



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240805/202408051453.f638857e-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ