ci2 starts bisection 2026-03-26 22:03:32.048716322 +0000 UTC m=+39003.377351459 bisecting fixing commit since 0be127d3b2ece45e653af0e2f5f5e72eb438814b building syzkaller on 91d776d358daef41852d3c6541e561a616f5f523 ensuring issue is reproducible on original commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 367e74dbde570e9c38f421d52b6f1f7de70ca7ba70ab14d78b19749e25b01c56 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 [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 6057d9ee412d0b58a97f3ba74cd5ee2df4ec831ed6224c119450a0fff288769c 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=6025 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 [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: ba9a2124ca92e2712862fd20d23722669ce59bf287b4365c8fdb54b3370b5cfa 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 [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 66f008798d046562b130dbf8e4cf9f8f8472182ee95a520f186deffa17daeeed 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 [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: b4eadd212dd1ba450076d80a1a9bb0357bd8ff897339526074baad05fa2f70b9 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 [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: b7852b2459eb4c362f702d6ff126d247795b18b0a49a06d8bf7f2d298168beeb 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 [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit 0be127d3b2ece45e653af0e2f5f5e72eb438814b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 failed building 0be127d3b2ece45e653af0e2f5f5e72eb438814b: 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 cc0ae2abdc73d5432c9a86d8576c344c68a1e29c testing commit cc0ae2abdc73d5432c9a86d8576c344c68a1e29c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: c135b14583d121ca44f415fb3557bd4ba92e9f41867f60a0156c6f18a73db073 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: 57m25.585104848s (build: 21m58.780792808s, test: 33m52.228505679s) crash still not fixed or there were kernel test errors commit msg: Merge android13-5.10 into android13-5.10-lts crash: KASAN: null-ptr-deref Write in f2fs_issue_flush F2FS-fs (loop2): Try to recover all the superblocks, ret: 0 ================================================================== 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/450 CPU: 1 PID: 450 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 fs/sync.c:202 [inline] vfs_fsync+0xf4/0x1e0 fs/sync.c:216 __loop_update_dio+0x262/0x610 drivers/block/loop.c:212 loop_update_dio drivers/block/loop.c:638 [inline] loop_configure+0x79d/0x1180 drivers/block/loop.c:1160 lo_ioctl+0x4a5/0x1e40 drivers/block/loop.c:1697 __blkdev_driver_ioctl block/ioctl.c:240 [inline] blkdev_ioctl+0x1aa/0x590 block/ioctl.c:635 block_ioctl+0xcd/0x130 fs/block_dev.c:1888 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/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f03ab290f79 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:00007f03ab0f4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f03ab50afa0 RCX: 00007f03ab290f79 RDX: 00002000000002c0 RSI: 0000000000004c0a RDI: 0000000000000003 RBP: 00007f03ab3277e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f03ab50b038 R14: 00007f03ab50afa0 R15: 00007ffc2bbf1f28 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000024 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 11163a067 P4D 11163a067 PUD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 450 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 e0 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 d6 d4 97 ff 41 ff 46 24 8b b5 30 ff ff ff 4c 89 e7 e8 b3 df fe ff be 04 00 RSP: 0018:ffffc90000a976e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000152ee0 RCX: ffffffff81326f51 RDX: fffffbfff0ad893c RSI: 0000000000000004 RDI: ffffffff856c49e0 RBP: ffffc90000a977c8 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad893c R11: 0000000000000001 R12: ffff8881129c4000 R13: 0000000000000024 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f03ab0f46c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000024 CR3: 0000000129048000 CR4: 00000000003506a0 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 fs/sync.c:202 [inline] vfs_fsync+0xf4/0x1e0 fs/sync.c:216 __loop_update_dio+0x262/0x610 drivers/block/loop.c:212 loop_update_dio drivers/block/loop.c:638 [inline] loop_configure+0x79d/0x1180 drivers/block/loop.c:1160 lo_ioctl+0x4a5/0x1e40 drivers/block/loop.c:1697 __blkdev_driver_ioctl block/ioctl.c:240 [inline] blkdev_ioctl+0x1aa/0x590 block/ioctl.c:635 block_ioctl+0xcd/0x130 fs/block_dev.c:1888 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/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f03ab290f79 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:00007f03ab0f4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f03ab50afa0 RCX: 00007f03ab290f79 RDX: 00002000000002c0 RSI: 0000000000004c0a RDI: 0000000000000003 RBP: 00007f03ab3277e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f03ab50b038 R14: 00007f03ab50afa0 R15: 00007ffc2bbf1f28 Modules linked in: CR2: 0000000000000024 ---[ end trace 0c6740551e39e57c ]--- 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 e0 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 d6 d4 97 ff 41 ff 46 24 8b b5 30 ff ff ff 4c 89 e7 e8 b3 df fe ff be 04 00 RSP: 0018:ffffc90000a976e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000152ee0 RCX: ffffffff81326f51 RDX: fffffbfff0ad893c RSI: 0000000000000004 RDI: ffffffff856c49e0 RBP: ffffc90000a977c8 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff0ad893c R11: 0000000000000001 R12: ffff8881129c4000 R13: 0000000000000024 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f03ab0f46c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000024 CR3: 0000000129048000 CR4: 00000000003506a0 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 e0 df fe ff call 0xfffedff0 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 d6 d4 97 ff call 0xff97d500 * 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 b3 df fe ff call 0xfffedff0 3d: be .byte 0xbe 3e: 04 00 add $0x0,%al