ci2 starts bisection 2023-09-26 11:06:45.567319437 +0000 UTC m=+1133337.596493539 bisecting fixing commit since c2611a04b92f0e6a38f718c50605300a325b7c7b building syzkaller on d216d8a03b50bef82eac746d227230835f061640 ensuring issue is reproducible on original commit c2611a04b92f0e6a38f718c50605300a325b7c7b testing commit c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a814d1e04d5e490f60ebc58c87e39d036358aa090f2f1809c7ece2f8038a5af all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 55496ed68166641112b2eda345495cb25dbf9a88868a454e9b3ac182eb855371 all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=5179 full=6487 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35aa21fcc254fd505afee900c1ad4675389f6256a1e22819527a06519905c1ab all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, 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 c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23550ef885deef7801f03fa61620acca868115b48f7bfa0fb3a4634bc3f3e90e all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, 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 c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a453fa9117121737dcd79c05d3eb0400d6b01adcdac0a5cec4e525e61cfe297a all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: faefbc8f9930a98b9f59a2550f72e68c8f4c4e843d1ba8434fd4237d77814079 all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit c2611a04b92f0e6a38f718c50605300a325b7c7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building c2611a04b92f0e6a38f718c50605300a325b7c7b: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 50 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE 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_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_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing current HEAD b548c046c7de4c427ac5a0d5008a995d5e304f9b testing commit b548c046c7de4c427ac5a0d5008a995d5e304f9b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ffe251303d7e4092b0429dd3b42fb7b44b2c720b4197f79cac36d41abaa00b87 all runs: crashed: KASAN: null-ptr-deref Write in backing_data_changed representative crash: KASAN: null-ptr-deref Write in backing_data_changed, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 55m44.858027921s (build: 24m49.274982027s, test: 28m0.104948141s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: net: prevent skb corruption on frag list segmentation crash: KASAN: null-ptr-deref Write in backing_data_changed ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: null-ptr-deref in atomic_inc_return include/linux/atomic/atomic-instrumented.h:198 [inline] BUG: KASAN: null-ptr-deref in ihold+0x19/0x30 fs/inode.c:450 Write of size 4 at addr 0000000000000170 by task syz-executor.0/359 CPU: 1 PID: 359 Comm: syz-executor.0 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 print_report+0xe1/0x4e0 mm/kasan/report.c:430 kasan_report+0x13c/0x170 mm/kasan/report.c:531 kasan_check_range+0x294/0x2a0 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_inc_return include/linux/atomic/atomic-instrumented.h:198 [inline] ihold+0x19/0x30 fs/inode.c:450 backing_data_changed+0x1ce/0x4b0 fs/fuse/dir.c:202 fuse_dentry_revalidate+0x76e/0xbe0 fs/fuse/dir.c:312 d_revalidate fs/namei.c:856 [inline] lookup_dcache fs/namei.c:1565 [inline] __lookup_hash+0x98/0x1f0 fs/namei.c:1586 do_renameat2+0x564/0x10d0 fs/namei.c:4881 __do_sys_rename fs/namei.c:4976 [inline] __se_sys_rename fs/namei.c:4974 [inline] __x64_sys_rename+0x81/0x90 fs/namei.c:4974 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3fc9a7cae9 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:00007f3fc95de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f3fc9b9c050 RCX: 00007f3fc9a7cae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007f3fc9ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3fc9b9c050 R15: 00007ffdc0e549d8 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000170 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 12512d067 P4D 12512d067 PUD 125131067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 359 Comm: syz-executor.0 Tainted: G B 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:arch_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:440 [inline] RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:199 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:450 Code: 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 53 48 89 fb 48 81 c7 70 01 00 00 be 04 00 00 00 e8 b7 98 f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 5b 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 RSP: 0018:ffffc90000db77e8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff813b4140 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff85c9f7e0 RBP: ffffc90000db77f0 R08: dffffc0000000000 R09: fffffbfff0b93efd R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90000db78a0 R14: 1ffff920001b6f0c R15: ffff8881234e3ee0 FS: 00007f3fc95de6c0(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 000000012511e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: backing_data_changed+0x1ce/0x4b0 fs/fuse/dir.c:202 fuse_dentry_revalidate+0x76e/0xbe0 fs/fuse/dir.c:312 d_revalidate fs/namei.c:856 [inline] lookup_dcache fs/namei.c:1565 [inline] __lookup_hash+0x98/0x1f0 fs/namei.c:1586 do_renameat2+0x564/0x10d0 fs/namei.c:4881 __do_sys_rename fs/namei.c:4976 [inline] __se_sys_rename fs/namei.c:4974 [inline] __x64_sys_rename+0x81/0x90 fs/namei.c:4974 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3fc9a7cae9 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:00007f3fc95de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f3fc9b9c050 RCX: 00007f3fc9a7cae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007f3fc9ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3fc9b9c050 R15: 00007ffdc0e549d8 Modules linked in: CR2: 0000000000000170 ---[ end trace 0000000000000000 ]--- RIP: 0010:arch_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:440 [inline] RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:199 [inline] RIP: 0010:ihold+0x1e/0x30 fs/inode.c:450 Code: 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 53 48 89 fb 48 81 c7 70 01 00 00 be 04 00 00 00 e8 b7 98 f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 5b 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 RSP: 0018:ffffc90000db77e8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff813b4140 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff85c9f7e0 RBP: ffffc90000db77f0 R08: dffffc0000000000 R09: fffffbfff0b93efd R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90000db78a0 R14: 1ffff920001b6f0c R15: ffff8881234e3ee0 FS: 00007f3fc95de6c0(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000170 CR3: 000000012511e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 2e 0f 1f 84 00 00 00 cs nopl 0x0(%rax,%rax,1) 7: 00 00 9: 0f 1f 00 nopl (%rax) c: 55 push %rbp d: 48 89 e5 mov %rsp,%rbp 10: 53 push %rbx 11: 48 89 fb mov %rdi,%rbx 14: 48 81 c7 70 01 00 00 add $0x170,%rdi 1b: be 04 00 00 00 mov $0x4,%esi 20: e8 b7 98 f2 ff call 0xfff298dc 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: 5b pop %rbx 33: 5d pop %rbp 34: c3 ret 35: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3c: 55 push %rbp 3d: 48 89 e5 mov %rsp,%rbp