ci2 starts bisection 2025-06-19 08:36:00.218241741 +0000 UTC m=+68019.843261179 bisecting fixing commit since 094fc3778d6b9c795d8075cf20171fe70ace5af2 building syzkaller on c799dfdd5648677612604d10e2c13075eda21582 ensuring issue is reproducible on original commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d080d88af13ac1f778f736b6d8c668228e2c9955c2776d6944e0d0a40962c201 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15bb6f4bcb862151394429deb3a9b585ed5a2b38ba00a5a83f83450aae39ec5f all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=4788 full=6023 leaves diff=246 split chunks (needed=false): <246> split chunk #0 of len 246 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e2d3f66cea05cf55f0767ce4975a3d142d3ba35b23b69338c4546774916630e all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b94d7c78764ae4d4b0c86446fc138ffc124248705853ebc45ff7b3841b05f4e5 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 24464b4e0f7e9d43748fd8293a240b68b456a4a99f08bf507de2dfb943dd84d0 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0fad270fd05ac951db8f0b4f4ac9602b983bf00303580ed3930669c94cf6fcb4 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, 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 094fc3778d6b9c795d8075cf20171fe70ace5af2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 094fc3778d6b9c795d8075cf20171fe70ace5af2: 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 46 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 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD d76d4cd0623a12e7a5512e26fee809feb445b26b testing commit d76d4cd0623a12e7a5512e26fee809feb445b26b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3ec85e594e90af0112fbd0b1ca8ac95b70e8ea43e5a4140744096f0c6f07d4df all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h29m37.810246398s (build: 44m0.704643701s, test: 44m3.752602478s) crash still not fixed or there were kernel test errors commit msg: Revert "ipv6: save dontfrag in cork" crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:142 [inline] BUG: KASAN: null-ptr-deref in __refcount_add include/linux/refcount.h:193 [inline] BUG: KASAN: null-ptr-deref in __refcount_inc include/linux/refcount.h:250 [inline] BUG: KASAN: null-ptr-deref in refcount_inc include/linux/refcount.h:267 [inline] BUG: KASAN: null-ptr-deref in get_task_struct include/linux/sched/task.h:108 [inline] BUG: KASAN: null-ptr-deref in kthread_stop+0x25/0x2e0 kernel/kthread.c:640 Write of size 4 at addr 0000000000000020 by task syz.6.20/541 CPU: 1 PID: 541 Comm: syz.6.20 Not tainted 5.10.238-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 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_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:142 [inline] __refcount_add include/linux/refcount.h:193 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] get_task_struct include/linux/sched/task.h:108 [inline] kthread_stop+0x25/0x2e0 kernel/kthread.c:640 f2fs_stop_gc_thread+0x56/0xc0 fs/f2fs/gc.c:199 f2fs_ioc_shutdown+0x2b5/0x680 fs/f2fs/file.c:2374 __f2fs_ioctl+0x225e/0x9060 fs/f2fs/file.c:4343 f2fs_ioctl+0x162/0x4c0 fs/f2fs/file.c:4428 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x129/0x1a0 fs/ioctl.c:739 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8dd1dac169 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:00007f8dd17fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8dd1fc5080 RCX: 00007f8dd1dac169 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f8dd1e2d2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8dd1fc5080 R15: 00007ffc449686d8 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000020 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 114f8e067 P4D 114f8e067 PUD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 0 PID: 541 Comm: syz.6.20 Tainted: G B D 5.10.238-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:143 [inline] RIP: 0010:__refcount_add include/linux/refcount.h:193 [inline] RIP: 0010:__refcount_inc include/linux/refcount.h:250 [inline] RIP: 0010:refcount_inc include/linux/refcount.h:267 [inline] RIP: 0010:get_task_struct include/linux/sched/task.h:108 [inline] RIP: 0010:kthread_stop+0x2a/0x2e0 kernel/kthread.c:640 Code: 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 0f 1f 44 00 00 4d 8d 6c 24 20 be 04 00 00 00 4c 89 ef e8 cb 9b 53 00 b8 01 00 00 00 41 0f c1 44 24 20 85 c0 0f 84 45 02 00 00 0f 88 1b 02 00 00 83 RSP: 0018:ffffc90000da7b80 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffff888115f56000 RCX: ffffffff81328b61 RDX: fffffbfff0ad773c RSI: 0000000000000004 RDI: ffffffff856bb9e0 RBP: ffffc90000da7ba0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad773c R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000020 R14: ffff888116429000 R15: 0000000000000002 FS: 00007f8dd17fd6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 0000000114fa8000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_stop_gc_thread+0x56/0xc0 fs/f2fs/gc.c:199 f2fs_ioc_shutdown+0x2b5/0x680 fs/f2fs/file.c:2374 __f2fs_ioctl+0x225e/0x9060 fs/f2fs/file.c:4343 f2fs_ioctl+0x162/0x4c0 fs/f2fs/file.c:4428 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x129/0x1a0 fs/ioctl.c:739 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8dd1dac169 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:00007f8dd17fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8dd1fc5080 RCX: 00007f8dd1dac169 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f8dd1e2d2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8dd1fc5080 R15: 00007ffc449686d8 Modules linked in: CR2: 0000000000000020 ---[ end trace 0bea7970caa36855 ]--- RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:143 [inline] RIP: 0010:__refcount_add include/linux/refcount.h:193 [inline] RIP: 0010:__refcount_inc include/linux/refcount.h:250 [inline] RIP: 0010:refcount_inc include/linux/refcount.h:267 [inline] RIP: 0010:get_task_struct include/linux/sched/task.h:108 [inline] RIP: 0010:kthread_stop+0x2a/0x2e0 kernel/kthread.c:640 Code: 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 0f 1f 44 00 00 4d 8d 6c 24 20 be 04 00 00 00 4c 89 ef e8 cb 9b 53 00 b8 01 00 00 00 41 0f c1 44 24 20 85 c0 0f 84 45 02 00 00 0f 88 1b 02 00 00 83 RSP: 0018:ffffc90000db7b80 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff888115e5c000 RCX: ffffffff8139f1f5 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000020 RBP: ffffc90000db7ba0 R08: 0000000000000001 R09: 0000000000000024 R10: ffffed1022bcb80f R11: ffff8881f75563c4 R12: 0000000000000000 R13: 0000000000000020 R14: ffff888115d84000 R15: 0000000000000002 FS: 00007f8dd17fd6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 0000000114fa8000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 41 56 push %r14 6: 41 55 push %r13 8: 41 54 push %r12 a: 49 89 fc mov %rdi,%r12 d: 53 push %rbx e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 4d 8d 6c 24 20 lea 0x20(%r12),%r13 18: be 04 00 00 00 mov $0x4,%esi 1d: 4c 89 ef mov %r13,%rdi 20: e8 cb 9b 53 00 call 0x539bf0 25: b8 01 00 00 00 mov $0x1,%eax * 2a: f0 41 0f c1 44 24 20 lock xadd %eax,0x20(%r12) <-- trapping instruction 31: 85 c0 test %eax,%eax 33: 0f 84 45 02 00 00 je 0x27e 39: 0f 88 1b 02 00 00 js 0x25a 3f: 83 .byte 0x83