ci2 starts bisection 2025-03-05 01:17:58.40396301 +0000 UTC m=+291407.005924340 bisecting fixing commit since c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 building syzkaller on 9ac0fdc66500475f1914254ef369b32d51adbff9 ensuring issue is reproducible on original commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 09c7db316f6f8d338dd60103b9ab7ee709bec6a49b989c1dc195e10506168ccb all runs: crashed: general protection fault in update_sit_entry representative crash: general protection fault in update_sit_entry, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0220373ab8fe814c8bafc53f5c3cb60a3da0f883e660d7853e7b98f2fb799e76 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=5179 full=6547 leaves diff=264 split chunks (needed=false): <264> split chunk #0 of len 264 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1b45fe02fb995d166cdb14f94b70b06f35202e480932454f16caa26f780bd8f2 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 74eb2b3f5b22eadb6a3c1d39a6cb08ca7a1f4b7342dfe1cacb27722ff5190ab4 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c29c76f1fbe954d572b466ae79d48036e822dc29fd9fed782c92181808e52cf6 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fbf9a9ab50022465c06be2cf2a539bcc59c6d5e028931b6ce6f2bcdf501a60d5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit c276c53965a80f3568fcbd5e31bfe5b4cbbcc490 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building c276c53965a80f3568fcbd5e31bfe5b4cbbcc490: net/socket.c:1245: undefined reference to `wext_handle_ioctl' net/socket.c:3447: 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 52 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_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 V4L2_ASYNC V4L2_FWNODE VIDEO_CAMERA_SENSOR 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing current HEAD 471a10d3af3b5ae239c87f1357de2d1919e7a6c6 testing commit 471a10d3af3b5ae239c87f1357de2d1919e7a6c6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50d261e2dc4381f73abbde25be001ac7c79804852face0d19679fcd99f0847a5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h12m43.514453504s (build: 37m47.809381143s, test: 27m18.426280431s) crash still not fixed or there were kernel test errors commit msg: ANDROID: mm/memfd-ashmem-shim: Fix variable length array usage crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry BUG: kernel NULL pointer dereference, address: 0000000000000004 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1129b8067 P4D 1129b8067 PUD 1129b4067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 448 Comm: syz.2.15 Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2940 [inline] RIP: 0010:update_sit_entry_for_alloc fs/f2fs/segment.c:2390 [inline] RIP: 0010:update_sit_entry+0x1db/0x530 fs/f2fs/segment.c:2434 Code: 14 37 89 d6 44 0f ab ee 42 88 34 37 83 e0 07 0f a3 c2 8b 7d d4 0f 82 02 03 00 00 41 83 ba 28 08 00 00 00 75 1f 4b 8b 44 c4 18 <42> 0f b6 0c 30 89 ca 44 08 fa 42 88 14 30 41 85 cf 75 07 41 ff 8a RSP: 0018:ffffc900009833d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811b9ce878 RCX: 0000000000000002 RDX: 00000000000000f8 RSI: 00000000000000fc RDI: 0000000000000003 RBP: ffffc90000983448 R08: 000000000000000f R09: 0000000000001425 R10: ffff888111332000 R11: 0000000000000001 R12: ffff88811b9ce800 R13: 0000000000000002 R14: 0000000000000004 R15: 0000000000000004 FS: 00007f3e4db656c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 0000000112110000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x69f/0xdd0 fs/f2fs/segment.c:3424 do_write_page+0x112/0x290 fs/f2fs/segment.c:3526 f2fs_outplace_write_data+0x67/0xb0 fs/f2fs/segment.c:3599 f2fs_do_write_data_page+0x385/0x4c0 fs/f2fs/data.c:2796 f2fs_write_single_data_page+0x4bf/0x820 fs/f2fs/data.c:2913 f2fs_write_cache_pages fs/f2fs/data.c:3165 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3315 [inline] f2fs_write_data_pages+0x706/0xc70 fs/f2fs/data.c:3342 do_writepages+0xcc/0x210 mm/page-writeback.c:2494 filemap_fdatawrite_wbc+0x63/0x80 mm/filemap.c:408 __filemap_fdatawrite_range mm/filemap.c:441 [inline] filemap_write_and_wait_range+0xc9/0x160 mm/filemap.c:694 f2fs_flush_buffered_write fs/f2fs/file.c:4729 [inline] f2fs_file_write_iter+0x9df/0xc00 fs/f2fs/file.c:4937 do_iter_write+0x1cd/0x2d0 fs/read_write.c:861 vfs_iter_write+0x14/0x20 fs/read_write.c:902 iter_file_splice_write+0x279/0x420 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0x29/0x40 fs/splice.c:930 splice_direct_to_actor+0x134/0x2a0 fs/splice.c:885 do_splice_direct+0x7f/0xc0 fs/splice.c:973 do_sendfile+0x247/0x440 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x93/0xc0 fs/read_write.c:1309 x64_sys_call+0x140/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3e4cd7fed9 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:00007f3e4db65058 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f3e4cf45fa0 RCX: 00007f3e4cd7fed9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000005 RBP: 00007f3e4cdf3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000fffe80 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3e4cf45fa0 R15: 00007ffc23c6e0e8 Modules linked in: CR2: 0000000000000004 ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2940 [inline] RIP: 0010:update_sit_entry_for_alloc fs/f2fs/segment.c:2390 [inline] RIP: 0010:update_sit_entry+0x1db/0x530 fs/f2fs/segment.c:2434 Code: 14 37 89 d6 44 0f ab ee 42 88 34 37 83 e0 07 0f a3 c2 8b 7d d4 0f 82 02 03 00 00 41 83 ba 28 08 00 00 00 75 1f 4b 8b 44 c4 18 <42> 0f b6 0c 30 89 ca 44 08 fa 42 88 14 30 41 85 cf 75 07 41 ff 8a RSP: 0018:ffffc900009833d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811b9ce878 RCX: 0000000000000002 RDX: 00000000000000f8 RSI: 00000000000000fc RDI: 0000000000000003 RBP: ffffc90000983448 R08: 000000000000000f R09: 0000000000001425 R10: ffff888111332000 R11: 0000000000000001 R12: ffff88811b9ce800 R13: 0000000000000002 R14: 0000000000000004 R15: 0000000000000004 FS: 00007f3e4db656c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 0000000112110000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 14 37 adc $0x37,%al 2: 89 d6 mov %edx,%esi 4: 44 0f ab ee bts %r13d,%esi 8: 42 88 34 37 mov %sil,(%rdi,%r14,1) c: 83 e0 07 and $0x7,%eax f: 0f a3 c2 bt %eax,%edx 12: 8b 7d d4 mov -0x2c(%rbp),%edi 15: 0f 82 02 03 00 00 jb 0x31d 1b: 41 83 ba 28 08 00 00 cmpl $0x0,0x828(%r10) 22: 00 23: 75 1f jne 0x44 25: 4b 8b 44 c4 18 mov 0x18(%r12,%r8,8),%rax * 2a: 42 0f b6 0c 30 movzbl (%rax,%r14,1),%ecx <-- trapping instruction 2f: 89 ca mov %ecx,%edx 31: 44 08 fa or %r15b,%dl 34: 42 88 14 30 mov %dl,(%rax,%r14,1) 38: 41 85 cf test %ecx,%r15d 3b: 75 07 jne 0x44 3d: 41 rex.B 3e: ff .byte 0xff 3f: 8a .byte 0x8a