UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ------------[ cut here ]------------ ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 21620 at fs/buffer.c:1144 __brelse fs/buffer.c:1144 [inline] WARNING: CPU: 1 PID: 21620 at fs/buffer.c:1144 __brelse+0x67/0xa0 fs/buffer.c:1138 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 21620 Comm: systemd-udevd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:__brelse fs/buffer.c:1144 [inline] RIP: 0010:__brelse+0x67/0xa0 fs/buffer.c:1138 Code: 7c 04 84 d2 75 4e 44 8b 63 60 31 ff 44 89 e6 e8 bf 16 b2 ff 45 85 e4 75 1c e8 45 15 b2 ff 48 c7 c7 e0 1c 75 88 e8 1e 4d 42 06 <0f> 0b 5b 5d 41 5c e9 2e 15 b2 ff e8 29 15 b2 ff be 04 00 00 00 48 RSP: 0018:ffff88803bf2fc00 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff888035b553f0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10077e5f72 RBP: ffff888035b55450 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: ffffffff8c66505b R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880ba1287e0 R15: ffffffff81b08270 VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 17964 at fs/buffer.c:1144 __brelse fs/buffer.c:1144 [inline] WARNING: CPU: 0 PID: 17964 at fs/buffer.c:1144 __brelse+0x67/0xa0 fs/buffer.c:1138 brelse include/linux/buffer_head.h:297 [inline] invalidate_bh_lru+0x90/0x140 fs/buffer.c:1385 Modules linked in: CPU: 0 PID: 17964 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 on_each_cpu_mask+0xf7/0x240 kernel/smp.c:636 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__brelse fs/buffer.c:1144 [inline] RIP: 0010:__brelse+0x67/0xa0 fs/buffer.c:1138 on_each_cpu_cond+0x12d/0x1c0 kernel/smp.c:684 Code: 7c 04 84 d2 75 4e 44 8b 63 60 31 ff 44 89 e6 e8 bf 16 b2 ff 45 85 e4 75 1c e8 45 15 b2 ff 48 c7 c7 e0 1c 75 88 e8 1e 4d 42 06 <0f> 0b 5b 5d 41 5c e9 2e 15 b2 ff e8 29 15 b2 ff be 04 00 00 00 48 RSP: 0018:ffff8880a01d7a00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888042124690 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101403af32 kill_bdev fs/block_dev.c:85 [inline] __blkdev_put+0x29e/0x870 fs/block_dev.c:1813 RBP: ffff8880421246f0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880ba128860 R14: ffff888035b553f0 R15: ffff8880ba1287e0 FS: 00005555569b3400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 blkdev_close+0x86/0xb0 fs/block_dev.c:1888 CR2: 00007f31421f0000 CR3: 0000000091edd000 CR4: 00000000003406f0 __fput+0x2ce/0x890 fs/file_table.c:278 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 task_work_run+0x148/0x1c0 kernel/task_work.c:113 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 Call Trace: prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 brelse include/linux/buffer_head.h:297 [inline] bh_lru_install fs/buffer.c:1247 [inline] __find_get_block+0xa28/0xde0 fs/buffer.c:1297 entry_SYSCALL_64_after_hwframe+0x49/0xbe sb_find_get_block include/linux/buffer_head.h:346 [inline] recently_deleted fs/ext4/ialloc.c:684 [inline] find_inode_bit+0x213/0x520 fs/ext4/ialloc.c:724 RIP: 0033:0x7fc1c8085270 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 RSP: 002b:00007ffee0ab3a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fc1c8085270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fc1c8f3f710 R08: 0000561ea9c06410 R09: 0000561ea9c06100 R10: 00007fc1c8f3f8c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000561ea9c04760 R14: 0000000000000003 R15: 000000000000000e ext4_mkdir+0x396/0xe10 fs/ext4/namei.c:2696 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f31420d30c7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe5bd51db8 EFLAGS: 00000206 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffe5bd51e40 RCX: 00007f31420d30c7 RDX: 00000000000001ff RSI: 00007ffe5bd51e40 RDI: 00000000ffffff9c RBP: 00007ffe5bd51e1c R08: 0000000000000000 R09: 0000000000000004 R10: 00007ffe5bd51b56 R11: 0000000000000206 R12: 0000000000000032 R13: 0000000000067968 R14: 000000000000000b R15: 00007ffe5bd51e80 irq event stamp: 1032628 hardirqs last enabled at (1032627): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (1032627): [] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192 hardirqs last disabled at (1032628): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1032608): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (1032587): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (1032587): [] irq_exit+0x215/0x260 kernel/softirq.c:412 ---[ end trace d3a68c42e98ed63a ]--- Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 73 01 jae 0x3 2: c3 retq 3: 48 8b 0d 38 7d 20 00 mov 0x207d38(%rip),%rcx # 0x207d42 a: f7 d8 neg %eax c: 64 89 01 mov %eax,%fs:(%rcx) f: 48 83 c8 ff or $0xffffffffffffffff,%rax 13: c3 retq 14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1a: 83 3d 59 c1 20 00 00 cmpl $0x0,0x20c159(%rip) # 0x20c17a 21: 75 10 jne 0x33 23: b8 03 00 00 00 mov $0x3,%eax 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 31 jae 0x63 32: c3 retq 33: 48 83 ec 08 sub $0x8,%rsp 37: e8 ee fb ff ff callq 0xfffffc2a 3c: 48 89 04 24 mov %rax,(%rsp)