------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 1 PID: 12 at fs/buffer.c:1194 __brelse fs/buffer.c:1194 [inline]
WARNING: CPU: 1 PID: 12 at fs/buffer.c:1194 brelse include/linux/buffer_head.h:335 [inline]
WARNING: CPU: 1 PID: 12 at fs/buffer.c:1194 __invalidate_bh_lrus fs/buffer.c:1429 [inline]
WARNING: CPU: 1 PID: 12 at fs/buffer.c:1194 invalidate_bh_lru+0xfc/0x1b0 fs/buffer.c:1442
Modules linked in:
CPU: 1 PID: 12 Comm: kworker/u4:1 Not tainted 6.4.0-rc2-syzkaller-gf1fcbaa18b28 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__brelse fs/buffer.c:1194 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:335 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1429 [inline]
RIP: 0010:invalidate_bh_lru+0xfc/0x1b0 fs/buffer.c:1442
Code: 00 e8 b8 e1 df ff f0 ff 0b eb 21 e8 1e 0e 88 ff 41 80 3c 2e 00 75 26 eb 2c e8 10 0e 88 ff 48 c7 c7 c0 9e f7 8a e8 74 90 4f ff <0f> 0b 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c 89 ff
RSP: 0018:ffffc900001e0f30 EFLAGS: 00010046
RAX: c3e639b6d5727f00 RBX: ffff888074e8ec28 RCX: ffff888015a7d940
RDX: 0000000080010202 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff815301a2 R09: ffffed1017325163
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9938078
R13: 0000000000000000 R14: 1ffff1101732700f R15: ffff8880b9938078
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555d321d3950 CR3: 0000000071a02000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__flush_smp_call_function_queue+0x2dd/0x960 kernel/smp.c:480
__sysvec_call_function_single+0xa0/0x260 arch/x86/kernel/smp.c:248
sysvec_call_function_single+0x8d/0xb0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_acquire+0x5b/0x520 kernel/locking/lockdep.c:5659
Code: f6 48 89 7c 24 20 65 48 8b 04 25 28 00 00 00 48 89 84 24 00 01 00 00 49 bd 00 00 00 00 00 fc ff df 48 c7 44 24 40 b3 8a b5 41 <48> c7 44 24 48 1d 50 82 8c 48 c7 44 24 50 90 11 6b 81 4c 8d 64 24
RSP: 0018:ffffc900001179e0 EFLAGS: 00000282
RAX: c3e639b6d5727f00 RBX: ffffffff8a7f65e8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807b31d3d8
RBP: ffffc90000117b30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000400
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88802c361d90
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:355 [inline]
batadv_nc_purge_paths+0xe8/0x3a0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x30f/0x5c0 net/batman-adv/network-coding.c:722
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
----------------
Code disassembly (best guess):
0: f6 48 89 7c testb $0x7c,-0x77(%rax)
4: 24 20 and $0x20,%al
6: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
d: 00 00
f: 48 89 84 24 00 01 00 mov %rax,0x100(%rsp)
16: 00
17: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
1e: fc ff df
21: 48 c7 44 24 40 b3 8a movq $0x41b58ab3,0x40(%rsp)
28: b5 41
* 2a: 48 c7 44 24 48 1d 50 movq $0xffffffff8c82501d,0x48(%rsp) <-- trapping instruction
31: 82 8c
33: 48 c7 44 24 50 90 11 movq $0xffffffff816b1190,0x50(%rsp)
3a: 6b 81
3c: 4c rex.WR
3d: 8d .byte 0x8d
3e: 64 fs
3f: 24 .byte 0x24