------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 3974 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 3974 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:290 [inline]
WARNING: CPU: 0 PID: 3974 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1391 [inline]
WARNING: CPU: 0 PID: 3974 at fs/buffer.c:1145 invalidate_bh_lru+0xf6/0x160 fs/buffer.c:1404
Modules linked in:
CPU: 0 PID: 3974 Comm: syz-executor.0 Not tainted 5.18.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:__brelse fs/buffer.c:1145 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:290 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1391 [inline]
RIP: 0010:invalidate_bh_lru+0xf6/0x160 fs/buffer.c:1404
Code: 70 5a e7 ff f0 41 ff 4d 00 42 80 7c 3d 00 00 74 81 4c 89 f7 e8 1b 59 e7 ff e9 74 ff ff ff 48 c7 c7 40 35 b6 89 e8 8a 95 75 ff <0f> 0b 42 80 7c 3d 00 00 75 dd e9 59 ff ff ff 44 89 e9 80 e1 07 80
RSP: 0018:ffffc90000007f38 EFLAGS: 00010046
RAX: 5ba7a9f27d3d6900 RBX: 0000000000000000 RCX: 0000000000010002
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001
RBP: 1ffff11017386d9f R08: dffffc0000000000 R09: ffffed1017385124
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9c36cf8
R13: ffff888070fbf888 R14: ffff8880b9c36cf8 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f599dba8000 CR3: 000000007f32e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
flush_smp_call_function_queue+0x219/0xae0 kernel/smp.c:628
__sysvec_call_function_single+0xdf/0x360 arch/x86/kernel/smp.c:248
sysvec_call_function_single+0x8d/0xb0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20
RIP: 0010:unwind_get_return_address+0x29/0x90 arch/x86/kernel/unwind_orc.c:315
Code: 00 f3 0f 1e fa 41 57 41 56 53 48 89 fb 49 be 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 47 83 3b 00 <74> 3a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89
RSP: 0018:ffffc90002cfef80 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90002cfefa0 RCX: 0000000080000000
RDX: dffffc0000000000 RSI: ffffc90002cfff48 RDI: ffffc90002cfefa0
RBP: ffffc90002cff030 R08: dffffc0000000000 R09: ffffc90002cfeff0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801fc2ba80
R13: ffffffff81671880 R14: dffffc0000000000 R15: 0000000000000000
arch_stack_walk+0xf7/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4f/0x70 mm/kasan/common.c:45
kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
____kasan_slab_free+0x124/0x1d0 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:200 [inline]
slab_free_hook mm/slub.c:1728 [inline]
slab_free_freelist_hook+0x12c/0x1a0 mm/slub.c:1754
slab_free mm/slub.c:3510 [inline]
kmem_cache_free+0xfa/0x310 mm/slub.c:3527
pgtable_pte_page_dtor include/linux/mm.h:2336 [inline]
___pte_free_tlb+0x87/0x290 arch/x86/mm/pgtable.c:55
__pte_free_tlb arch/x86/include/asm/pgalloc.h:61 [inline]
free_pte_range mm/memory.c:232 [inline]
free_pmd_range mm/memory.c:250 [inline]
free_pud_range mm/memory.c:284 [inline]
free_p4d_range mm/memory.c:318 [inline]
free_pgd_range+0x69a/0xb70 mm/memory.c:398
free_pgtables+0x56/0x240
exit_mmap+0x1ac/0x480 mm/mmap.c:3141
__mmput+0xc7/0x360 kernel/fork.c:1183
exit_mm+0x1e8/0x2a0 kernel/exit.c:510
do_exit+0x409/0x1b80 kernel/exit.c:782
do_group_exit+0x109/0x2c0 kernel/exit.c:925
get_signal+0x11d5/0x1220 kernel/signal.c:2864
arch_do_signal_or_restart+0xb4/0x1a60 arch/x86/kernel/signal.c:867
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:166
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x61/0x2a0 kernel/entry/common.c:294
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f599da8c169
Code: Unable to access opcode bytes at RIP 0x7f599da8c13f.
RSP: 002b:00007f599e86a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f599dbabf88 RCX: 00007f599da8c169
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f599dbabf88
RBP: 00007f599dbabf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f599dbabf8c
R13: 00007fff4551419f R14: 00007f599e86a300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 00 f3 add %dh,%bl
2: 0f 1e fa nop %edx
5: 41 57 push %r15
7: 41 56 push %r14
9: 53 push %rbx
a: 48 89 fb mov %rdi,%rbx
d: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
14: fc ff df
17: 48 89 f8 mov %rdi,%rax
1a: 48 c1 e8 03 shr $0x3,%rax
1e: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
23: 84 c0 test %al,%al
25: 75 47 jne 0x6e
27: 83 3b 00 cmpl $0x0,(%rbx)
* 2a: 74 3a je 0x66 <-- trapping instruction
2c: 48 83 c3 48 add $0x48,%rbx
30: 49 89 df mov %rbx,%r15
33: 49 c1 ef 03 shr $0x3,%r15
37: 43 80 3c 37 00 cmpb $0x0,(%r15,%r14,1)
3c: 74 08 je 0x46
3e: 48 rex.W
3f: 89 .byte 0x89