ci2 starts bisection 2025-02-22 08:31:00.130464306 +0000 UTC m=+51703.166893098 bisecting fixing commit since 49e8ba0a684f965d47f6b9e1b152c62389eb92df building syzkaller on f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 ensuring issue is reproducible on original commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36bfb082d91372ed7adfa555d81180d82306af23abd5e71bd81d6e01c2409111 all runs: crashed: general protection fault in security_inode_getattr representative crash: general protection fault in security_inode_getattr, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f06a3f1e52859d1d1903b396be0fd86321a7638938f412d7d38eb31ff0644481 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=4789 full=6023 leaves diff=244 split chunks (needed=false): <244> split chunk #0 of len 244 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f09213233edc62cf9b4827a8e5b7c8c5d0c951c1ebffdec794b88690027fd59c all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3ca5e1362258d2b0a25746d0d275d8804338c4cc16ecf3c3f6c9bdecc632ac6e all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0b135f2ca9ecb4a7dabb18c16aec5ea90ad38af4fac5abe80942bb9767b5c07 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f0cfbb39d1819b74700b9114a57c9af1f985e9424988fb942fd9ffd71a02ead all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 49e8ba0a684f965d47f6b9e1b152c62389eb92df gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 49e8ba0a684f965d47f6b9e1b152c62389eb92df: net/socket.c:1128: undefined reference to `wext_handle_ioctl' net/socket.c:3397: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 48 configs; suspects: [HID_ZEROPLUS USB_NET_DM9601 USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM USB_XHCI_PCI_RENESAS WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing current HEAD 6686f2996d23ab0b94151843024f466a3a264f34 testing commit 6686f2996d23ab0b94151843024f466a3a264f34 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2082adc4ce731448156698495093c3e425e597e0d795eb4d095f1d4a831a1a2 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr representative crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 44m45.429459254s (build: 16m43.411592058s, test: 26m40.165680673s) crash still not fixed or there were kernel test errors commit msg: Revert "net: net_namespace: Optimize the code" crash: BUG: unable to handle kernel NULL pointer dereference in security_inode_getattr BUG: kernel NULL pointer dereference, address: 0000000000000030 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 117159067 P4D 117159067 PUD 11715d067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 504 Comm: syz.2.16 Not tainted 5.10.234-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:security_inode_getattr+0x4/0x40 security/security.c:1265 Code: 85 c0 75 0a 48 8b 1b 48 85 db 75 eb 31 c0 5b 41 5c 41 5d 5d c3 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 47 08 <48> 8b 40 30 f6 40 0d 02 75 2f 55 48 89 e5 41 54 49 89 fc 53 48 8b RSP: 0018:ffffc900006cf8a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810dd601a0 RCX: 0000000000000000 RDX: 00000000000007ff RSI: ffffc900006cf9a0 RDI: ffffc900006cf990 RBP: ffffc900006cf8c8 R08: 0000000000000064 R09: ffff88810ddaa2d8 R10: 0000000000010000 R11: 0000000000000000 R12: ffffc900006cf9a0 R13: 00000000000007ff R14: 0000000000000000 R15: ffffc900006cf990 FS: 00007fac795fe6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000030 CR3: 000000011714b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ovl_copy_up_one+0xaa/0xd60 fs/overlayfs/copy_up.c:882 ovl_copy_up_flags+0xb6/0x100 fs/overlayfs/copy_up.c:964 ovl_maybe_copy_up+0x8d/0xb0 fs/overlayfs/copy_up.c:996 ovl_open+0x27/0x80 fs/overlayfs/file.c:151 do_dentry_open+0x157/0x3d0 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0x48/0x70 fs/open.c:958 file_open+0xca/0x230 fs/incfs/vfs.c:1478 do_dentry_open+0x157/0x3d0 fs/open.c:819 vfs_open+0x28/0x30 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0xbbd/0x10d0 fs/namei.c:3509 do_filp_open+0x9d/0x140 fs/namei.c:3536 do_sys_openat2+0x9c/0x210 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x51/0x90 fs/open.c:1244 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fac79b84d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fac795fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fac79d74fa0 RCX: 00007fac79b84d29 RDX: 0000000000000002 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fac79c00b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fac79d74fa0 R15: 00007ffd2de738a8 Modules linked in: CR2: 0000000000000030 ---[ end trace ab3bdd2b81428125 ]--- RIP: 0010:security_inode_getattr+0x4/0x40 security/security.c:1265 Code: 85 c0 75 0a 48 8b 1b 48 85 db 75 eb 31 c0 5b 41 5c 41 5d 5d c3 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 47 08 <48> 8b 40 30 f6 40 0d 02 75 2f 55 48 89 e5 41 54 49 89 fc 53 48 8b RSP: 0018:ffffc900006cf8a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810dd601a0 RCX: 0000000000000000 RDX: 00000000000007ff RSI: ffffc900006cf9a0 RDI: ffffc900006cf990 RBP: ffffc900006cf8c8 R08: 0000000000000064 R09: ffff88810ddaa2d8 R10: 0000000000010000 R11: 0000000000000000 R12: ffffc900006cf9a0 R13: 00000000000007ff R14: 0000000000000000 R15: ffffc900006cf990 FS: 00007fac795fe6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000030 CR3: 000000011714b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 85 c0 test %eax,%eax 2: 75 0a jne 0xe 4: 48 8b 1b mov (%rbx),%rbx 7: 48 85 db test %rbx,%rbx a: 75 eb jne 0xfffffff7 c: 31 c0 xor %eax,%eax e: 5b pop %rbx f: 41 5c pop %r12 11: 41 5d pop %r13 13: 5d pop %rbp 14: c3 ret 15: 31 c0 xor %eax,%eax 17: c3 ret 18: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 1f: 00 00 00 00 23: 0f 1f 00 nopl (%rax) 26: 48 8b 47 08 mov 0x8(%rdi),%rax * 2a: 48 8b 40 30 mov 0x30(%rax),%rax <-- trapping instruction 2e: f6 40 0d 02 testb $0x2,0xd(%rax) 32: 75 2f jne 0x63 34: 55 push %rbp 35: 48 89 e5 mov %rsp,%rbp 38: 41 54 push %r12 3a: 49 89 fc mov %rdi,%r12 3d: 53 push %rbx 3e: 48 rex.W 3f: 8b .byte 0x8b