------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 2384 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline]
WARNING: CPU: 0 PID: 2384 at fs/buffer.c:1235 __brelse+0x6d/0xb0 fs/buffer.c:1229
Modules linked in:
CPU: 0 PID: 2384 Comm: kworker/u8:6 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: bat_events batadv_mcast_mla_update
RIP: 0010:__brelse fs/buffer.c:1235 [inline]
RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1229
Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 8b 05 83 ff 45 85 e4 75 20 e8 a1 0a 83 ff 90 48 c7 c7 00 15 1e 8b e8 b4 c0 45 ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 86 0a 83 ff e8 81 0a 83 ff be 04 00 00
RSP: 0018:ffffc900000075a8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffff88801d6da910 RCX: ffffffff8150f3e9
RDX: ffff888029788000 RSI: ffffffff8150f3f6 RDI: 0000000000000001
RBP: ffff88801d6da970 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801d6da910 R14: dffffc0000000000 R15: ffffffff820b31f0
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0008f2000 CR3: 0000000078d30000 CR4: 0000000000350ef0
Call Trace:
brelse include/linux/buffer_head.h:309 [inline]
__invalidate_bh_lrus fs/buffer.c:1487 [inline]
invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1500
csd_do_func kernel/smp.c:133 [inline]
__flush_smp_call_function_queue+0x27d/0x8c0 kernel/smp.c:511
__sysvec_call_function_single+0x8c/0x3a0 arch/x86/kernel/smp.c:271
instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline]
sysvec_call_function_single+0x43/0xb0 arch/x86/kernel/smp.c:266
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:207
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 c4 97 75 7e 65 8b 05 c5 97 75 7e a9 00 01 ff 00 48 8b 34 24 <74> 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b 82 f0 15 00
RSP: 0018:ffffc90000007728 EFLAGS: 00000206
RAX: 0000000000000101 RBX: ffffc900000077b0 RCX: ffffffff813c9716
RDX: ffff888029788000 RSI: ffffffff813c973b RDI: 0000000000000005
RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: ffffc900000077b0
R13: ffffffff817a17d0 R14: ffffc90000007870 R15: ffff888029788000
unwind_next_frame+0x6b/0x23a0 arch/x86/kernel/unwind_orc.c:470
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:240 [inline]
__kasan_slab_free+0x11d/0x1a0 mm/kasan/common.c:256
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2106 [inline]
slab_free mm/slub.c:4280 [inline]
kmem_cache_free+0x12e/0x360 mm/slub.c:4344
skb_kfree_head net/core/skbuff.c:1094 [inline]
skb_kfree_head net/core/skbuff.c:1091 [inline]
skb_free_head+0x19a/0x1e0 net/core/skbuff.c:1108
skb_release_data+0x76c/0x990 net/core/skbuff.c:1136
skb_release_all net/core/skbuff.c:1202 [inline]
__kfree_skb net/core/skbuff.c:1216 [inline]
consume_skb net/core/skbuff.c:1432 [inline]
consume_skb+0xd2/0x170 net/core/skbuff.c:1426
mac80211_hwsim_tx_frame+0x1f3/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2201
__mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2217 [inline]
mac80211_hwsim_beacon_tx+0x503/0x880 drivers/net/wireless/virtual/mac80211_hwsim.c:2300
__iterate_interfaces+0x2d5/0x580 net/mac80211/util.c:772
ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808
mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2326
__run_hrtimer kernel/time/hrtimer.c:1692 [inline]
__hrtimer_run_queues+0x20f/0xc20 kernel/time/hrtimer.c:1756
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1773
__do_softirq+0x21b/0x8de kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:633 [inline]
irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 5a 97 95 f6 48 89 df e8 c2 12 96 f6 e8 7d 5c be f6 fb bf 01 00 00 00 52 60 87 f6 65 8b 05 b3 e4 2c 75 85 c0 74 06 5b e9 81 38 00 00
RSP: 0018:ffffc90008ed7cc0 EFLAGS: 00000202
RAX: 00000000009765c1 RBX: ffff888015098000 RCX: 1ffffffff1f3e009
RDX: 0000000000000000 RSI: ffffffff8b0cc880 RDI: 0000000000000001
RBP: ffff88805ebcd650 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8f9f4317 R11: 0000000000000001 R12: ffff88802ab3c400
R13: ffff888029788000 R14: 0000000000000200 R15: ffffffff8f9f76b8
process_one_work+0x7fd/0x1a60 kernel/workqueue.c:3223
process_scheduled_works kernel/workqueue.c:3335 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416
kthread+0x2c4/0x3a0 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: 90 nop
5: 90 nop
6: 90 nop
7: 90 nop
8: 90 nop
9: 90 nop
a: 90 nop
b: 90 nop
c: 90 nop
d: 90 nop
e: f3 0f 1e fa endbr64
12: 65 48 8b 15 c4 97 75 mov %gs:0x7e7597c4(%rip),%rdx # 0x7e7597de
19: 7e
1a: 65 8b 05 c5 97 75 7e mov %gs:0x7e7597c5(%rip),%eax # 0x7e7597e6
21: a9 00 01 ff 00 test $0xff0100,%eax
26: 48 8b 34 24 mov (%rsp),%rsi
* 2a: 74 0f je 0x3b <-- trapping instruction
2c: f6 c4 01 test $0x1,%ah
2f: 74 35 je 0x66
31: 8b 82 14 16 00 00 mov 0x1614(%rdx),%eax
37: 85 c0 test %eax,%eax
39: 74 2b je 0x66
3b: 8b .byte 0x8b
3c: 82 (bad)
3d: f0 lock
3e: 15 .byte 0x15