------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 3674 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 1 PID: 3674 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 3674 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 1 PID: 3674 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 1 PID: 3674 Comm: syz-executor.0 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:ffffc90000dd0f60 EFLAGS: 00010046 RAX: 4a464c2315188800 RBX: ffff88805e074c28 RCX: ffff88807e578000 RDX: 0000000080010001 RSI: 0000000080010001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8166835c R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9b36578 R13: 0000000000000000 R14: 1ffff11017366caf R15: ffff8880b9b36578 FS: 00007f1e3f6856c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fa36000 CR3: 0000000074164000 CR4: 00000000003506e0 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:__mutex_lock_common+0x11e/0x25a0 kernel/locking/mutex.c:575 Code: 18 07 00 4c 8b 6c 24 08 75 2a 49 8d 7d 60 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 05 e8 c2 74 a3 f7 <4d> 39 6d 60 0f 85 dc 18 00 00 48 83 7c 24 10 00 74 7d 49 8d 9d 90 RSP: 0018:ffffc9000117f5a0 EFLAGS: 00000246 RAX: 1ffff1100f632db2 RBX: dffffc0000000000 RCX: dffffc0000000000 RDX: ffff88807e578000 RSI: ffffffff8a8b3ca0 RDI: ffff88807b196d90 RBP: ffffc9000117f720 R08: dffffc0000000000 R09: ffffc9000117f660 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88807b196d30 R14: 0000000000000000 R15: 0000000000000000 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 __unix_dgram_recvmsg+0x24d/0x1260 net/unix/af_unix.c:2313 ____sys_recvmsg+0x286/0x530 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2692 do_recvmmsg+0x36f/0x8f0 net/socket.c:2786 __sys_recvmmsg net/socket.c:2865 [inline] __do_sys_recvmmsg net/socket.c:2888 [inline] __se_sys_recvmmsg net/socket.c:2881 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2881 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1e40b2cf29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1e3f6850c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f1e40c64050 RCX: 00007f1e40b2cf29 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f1e40b9c074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e40c64050 R15: 00007ffe3023b868 ---------------- Code disassembly (best guess): 0: 18 07 sbb %al,(%rdi) 2: 00 4c 8b 6c add %cl,0x6c(%rbx,%rcx,4) 6: 24 08 and $0x8,%al 8: 75 2a jne 0x34 a: 49 8d 7d 60 lea 0x60(%r13),%rdi e: 48 89 f8 mov %rdi,%rax 11: 48 c1 e8 03 shr $0x3,%rax 15: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 1c: fc ff df 1f: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 23: 74 05 je 0x2a 25: e8 c2 74 a3 f7 call 0xf7a374ec * 2a: 4d 39 6d 60 cmp %r13,0x60(%r13) <-- trapping instruction 2e: 0f 85 dc 18 00 00 jne 0x1910 34: 48 83 7c 24 10 00 cmpq $0x0,0x10(%rsp) 3a: 74 7d je 0xb9 3c: 49 rex.WB 3d: 8d .byte 0x8d 3e: 9d popf 3f: 90 nop