ci2 starts bisection 2023-10-31 12:41:07.878346818 +0000 UTC m=+5345.895168301 bisecting fixing commit since 8a427269c016a4b7a6c29a595f3c121030649818 building syzkaller on d216d8a03b50bef82eac746d227230835f061640 ensuring issue is reproducible on original commit 8a427269c016a4b7a6c29a595f3c121030649818 testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd09050b82e60995ecaa28d0c29c5b57bd8a09df6d832cfc1a4c266013f1ed0a all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 28f277689af5eefa115106237fafed2af3f36b96f6750fe6962132d4dd608c84 all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=4789 full=6022 leaves diff=237 split chunks (needed=false): <237> split chunk #0 of len 237 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 80d59295bdf233868ed48448b4121a2e88648344c15f6e1550358b84b300a270 all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 69e975857f2c1e2c3f899ed08b1a100ff7b1685123ed7933c2afb9056b7b3dcf all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad5ec2b81163971fc8ef58bc96d29d95ce09c9c3198dbdde79e79b9946a5ae2c all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 05b420b0fbb075c76519d6a48dfdd329adbf62726fb558ff3612716214a2c527 all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8a427269c016a4b7a6c29a595f3c121030649818 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 8a427269c016a4b7a6c29a595f3c121030649818: net/socket.c:1109: undefined reference to `wext_handle_ioctl' net/socket.c:3378: 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 45 configs; suspects: [HID_ZEROPLUS 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 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing current HEAD 974cdc3417177c55ed62880414ce48d8c75018d3 testing commit 974cdc3417177c55ed62880414ce48d8c75018d3 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7c15ee8af6a0874b1f5cbeef4d51e71c146c8586fb5e8969103ace3e93a09ab9 all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 50m8.943304642s (build: 19m25.640105199s, test: 29m7.999812759s) crash still not fixed or there were kernel test errors commit msg: Revert "netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp" crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_inc_return include/asm-generic/atomic-instrumented.h:250 [inline] BUG: KASAN: null-ptr-deref in ihold+0x19/0x30 fs/inode.c:423 Write of size 4 at addr 0000000000000170 by task syz-executor.0/347 CPU: 0 PID: 347 Comm: syz-executor.0 Not tainted 5.10.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 __kasan_report mm/kasan/report.c:439 [inline] kasan_report.cold+0x64/0xdb mm/kasan/report.c:452 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x148/0x190 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_inc_return include/asm-generic/atomic-instrumented.h:250 [inline] ihold+0x19/0x30 fs/inode.c:423 backing_data_changed fs/fuse/dir.c:193 [inline] fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:302 d_revalidate fs/namei.c:780 [inline] d_revalidate fs/namei.c:777 [inline] lookup_dcache+0x90/0xd0 fs/namei.c:1505 __lookup_hash+0x1e/0x150 fs/namei.c:1526 do_renameat2+0x3e3/0x990 fs/namei.c:4565 __do_sys_rename fs/namei.c:4656 [inline] __se_sys_rename fs/namei.c:4654 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4654 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f563b4c8ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f563b02a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f563b5e8050 RCX: 00007f563b4c8ae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007f563b51447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f563b5e8050 R15: 00007fffd4ea8b48 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000170 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 120c2b067 P4D 120c2b067 PUD 120c2f067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 347 Comm: syz-executor.0 Tainted: G B 5.10.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline] RIP: 0010:arch_atomic_inc_return include/linux/atomic-arch-fallback.h:286 [inline] RIP: 0010:atomic_inc_return include/asm-generic/atomic-instrumented.h:251 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:423 Code: eb 90 66 2e 0f 1f 84 00 00 00 00 00 55 be 04 00 00 00 48 89 e5 53 48 89 fb 48 8d bf 70 01 00 00 e8 47 bc f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 48 8b 5d f8 c9 c3 0f 1f 40 00 48 b8 00 00 RSP: 0018:ffffc900008f7a08 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81328231 RDX: fffffbfff0ad693c RSI: 0000000000000004 RDI: ffffffff856b49e0 RBP: ffffc900008f7a10 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad693c R11: 0000000000000001 R12: ffff888119fbcf58 R13: 0000000000000020 R14: ffff888121020900 R15: ffff888119fbcee0 FS: 00007f563b02a6c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 0000000106dbc000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: backing_data_changed fs/fuse/dir.c:193 [inline] fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:302 d_revalidate fs/namei.c:780 [inline] d_revalidate fs/namei.c:777 [inline] lookup_dcache+0x90/0xd0 fs/namei.c:1505 __lookup_hash+0x1e/0x150 fs/namei.c:1526 do_renameat2+0x3e3/0x990 fs/namei.c:4565 __do_sys_rename fs/namei.c:4656 [inline] __se_sys_rename fs/namei.c:4654 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4654 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f563b4c8ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f563b02a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f563b5e8050 RCX: 00007f563b4c8ae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007f563b51447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f563b5e8050 R15: 00007fffd4ea8b48 Modules linked in: CR2: 0000000000000170 ---[ end trace 9c2f618d02a0d022 ]--- RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline] RIP: 0010:arch_atomic_inc_return include/linux/atomic-arch-fallback.h:286 [inline] RIP: 0010:atomic_inc_return include/asm-generic/atomic-instrumented.h:251 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:423 Code: eb 90 66 2e 0f 1f 84 00 00 00 00 00 55 be 04 00 00 00 48 89 e5 53 48 89 fb 48 8d bf 70 01 00 00 e8 47 bc f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 48 8b 5d f8 c9 c3 0f 1f 40 00 48 b8 00 00 RSP: 0018:ffffc900008f7a08 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81328231 RDX: fffffbfff0ad693c RSI: 0000000000000004 RDI: ffffffff856b49e0 RBP: ffffc900008f7a10 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad693c R11: 0000000000000001 R12: ffff888119fbcf58 R13: 0000000000000020 R14: ffff888121020900 R15: ffff888119fbcee0 FS: 00007f563b02a6c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 0000000106dbc000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: eb 90 jmp 0xffffff92 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 55 push %rbp d: be 04 00 00 00 mov $0x4,%esi 12: 48 89 e5 mov %rsp,%rbp 15: 53 push %rbx 16: 48 89 fb mov %rdi,%rbx 19: 48 8d bf 70 01 00 00 lea 0x170(%rdi),%rdi 20: e8 47 bc f2 ff call 0xfff2bc6c 25: b8 01 00 00 00 mov $0x1,%eax * 2a: f0 0f c1 83 70 01 00 lock xadd %eax,0x170(%rbx) <-- trapping instruction 31: 00 32: 48 8b 5d f8 mov -0x8(%rbp),%rbx 36: c9 leave 37: c3 ret 38: 0f 1f 40 00 nopl 0x0(%rax) 3c: 48 rex.W 3d: b8 .byte 0xb8