ci2 starts bisection 2024-05-23 12:34:40.150132258 +0000 UTC m=+17954.404832980 bisecting fixing commit since 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 building syzkaller on de870ca5ea0b42afdf670fa407254dc617342cc3 ensuring issue is reproducible on original commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: df16ce4cc5c83031fe37f2f303a2d17b624f2221a4d826efe831bf5dffc68477 all runs: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: befbb5e8052dd2cd9406b308fa6d4ebdf6a479cd689e7293ee531cdd848c70fc all runs: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed kconfig minimization: base=4789 full=6024 leaves diff=237 split chunks (needed=false): <237> split chunk #0 of len 237 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c63c1d43075b3a09696d0de9ab31cecdb8190423ad913915cfa428b926a2553c all runs: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 41cfbfd089fe4448f5c00b9edbfce72b277457289e52865e317134f9bbbf142b run #0: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #1: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #2: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #3: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #4: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #5: crashed: kernel BUG in ext4_mb_release_inode_pa run #6: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #7: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #8: crashed: kernel BUG in ext4_mb_load_buddy_gfp run #9: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac58f006b01879620804915f10997d2c0101561751863fb1fafc03b240b3383e all runs: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e7556266a024e861fb5eb66d46ba8894f2208534bfc3bf85d609c857dc3e6819 all runs: crashed: kernel BUG in ext4_mb_load_buddy_gfp representative crash: kernel BUG in ext4_mb_load_buddy_gfp, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3ad342cf5b2cadf6408597d0cf086c31ab7ef383 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 3ad342cf5b2cadf6408597d0cf086c31ab7ef383: net/socket.c:1109: undefined reference to `wext_handle_ioctl' net/socket.c:3378: 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 45 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 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 KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD a8e7f812fbc15d931311179614ea38730b6bcf09 testing commit a8e7f812fbc15d931311179614ea38730b6bcf09 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ea71233254cf75b57b774dc7d232f48d0577d82abc6627cdb0653491544ef14 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks run #4: crashed: kernel BUG in ext4_mb_release_inode_pa run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h17m24.184241499s (build: 48m25.790265848s, test: 27m42.290520736s) crash still not fixed or there were kernel test errors commit msg: ANDROID: cpufreq: brcmstb-avs-cpufreq: fix build error crash: BUG: unable to handle kernel NULL pointer dereference in ext4_mb_new_blocks EXT4-fs error (device loop0): ext4_get_group_desc:276: comm syz-executor.0: block_group >= groups_count - block_group = 4294963226, groups_count = 1 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 113422067 P4D 113422067 PUD 113d84067 PMD 0 Oops: 0002 [#1] PREEMPT SMP CPU: 0 PID: 1955 Comm: syz-executor.0 Not tainted 5.10.214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:707 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock include/linux/spinlock.h:183 [inline] RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] RIP: 0010:_raw_spin_lock+0x19/0x40 kernel/locking/spinlock.c:151 Code: 89 c6 48 89 df e8 77 a3 40 ff 66 90 eb e2 0f 0b 90 55 48 89 e5 53 48 89 fb bf 01 00 00 00 e8 8e 5a 3e ff 31 c0 ba 01 00 00 00 0f b1 13 75 06 48 8b 5d f8 c9 c3 48 83 3d 33 43 eb 00 00 74 0e RSP: 0018:ffffc90002f670c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffc90002f66e78 RDI: ffffffff8142a1df RBP: ffffc90002f670d0 R08: 0000000000000000 R09: 0000000000000019 R10: 00000000ffffff8b R11: 0000000000000000 R12: ffff888109f0d4e0 R13: ffff8881137c3000 R14: ffff888109f0c800 R15: ffffc90002f67260 FS: 00007f3e6cd6b6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000112d54000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:354 [inline] ext4_mb_release_context fs/ext4/mballoc.c:4997 [inline] ext4_mb_new_blocks+0xb9f/0x1020 fs/ext4/mballoc.c:5215 ext4_ext_map_blocks+0x8b0/0x1a10 fs/ext4/extents.c:4311 ext4_map_blocks+0x194/0x5a0 fs/ext4/inode.c:644 _ext4_get_block+0x8e/0x110 fs/ext4/inode.c:787 ext4_get_block+0x11/0x20 fs/ext4/inode.c:804 __block_write_begin_int+0x17d/0x620 fs/buffer.c:2042 __block_write_begin+0xc/0x10 fs/buffer.c:2092 ext4_convert_inline_data_to_extent fs/ext4/inline.c:619 [inline] ext4_try_to_write_inline_data+0x263/0x6b0 fs/ext4/inline.c:751 ext4_write_begin+0x575/0x6d0 fs/ext4/inode.c:1162 ext4_da_write_begin+0x234/0x580 fs/ext4/inode.c:3004 generic_perform_write+0xbe/0x1b0 mm/filemap.c:3509 ext4_buffered_write_iter+0x9f/0x150 fs/ext4/file.c:271 ext4_file_write_iter+0x5b/0x840 fs/ext4/file.c:685 __kernel_write+0x13e/0x2c0 fs/read_write.c:550 dump_emit+0x79/0xa0 fs/coredump.c:849 elf_core_dump+0x9f1/0xee0 fs/binfmt_elf.c:2242 do_coredump+0xcd3/0x1090 fs/coredump.c:811 get_signal+0x489/0x8a0 kernel/signal.c:2768 arch_do_signal_or_restart+0xeb/0x7d0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0xd1/0x120 kernel/entry/common.c:199 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:287 irqentry_exit+0x3c/0x60 kernel/entry/common.c:375 exc_page_fault+0x27f/0x5b0 arch/x86/mm/fault.c:1512 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0033:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 002b:0000000020000473 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 0000000000000058 RCX: 00007f3e6d1e8959 RDX: 00007f3e6cd6afb0 RSI: 0000000000000058 RDI: 00007f3e6cd6afb0 RBP: 00007f3e6d244c88 R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3e6d307f80 R15: 00007fffc70de988 Modules linked in: CR2: 0000000000000000 ---[ end trace 16f1065fff0dbb9a ]--- RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:707 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock include/linux/spinlock.h:183 [inline] RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] RIP: 0010:_raw_spin_lock+0x19/0x40 kernel/locking/spinlock.c:151 Code: 89 c6 48 89 df e8 77 a3 40 ff 66 90 eb e2 0f 0b 90 55 48 89 e5 53 48 89 fb bf 01 00 00 00 e8 8e 5a 3e ff 31 c0 ba 01 00 00 00 0f b1 13 75 06 48 8b 5d f8 c9 c3 48 83 3d 33 43 eb 00 00 74 0e RSP: 0018:ffffc90002f670c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffc90002f66e78 RDI: ffffffff8142a1df RBP: ffffc90002f670d0 R08: 0000000000000000 R09: 0000000000000019 R10: 00000000ffffff8b R11: 0000000000000000 R12: ffff888109f0d4e0 R13: ffff8881137c3000 R14: ffff888109f0c800 R15: ffffc90002f67260 FS: 00007f3e6cd6b6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000112d54000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 c6 mov %eax,%esi 2: 48 89 df mov %rbx,%rdi 5: e8 77 a3 40 ff call 0xff40a381 a: 66 90 xchg %ax,%ax c: eb e2 jmp 0xfffffff0 e: 0f 0b ud2 10: 90 nop 11: 55 push %rbp 12: 48 89 e5 mov %rsp,%rbp 15: 53 push %rbx 16: 48 89 fb mov %rdi,%rbx 19: bf 01 00 00 00 mov $0x1,%edi 1e: e8 8e 5a 3e ff call 0xff3e5ab1 23: 31 c0 xor %eax,%eax 25: ba 01 00 00 00 mov $0x1,%edx * 2a: f0 0f b1 13 lock cmpxchg %edx,(%rbx) <-- trapping instruction 2e: 75 06 jne 0x36 30: 48 8b 5d f8 mov -0x8(%rbp),%rbx 34: c9 leave 35: c3 ret 36: 48 83 3d 33 43 eb 00 cmpq $0x0,0xeb4333(%rip) # 0xeb4371 3d: 00 3e: 74 0e je 0x4e