syzbot


WARNING in __brelse

Status: upstream: reported C repro on 2022/10/31 19:01
Subsystems: vfs udf
[Documentation on labels]
Reported-by: syzbot+5cacf8a7c9ee81f101f8@syzkaller.appspotmail.com
First crash: 751d, last: 645d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) fs C done done 46 7h09m 483d 0/28 upstream: reported C repro on 2023/07/26 14:30
android-49 WARNING in __brelse C 6 2058d 2048d 0/3 public: reported C repro on 2019/04/14 00:00
upstream WARNING in __brelse udf C inconclusive 22 642d 784d 22/28 fixed on 2023/02/24 13:50
linux-6.1 WARNING in __brelse 8 205d 262d 0/3 auto-obsoleted due to no activity on 2024/08/08 10:26
linux-5.15 WARNING in __brelse (2) 3 16d 111d 0/3 upstream: reported on 2024/08/02 08:59
android-414 WARNING in __brelse C 10 2058d 2050d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 634d 630d 0/28 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 585d 585d 0/3 auto-obsoleted due to no activity on 2023/08/14 05:07
linux-4.19 WARNING in __brelse vfs reiserfs ext4 udf C 43 626d 782d 0/1 upstream: reported C repro on 2022/10/01 01:04
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/02/15 04:12 27m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/09/12 12:00 (1000)
VFS: brelse: Trying to free free buffer
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2819 at fs/buffer.c:1206 __brelse.part.0+0x11/0x14 fs/buffer.c:1206
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 2819 Comm: kworker/u4:3 Not tainted 4.14.296-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
Workqueue: netns cleanup_net
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:__brelse.part.0+0x11/0x14 fs/buffer.c:1206
RSP: 0018:ffff8880ba507f68 EFLAGS: 00010086
RAX: 0000000000000027 RBX: ffff8880ba531cb0 RCX: 0000000000000000
RDX: 0000000000010000 RSI: ffffffff878bc9e0 RDI: ffffed10174a0fe3
RBP: ffff88808e43fb28 R08: 0000000000000027 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8880ae76a500 R12: dffffc0000000000
R13: ffff8880ba531d20 R14: ffffffff8192f760 R15: 0000000000000000
 __brelse fs/buffer.c:1207 [inline]
 brelse include/linux/buffer_head.h:331 [inline]
 invalidate_bh_lru.cold+0xa/0xf fs/buffer.c:1447
 flush_smp_call_function_queue+0xd1/0x2f0 kernel/smp.c:243
 smp_call_function_single_interrupt+0xa3/0x4e0 arch/x86/kernel/smp.c:304
 call_function_single_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:815
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:192
RSP: 0018:ffff8880ae777b58 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04
RAX: 1ffffffff11e1359 RBX: 0000000000000282 RCX: 1ffff11015ced5ce
RDX: dffffc0000000000 RSI: ffff8880ae76ae50 RDI: 0000000000000282
RBP: ffffffff89007ac0 R08: ffffffff8b9ba2b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880aad23e00
R13: ffff8880ae777bd8 R14: 0000000000000000 R15: ffff8880a186b250
 spin_unlock_irqrestore include/linux/spinlock.h:372 [inline]
 quarantine_remove_cache+0x72/0xd0 mm/kasan/quarantine.c:319
 shutdown_cache+0xe/0x1e0 mm/slab_common.c:540
 kmem_cache_destroy+0x1d2/0x240 mm/slab_common.c:842
 tipc_server_stop+0x13a/0x180 net/tipc/server.c:637
 tipc_topsrv_stop net/tipc/subscr.c:390 [inline]
 tipc_topsrv_exit_net+0x168/0x290 net/tipc/subscr.c:402
 ops_exit_list+0xad/0x160 net/core/net_namespace.c:142
 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:487
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/31 19:01 linux-4.14.y 41f36d7859a7 2a71366b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in __brelse
2023/01/16 01:04 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in __brelse
2023/01/13 11:55 linux-4.14.y c4215ee4771b 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in __brelse
2022/12/28 20:14 linux-4.14.y c4215ee4771b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in __brelse
2022/12/26 21:38 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in __brelse
2022/12/24 11:35 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in __brelse
* Struck through repros no longer work on HEAD.