syzbot


WARNING in invalidate_bh_lrus_cpu

Status: auto-obsoleted due to no activity on 2023/10/22 19:10
Reported-by: syzbot+2a59566d2d8d2b2393c0@syzkaller.appspotmail.com
First crash: 495d, last: 495d
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 158d 158d 0/3 auto-obsoleted due to no activity on 2024/09/24 01:36
linux-6.1 WARNING in invalidate_bh_lrus_cpu (2) 1 161d 161d 0/3 auto-obsoleted due to no activity on 2024/09/21 13:16
upstream WARNING in invalidate_bh_lrus_cpu fs 1 220d 216d 0/28 auto-obsoleted due to no activity on 2024/07/13 15:02

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 7972 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 7972 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 7972 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline]
WARNING: CPU: 0 PID: 7972 at fs/buffer.c:1145 invalidate_bh_lrus_cpu+0x1b0/0x270 fs/buffer.c:1426
Modules linked in:
CPU: 0 PID: 7972 Comm: kworker/0:15 Not tainted 6.1.38-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
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 6d e2 e0 ff f0 ff 0b eb 1a e8 03 7b 8a ff eb 1d e8 fc 7a 8a ff 48 c7 c7 60 b6 f9 8a e8 d0 e9 52 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:ffffc900152a7b80 EFLAGS: 00010046
RAX: 9392a0c3a0af6e00 RBX: ffff88809a1a9060 RCX: ffff88807a16bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900152a7c30 R08: ffffffff81524cae R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8880b9835d38 R14: 1ffff11017306ba7 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f795e35dd58 CR3: 000000003d9c0000 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+0xf1/0x140 mm/swap.c:808
 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
 kthread+0x26e/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/14 19:10 linux-6.1.y 61fd484b2cf6 d624500f .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.