syzbot


WARNING in invalidate_bh_lrus_cpu (2)

Status: upstream: reported on 2024/06/13 13:16
Reported-by: syzbot+4bdf9d2c146e7369c54c@syzkaller.appspotmail.com
First crash: 4d23h, last: 4d23h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in invalidate_bh_lrus_cpu 1 2d11h 2d11h 0/3 upstream: reported on 2024/06/16 01:36
linux-6.1 WARNING in invalidate_bh_lrus_cpu 1 339d 339d 0/3 auto-obsoleted due to no activity on 2023/10/22 19:10
upstream WARNING in invalidate_bh_lrus_cpu fs 1 64d 60d 0/27 moderation: reported on 2024/04/18 15:03

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 3614 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 3614 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 3614 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline]
WARNING: CPU: 0 PID: 3614 at fs/buffer.c:1145 invalidate_bh_lrus_cpu+0x1b0/0x270 fs/buffer.c:1426
Modules linked in:
CPU: 0 PID: 3614 Comm: kworker/0:6 Not tainted 6.1.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: mm_percpu_wq lru_add_drain_per_cpu
RIP: 0010:__brelse fs/buffer.c:1145 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:326 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1380 [inline]
RIP: 0010:invalidate_bh_lrus_cpu+0x1b0/0x270 fs/buffer.c:1426
Code: 48 89 df be 04 00 00 00 e8 ad ab e0 ff f0 ff 0b eb 1a e8 33 2a 89 ff eb 1d e8 2c 2a 89 ff 48 c7 c7 60 fb f9 8a e8 60 27 51 ff <0f> 0b 49 bf 00 00 00 00 00 fc ff df 48 8b 5c 24 10 43 80 3c 3e 00
RSP: 0018:ffffc900043bfb60 EFLAGS: 00010046
RAX: e28e170fa5214e00 RBX: ffff8880714c8d10 RCX: ffff88807a725940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900043bfc18 R08: ffffffff815292de R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8880b9836938 R14: 1ffff11017306d27 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0002d0000 CR3: 00000000789f1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lru_add_and_bh_lrus_drain mm/swap.c:789 [inline]
 lru_add_drain_per_cpu+0x215/0x3e0 mm/swap.c:808
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/13 13:15 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lrus_cpu
* Struck through repros no longer work on HEAD.