ci2 starts bisection 2025-12-23 04:34:01.881608349 +0000 UTC m=+2300654.058731416 bisecting fixing commit since eabc268e4fb2f800723f645bbc6177da523353b6 building syzkaller on 03fcfc4b7385b545a89a3fc62bef4e1ec7532e0d ensuring issue is reproducible on original commit eabc268e4fb2f800723f645bbc6177da523353b6 testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19a8f4b4d26e9302bb007c09bf03cc43c1d56992b1c51a4986dcef1b483dbccb 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-NULL-POINTER-DEREFERENCE-WRITE] check whether we can drop unnecessary instrumentation disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e4d8a72cd4fb6d2962b43a0a1abeb9b1cf9b81896c34f7a6a940bc27fafd422 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-NULL-POINTER-DEREFERENCE-WRITE] the bug reproduces without the instrumentation disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed kconfig minimization: base=4921 full=6219 leaves diff=255 split chunks (needed=false): <255> split chunk #0 of len 255 into 5 parts testing without sub-chunk 1/5 disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8155cdbab14c94bbeee107865025276e8b8b41e86130385a617c24094465bfb 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-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7ac87536671676e6b68aa888e7c4731687397d1d2d0911de3617e3b0b01f7729 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-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa548797c5b88e711c3b2179ac9a7b3683901cb986d2cb6ddda6a7c4525f237a 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-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 587e8fc0df445b91d0b536f126a48c088384e0cf0b2be718a9f400bb20a30059 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-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing commit eabc268e4fb2f800723f645bbc6177da523353b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building eabc268e4fb2f800723f645bbc6177da523353b6: net/socket.c:1191: undefined reference to `wext_handle_ioctl' net/socket.c:3390: 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 51 configs; suspects: [HID_ZEROPLUS USB_LINK_LAYER_TEST USB_MON 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 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 ZEROPLUS_FF] disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing current HEAD 050dc55b0457aa6986b7618175ec7ccae95b842a testing commit 050dc55b0457aa6986b7618175ec7ccae95b842a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d46f42fd1553d97fd4af398bb7baf9bf58f89e7107d12cb58616234fcb5ecc27 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-NULL-POINTER-DEREFERENCE-WRITE] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h6m14.031720412s (build: 34m20.856728056s, test: 28m27.627771138s) crash still not fixed or there were kernel test errors commit msg: Revert "net/sched: act_connmark: handle errno on tcf_idr_check_alloc" 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/linux/atomic/atomic-instrumented.h:111 [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:106 [inline] BUG: KASAN: null-ptr-deref in kthread_stop+0x25/0x2e0 kernel/kthread.c:675 Write of size 4 at addr 0000000000000028 by task syz.2.43/672 CPU: 1 PID: 672 Comm: syz.2.43 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 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_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:111 [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:106 [inline] kthread_stop+0x25/0x2e0 kernel/kthread.c:675 f2fs_stop_gc_thread+0x56/0xc0 fs/f2fs/gc.c:198 f2fs_ioc_shutdown+0x2b0/0x670 fs/f2fs/file.c:2273 __f2fs_ioctl+0x29d0/0x90b0 fs/f2fs/file.c:4192 f2fs_ioctl+0x162/0x4c0 fs/f2fs/file.c:4273 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x129/0x1a0 fs/ioctl.c:860 x64_sys_call+0x912/0x990 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f28b0de2929 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:00007f28b0832038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f28b100a080 RCX: 00007f28b0de2929 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f28b0e64b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f28b100a080 R15: 00007ffc3d2e7588 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000028 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 10e3f3067 P4D 10e3f3067 PUD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 672 Comm: syz.2.43 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:112 [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:106 [inline] RIP: 0010:kthread_stop+0x2a/0x2e0 kernel/kthread.c:675 Code: 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 0f 1f 44 00 00 4d 8d 6c 24 28 be 04 00 00 00 4c 89 ef e8 cb d4 58 00 b8 01 00 00 00 41 0f c1 44 24 28 85 c0 0f 84 42 02 00 00 0f 88 18 02 00 00 83 RSP: 0018:ffffc900010f7ba0 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffff88810b30e000 RCX: ffffffff8134fbb1 RDX: fffffbfff0b5dd40 RSI: 0000000000000004 RDI: ffffffff85aeea00 RBP: ffffc900010f7bc0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0b5dd40 R11: 0000000000000030 R12: 0000000000000000 R13: 0000000000000028 R14: ffff888119290900 R15: ffff88810a39a000 FS: 00007f28b08326c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 000000012228e000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_stop_gc_thread+0x56/0xc0 fs/f2fs/gc.c:198 f2fs_ioc_shutdown+0x2b0/0x670 fs/f2fs/file.c:2273 __f2fs_ioctl+0x29d0/0x90b0 fs/f2fs/file.c:4192 f2fs_ioctl+0x162/0x4c0 fs/f2fs/file.c:4273 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x129/0x1a0 fs/ioctl.c:860 x64_sys_call+0x912/0x990 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f28b0de2929 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:00007f28b0832038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f28b100a080 RCX: 00007f28b0de2929 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f28b0e64b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f28b100a080 R15: 00007ffc3d2e7588 Modules linked in: CR2: 0000000000000028 ---[ end trace 18b1b72c2c5b6631 ]--- RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:112 [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:106 [inline] RIP: 0010:kthread_stop+0x2a/0x2e0 kernel/kthread.c:675 Code: 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 0f 1f 44 00 00 4d 8d 6c 24 28 be 04 00 00 00 4c 89 ef e8 cb d4 58 00 b8 01 00 00 00 41 0f c1 44 24 28 85 c0 0f 84 42 02 00 00 0f 88 18 02 00 00 83 RSP: 0018:ffffc900010f7ba0 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffff88810b30e000 RCX: ffffffff8134fbb1 RDX: fffffbfff0b5dd40 RSI: 0000000000000004 RDI: ffffffff85aeea00 RBP: ffffc900010f7bc0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0b5dd40 R11: 0000000000000030 R12: 0000000000000000 R13: 0000000000000028 R14: ffff888119290900 R15: ffff88810a39a000 FS: 00007f28b08326c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 000000012228e000 CR4: 00000000003506a0 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 28 lea 0x28(%r12),%r13 18: be 04 00 00 00 mov $0x4,%esi 1d: 4c 89 ef mov %r13,%rdi 20: e8 cb d4 58 00 call 0x58d4f0 25: b8 01 00 00 00 mov $0x1,%eax * 2a: f0 41 0f c1 44 24 28 lock xadd %eax,0x28(%r12) <-- trapping instruction 31: 85 c0 test %eax,%eax 33: 0f 84 42 02 00 00 je 0x27b 39: 0f 88 18 02 00 00 js 0x257 3f: 83 .byte 0x83