------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 6876 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline]
WARNING: CPU: 0 PID: 6876 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline]
WARNING: CPU: 0 PID: 6876 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline]
WARNING: CPU: 0 PID: 6876 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407
Modules linked in:
CPU: 0 PID: 6876 Comm: syz-executor.4 Not tainted 5.15.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__brelse fs/buffer.c:1148 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:325 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1394 [inline]
RIP: 0010:invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407
Code: 00 e8 9c 69 e4 ff f0 ff 0b eb 21 e8 92 99 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 84 99 9a ff 48 c7 c7 20 6c 97 8a e8 d8 41 66 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:ffffc90000007f60 EFLAGS: 00010046
RAX: 2f400280bd4df700 RBX: ffff888070ed2148 RCX: ffff888079710000
RDX: 0000000080010002 RSI: 0000000080010002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8166835c R09: fffff52000000f2d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a36578
R13: 0000000000000038 R14: 1ffff11017346cb6 R15: ffff8880b9a365b0
FS: 0000555555572480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a17ea5198 CR3: 000000007e3dd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
flush_smp_call_function_queue+0x2b5/0x760 kernel/smp.c:628
__sysvec_call_function_single+0x9a/0x250 arch/x86/kernel/smp.c:248
sysvec_call_function_single+0x89/0xb0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:646
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 21 80 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 be 11 3b f7 48 89 df e8 96 65 3c f7 e8 b1 1d 5f f7 fb bf 01 00 00 00 d6 ab 2f f7 65 8b 05 57 b2 da 75 85 c0 74 02 5b c3 e8 24 cf d8
RSP: 0018:ffffc90003a77868 EFLAGS: 00000286
RAX: 2f400280bd4df700 RBX: ffff888012bb2ee0 RCX: ffffffff913f0f03
RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001
RBP: ffff888012bb2ed8 R08: ffffffff8186db40 R09: ffffed10025765dd
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000174f4c0
R13: 00fff00000080017 R14: ffffea000174f4c8 R15: ffffea000174f4c0
spin_unlock_irq include/linux/spinlock.h:413 [inline]
delete_from_page_cache+0x12e/0x190 mm/filemap.c:267
truncate_inode_page+0x8d/0xb0 mm/truncate.c:219
shmem_undo_range+0x535/0x1b50 mm/shmem.c:960
shmem_truncate_range mm/shmem.c:1063 [inline]
shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145
evict+0x2a4/0x620 fs/inode.c:587
__dentry_kill+0x436/0x650 fs/dcache.c:582
dentry_kill+0xbb/0x290
dput+0xd8/0x1a0 fs/dcache.c:889
__fput+0x5ec/0x890 fs/file_table.c:288
task_work_run+0x129/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe5139471d7
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffdf7aef808 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe5139471d7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdf7aef8c0
RBP: 00007ffdf7aef8c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdf7af0970
R13: 00007fe5139a2636 R14: 000000000004fd36 R15: 0000000000000001
----------------
Code disassembly (best guess):
0: 21 80 f6 ff 90 53 and %eax,0x5390fff6(%rax)
6: 48 89 fb mov %rdi,%rbx
9: 48 83 c7 18 add $0x18,%rdi
d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
12: e8 be 11 3b f7 call 0xf73b11d5
17: 48 89 df mov %rbx,%rdi
1a: e8 96 65 3c f7 call 0xf73c65b5
1f: e8 b1 1d 5f f7 call 0xf75f1dd5
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 d6 ab 2f f7 call 0xf72fac05 <-- trapping instruction
2f: 65 8b 05 57 b2 da 75 mov %gs:0x75dab257(%rip),%eax # 0x75dab28d
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5b pop %rbx
3b: c3 ret
3c: e8 .byte 0xe8
3d: 24 cf and $0xcf,%al
3f: d8 .byte 0xd8