EXT4-fs error (device loop2): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters ------------[ cut here ]------------ WARNING: CPU: 0 PID: 33 at net/mac80211/ibss.c:506 ieee80211_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: phy13 ieee80211_iface_work audit: type=1804 audit(1675801286.100:36989): pid=1147 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir2401157886/syzkaller.L0Yy82/25/file0/bus" dev="loop2" ino=18 res=1 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 EXT4-fs (loop2): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop2): This should not happen!! Data will be lost __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 EXT4-fs (loop2): Total free blocks count 0 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 EXT4-fs (loop2): Free/Dirty block details invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 EXT4-fs (loop2): free_blocks=2415919104 RIP: 0010:ieee80211_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506 Code: 94 57 df ff 0f 0b 48 8d 85 c0 fd ff ff 48 89 85 e0 fc ff ff e9 b3 b1 86 ff e8 0f 26 4e f9 48 c7 c7 40 73 67 89 e8 6e 57 df ff <0f> 0b 41 bd ea ff ff ff e9 22 c0 86 ff e8 f1 25 4e f9 48 c7 c7 40 RSP: 0018:ffff8880b50ef660 EFLAGS: 00010282 audit: type=1804 audit(1675801286.280:36990): pid=1187 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="bus" dev="sda1" ino=14088 res=1 RAX: 0000000000000024 RBX: ffff88806347a2c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1016a1debe RBP: 0000000000000002 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88806347ade0 R14: ffff888063409b80 R15: ffff88806347a7f0 EXT4-fs (loop2): dirty_blocks=16 ieee80211_set_csa_beacon net/mac80211/cfg.c:3129 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3243 [inline] ieee80211_channel_switch+0x1171/0x2df0 net/mac80211/cfg.c:3281 audit: type=1804 audit(1675801286.280:36991): pid=1188 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="bus" dev="sda1" ino=14088 res=1 EXT4-fs (loop2): Block reservation details ieee80211_ibss_process_chanswitch.constprop.0+0x537/0xb90 net/mac80211/ibss.c:899 EXT4-fs (loop2): i_reserved_data_blocks=1 ieee80211_rx_mgmt_spectrum_mgmt net/mac80211/ibss.c:938 [inline] ieee80211_ibss_rx_queued_mgmt+0xd82/0x18b0 net/mac80211/ibss.c:1660 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..