ci2 starts bisection 2023-10-18 17:37:14.264033917 +0000 UTC m=+170626.237816364 bisecting fixing commit since ea586874d2f9e501ef84b7e55036fc8965397d5d building syzkaller on 0b6a67ac4b0dc26f43030c5edd01c9175f13b784 ensuring issue is reproducible on original commit ea586874d2f9e501ef84b7e55036fc8965397d5d testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3a232cb36f55740cea774eab97f5ba0f3361ac12a88668e1999439f2fa1454e9 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 ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0557e12434df710de67d4b824fb548e36015b18fb82838e1c41459bd5a15c970 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 [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4920 full=6163 leaves diff=241 split chunks (needed=false): <241> split chunk #0 of len 241 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a601640b41ae55bd3fd7ea8d83061a06ef4b6a42c86c77d52d645059a6608c7e 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15e0c79197d3fb316c5371b4fb491439dbf952ed9839b91544b168cdd3148ea8 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c4ad00792e76c8e5653257e38e4f78fe618693b65a570bc4655872021f69ed8e 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 ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 84792e56d3aeb7011d93b45d96b79a16457460b63847a419ed1aea932e22ded4 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building ea586874d2f9e501ef84b7e55036fc8965397d5d: net/socket.c:1172: undefined reference to `wext_handle_ioctl' net/socket.c:3366: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:343: undefined reference to `wext_proc_exit' net/core/net-procfs.c:327: 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 754f8cc9b7de7629e6aefa505dfc24c36a36d236 testing commit 754f8cc9b7de7629e6aefa505dfc24c36a36d236 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77817b67fc3b14ac3ec6ce5d9a79ca10851d85e6c561a4502b16fa08ce2ac250 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: 37m46.44443282s (build: 15m25.362670121s, test: 19m46.347768366s) crash still not fixed or there were kernel test errors commit msg: Revert "pwm: atmel-tcb: Convert to platform remove callback returning void" 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/linux/atomic/atomic-instrumented.h:188 [inline] BUG: KASAN: null-ptr-deref in ihold+0x19/0x30 fs/inode.c:426 Write of size 4 at addr 0000000000000170 by task syz-executor.0/350 CPU: 0 PID: 350 Comm: syz-executor.0 Not tainted 5.15.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:431 [inline] kasan_report.cold+0x64/0xdb mm/kasan/report.c:444 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/linux/atomic/atomic-instrumented.h:188 [inline] ihold+0x19/0x30 fs/inode.c:426 backing_data_changed fs/fuse/dir.c:196 [inline] fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:306 d_revalidate fs/namei.c:854 [inline] d_revalidate fs/namei.c:851 [inline] lookup_dcache+0x90/0xd0 fs/namei.c:1524 __lookup_hash+0x1e/0x150 fs/namei.c:1545 do_renameat2+0x3c2/0xa50 fs/namei.c:4843 __do_sys_rename fs/namei.c:4938 [inline] __se_sys_rename fs/namei.c:4936 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4936 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdaaf53cae9 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:00007fdaaf09e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fdaaf65c050 RCX: 00007fdaaf53cae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007fdaaf58847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdaaf65c050 R15: 00007ffc6ae38138 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000170 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 1067cc067 P4D 1067cc067 PUD 1069c7067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 5.15.132-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/atomic-arch-fallback.h:370 [inline] RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:189 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:426 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 b7 c8 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:ffffc900007379a8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8134ceb1 RDX: fffffbfff0b1ab40 RSI: 0000000000000004 RDI: ffffffff858d5a00 RBP: ffffc900007379b0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0b1ab40 R11: 0000000000000001 R12: ffff88811f0f6c28 R13: 0000000000000020 R14: ffff88811f168000 R15: ffff88811f0f6bb0 FS: 00007fdaaf09e6c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 000000012110d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: backing_data_changed fs/fuse/dir.c:196 [inline] fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:306 d_revalidate fs/namei.c:854 [inline] d_revalidate fs/namei.c:851 [inline] lookup_dcache+0x90/0xd0 fs/namei.c:1524 __lookup_hash+0x1e/0x150 fs/namei.c:1545 do_renameat2+0x3c2/0xa50 fs/namei.c:4843 __do_sys_rename fs/namei.c:4938 [inline] __se_sys_rename fs/namei.c:4936 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4936 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdaaf53cae9 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:00007fdaaf09e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fdaaf65c050 RCX: 00007fdaaf53cae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007fdaaf58847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdaaf65c050 R15: 00007ffc6ae38138 Modules linked in: CR2: 0000000000000170 ---[ end trace bcb37ef397d68d7a ]--- RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline] RIP: 0010:arch_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:370 [inline] RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:189 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:426 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 b7 c8 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:ffffc900007379a8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8134ceb1 RDX: fffffbfff0b1ab40 RSI: 0000000000000004 RDI: ffffffff858d5a00 RBP: ffffc900007379b0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0b1ab40 R11: 0000000000000001 R12: ffff88811f0f6c28 R13: 0000000000000020 R14: ffff88811f168000 R15: ffff88811f0f6bb0 FS: 00007fdaaf09e6c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 000000012110d000 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 b7 c8 f2 ff call 0xfff2c8dc 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