syzbot


WARNING in invalidate_bh_lrus_cpu (2)

Status: moderation: reported on 2024/11/26 09:37
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+3c249314730382052089@syzkaller.appspotmail.com
First crash: 4d14h, last: 1d07h
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in invalidate_bh_lrus_cpu 1 163d 163d 0/3 auto-obsoleted due to no activity on 2024/09/24 01:36
linux-6.1 WARNING in invalidate_bh_lrus_cpu 1 501d 501d 0/3 auto-obsoleted due to no activity on 2023/10/22 19:10
linux-6.1 WARNING in invalidate_bh_lrus_cpu (2) 1 166d 166d 0/3 auto-obsoleted due to no activity on 2024/09/21 13:16
upstream WARNING in invalidate_bh_lrus_cpu fs 1 226d 222d 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: 1 PID: 46 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline]
WARNING: CPU: 1 PID: 46 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline]
WARNING: CPU: 1 PID: 46 at fs/buffer.c:1229 __invalidate_bh_lrus fs/buffer.c:1498 [inline]
WARNING: CPU: 1 PID: 46 at fs/buffer.c:1229 invalidate_bh_lrus_cpu+0x1ba/0x280 fs/buffer.c:1544
Modules linked in:
CPU: 1 UID: 0 PID: 46 Comm: kworker/1:1 Not tainted 6.12.0-next-20241125-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: mm_percpu_wq lru_add_drain_per_cpu
RIP: 0010:__brelse fs/buffer.c:1229 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:324 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1498 [inline]
RIP: 0010:invalidate_bh_lrus_cpu+0x1ba/0x280 fs/buffer.c:1544
Code: df be 04 00 00 00 e8 c5 eb da ff f0 ff 0b eb 1e e8 5b f8 6f ff eb 21 e8 54 f8 6f ff 90 48 c7 c7 20 e1 18 8c e8 d7 96 30 ff 90 <0f> 0b 90 90 49 bf 00 00 00 00 00 fc ff df 48 8b 5c 24 10 43 80 3c
RSP: 0018:ffffc90000b67ac0 EFLAGS: 00010046
RAX: 49145d4b45237b00 RBX: ffff8880611e3c28 RCX: ffff888020ec8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000b67b78 R08: ffffffff81601b32 R09: fffffbfff1cfa218
R10: dffffc0000000000 R11: fffffbfff1cfa218 R12: 0000000000000000
R13: ffff8880b8739838 R14: 1ffff110170e7307 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f46763e96e8 CR3: 0000000065ae4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lru_add_and_bh_lrus_drain mm/swap.c:714 [inline]
 lru_add_drain_per_cpu+0x21a/0x3f0 mm/swap.c:733
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/25 16:04 linux-next 85a2dd7d7c81 a84878fc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in invalidate_bh_lrus_cpu
2024/11/23 13:40 linux-next cfba9f07a1d6 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in invalidate_bh_lrus_cpu
2024/11/22 09:31 linux-next cfba9f07a1d6 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in invalidate_bh_lrus_cpu
* Struck through repros no longer work on HEAD.