ci2 starts bisection 2026-09-21 00:35:31.142016972 +0000 UTC m=+236182.518691875 bisecting fixing commit since f5a34916f66d4ca0b238ace081de3f7dd1be78ed building syzkaller on c69befb30ac10e158cc9d1557b508ee3f0eca1de ensuring issue is reproducible on original commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 84e0ae60c5b525aeec7add92c6207ed3ddef8ab25298565a859777d7df0fbb57 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] check whether we can drop unnecessary instrumentation disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 6f9094c70aa131ec88b7ef80d5b64dc22219e93c26e8634359542bf658e7621f all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the bug reproduces without the instrumentation disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed kconfig minimization: base=4788 full=6024 leaves diff=248 split chunks (needed=false): <248> split chunk #0 of len 248 into 5 parts testing without sub-chunk 1/5 disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 58eb365fc005e5eeaf994249e5b7e46e1dbed88df015075a2634b6573163110e all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: de2b52ca6761c22fc7ee9670de85b8bbc96b62beff82b17bff2752856cb9a6a3 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, 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 f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 02f64a9021f8055efcebb4ec31851ca53eca30fa69383b461277f9cfbaac857b all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: a23d026b482cbb6f2debe11e6fc73b5c25c2033aa7f7d02378839893a19bfa46 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit f5a34916f66d4ca0b238ace081de3f7dd1be78ed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 failed building f5a34916f66d4ca0b238ace081de3f7dd1be78ed: net/socket.c:1128:(.text+0x1307): undefined reference to `wext_handle_ioctl' net/socket.c:3397:(.text+0x17c7): undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346:(.text+0x33b): undefined reference to `wext_proc_exit' net/core/net-procfs.c:330:(.text+0x4e2): undefined reference to `wext_proc_init' minimized to 48 configs; suspects: [HID_ZEROPLUS 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 [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing current HEAD 452567d1985b87b56468536292b8eccd299a6c4b testing commit 452567d1985b87b56468536292b8eccd299a6c4b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 55cb03c2fe9f076bf25ebdd56237f9990641005a1c709077d68de8eedd7d4cea all runs: crashed: KASAN: null-ptr-deref Write in f2fs_issue_flush representative crash: KASAN: null-ptr-deref Write in f2fs_issue_flush, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h18m27.740182914s (build: 17m35.979027614s, test: 54m29.244417842s) crash still not fixed or there were kernel test errors commit msg: Revert "HID: input: read battery capacity from its actual report offset" crash: KASAN: null-ptr-deref Write in f2fs_issue_flush ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_inc include/asm-generic/atomic-instrumented.h:240 [inline] BUG: KASAN: null-ptr-deref in f2fs_issue_flush+0x19a/0x450 fs/f2fs/segment.c:678 Write of size 4 at addr 0000000000000024 by task syz.2.17/479 CPU: 1 PID: 479 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 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 include/asm-generic/atomic-instrumented.h:240 [inline] f2fs_issue_flush+0x19a/0x450 fs/f2fs/segment.c:678 f2fs_do_sync_file+0x1009/0x1ab0 fs/f2fs/file.c:385 f2fs_sync_file+0x122/0x1c0 fs/f2fs/file.c:401 vfs_fsync_range+0xee/0x220 fs/sync.c:202 generic_write_sync include/linux/fs.h:2926 [inline] f2fs_file_write_iter+0x798/0xe50 fs/f2fs/file.c:4940 call_write_iter include/linux/fs.h:2072 [inline] new_sync_write+0x358/0x6d0 fs/read_write.c:518 vfs_write+0x4e4/0x750 fs/read_write.c:605 ksys_write+0x111/0x210 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:667 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb1635f2e59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb163455028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb16386bfa0 RCX: 00007fb1635f2e59 RDX: 000000000208e24b RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007fb163688d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb16386c038 R14: 00007fb16386bfa0 R15: 00007ffd5eee5d58 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000024 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 11359b067 P4D 11359b067 PUD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 479 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:95 [inline] RIP: 0010:atomic_inc include/asm-generic/atomic-instrumented.h:241 [inline] RIP: 0010:f2fs_issue_flush+0x19a/0x450 fs/f2fs/segment.c:678 Code: 00 00 8b b5 30 ff ff ff 4c 89 e7 e8 50 df fe ff 49 8d 7e 24 be 04 00 00 00 41 89 c7 eb 2a 4d 8d 6e 24 4c 89 ef e8 e6 ba 97 ff 41 ff 46 24 8b b5 30 ff ff ff 4c 89 e7 e8 23 df fe ff be 04 00 RSP: 0018:ffffc90000b47868 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000168f10 RCX: ffffffff81327c11 RDX: fffffbfff0ad8b3c RSI: 0000000000000004 RDI: ffffffff856c59e0 RBP: ffffc90000b47948 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad8b3c R11: 0000000000000001 R12: ffff888113a62000 R13: 0000000000000024 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb1634556c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000024 CR3: 0000000113852000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_do_sync_file+0x1009/0x1ab0 fs/f2fs/file.c:385 f2fs_sync_file+0x122/0x1c0 fs/f2fs/file.c:401 vfs_fsync_range+0xee/0x220 fs/sync.c:202 generic_write_sync include/linux/fs.h:2926 [inline] f2fs_file_write_iter+0x798/0xe50 fs/f2fs/file.c:4940 call_write_iter include/linux/fs.h:2072 [inline] new_sync_write+0x358/0x6d0 fs/read_write.c:518 vfs_write+0x4e4/0x750 fs/read_write.c:605 ksys_write+0x111/0x210 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:667 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb1635f2e59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb163455028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb16386bfa0 RCX: 00007fb1635f2e59 RDX: 000000000208e24b RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007fb163688d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb16386c038 R14: 00007fb16386bfa0 R15: 00007ffd5eee5d58 Modules linked in: CR2: 0000000000000024 ---[ end trace 59b10b7101eeb5f7 ]--- RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:95 [inline] RIP: 0010:atomic_inc include/asm-generic/atomic-instrumented.h:241 [inline] RIP: 0010:f2fs_issue_flush+0x19a/0x450 fs/f2fs/segment.c:678 Code: 00 00 8b b5 30 ff ff ff 4c 89 e7 e8 50 df fe ff 49 8d 7e 24 be 04 00 00 00 41 89 c7 eb 2a 4d 8d 6e 24 4c 89 ef e8 e6 ba 97 ff 41 ff 46 24 8b b5 30 ff ff ff 4c 89 e7 e8 23 df fe ff be 04 00 RSP: 0018:ffffc90000b47868 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000168f10 RCX: ffffffff81327c11 RDX: fffffbfff0ad8b3c RSI: 0000000000000004 RDI: ffffffff856c59e0 RBP: ffffc90000b47948 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad8b3c R11: 0000000000000001 R12: ffff888113a62000 R13: 0000000000000024 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb1634556c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000024 CR3: 0000000113852000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 8b b5 30 ff ff ff mov -0xd0(%rbp),%esi 8: 4c 89 e7 mov %r12,%rdi b: e8 50 df fe ff call 0xfffedf60 10: 49 8d 7e 24 lea 0x24(%r14),%rdi 14: be 04 00 00 00 mov $0x4,%esi 19: 41 89 c7 mov %eax,%r15d 1c: eb 2a jmp 0x48 1e: 4d 8d 6e 24 lea 0x24(%r14),%r13 22: 4c 89 ef mov %r13,%rdi 25: e8 e6 ba 97 ff call 0xff97bb10 * 2a: f0 41 ff 46 24 lock incl 0x24(%r14) <-- trapping instruction 2f: 8b b5 30 ff ff ff mov -0xd0(%rbp),%esi 35: 4c 89 e7 mov %r12,%rdi 38: e8 23 df fe ff call 0xfffedf60 3d: be .byte 0xbe 3e: 04 00 add $0x0,%al