syzbot


WARNING in invalidate_bh_lrus_cpu

Status: auto-obsoleted due to no activity on 2024/07/13 15:02
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+26ead353012001d126b5@syzkaller.appspotmail.com
First crash: 184d, last: 184d
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 122d 122d 0/3 auto-obsoleted due to no activity on 2024/09/24 01:36
linux-6.1 WARNING in invalidate_bh_lrus_cpu 1 459d 459d 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 124d 124d 0/3 auto-obsoleted due to no activity on 2024/09/21 13:16

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 8 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline]
WARNING: CPU: 0 PID: 8 at fs/buffer.c:1235 brelse include/linux/buffer_head.h:309 [inline]
WARNING: CPU: 0 PID: 8 at fs/buffer.c:1235 __invalidate_bh_lrus fs/buffer.c:1487 [inline]
WARNING: CPU: 0 PID: 8 at fs/buffer.c:1235 invalidate_bh_lrus_cpu+0x148/0x1e4 fs/buffer.c:1533
Modules linked in:
CPU: 0 PID: 8 Comm: kworker/0:1 Not tainted 6.9.0-rc3-syzkaller-gb5d2afe8745b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: mm_percpu_wq lru_add_drain_per_cpu
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __brelse fs/buffer.c:1235 [inline]
pc : brelse include/linux/buffer_head.h:309 [inline]
pc : __invalidate_bh_lrus fs/buffer.c:1487 [inline]
pc : invalidate_bh_lrus_cpu+0x148/0x1e4 fs/buffer.c:1533
lr : __brelse fs/buffer.c:1235 [inline]
lr : brelse include/linux/buffer_head.h:309 [inline]
lr : __invalidate_bh_lrus fs/buffer.c:1487 [inline]
lr : invalidate_bh_lrus_cpu+0x148/0x1e4 fs/buffer.c:1533
sp : ffff800093be7a90
x29: ffff800093be7a90 x28: ffff70001277cf80 x27: dfff800000000000
x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b3ddcfd0
x23: 0000000000000030 x22: dfff800000000000 x21: 0000000000000000
x20: ffff0000f41b7060 x19: ffff80008b0bba00 x18: 0000000000000008
x17: 0000000000000000 x16: ffff80008ae71340 x15: 0000000000000001
x14: 1fffe000367b9a02 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000002 x10: 0000000000ff0100 x9 : 44eb368bf82de400
x8 : 44eb368bf82de400 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800093be71f8 x4 : ffff80008ef65060 x3 : ffff8000805e9200
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
 __brelse fs/buffer.c:1235 [inline]
 brelse include/linux/buffer_head.h:309 [inline]
 __invalidate_bh_lrus fs/buffer.c:1487 [inline]
 invalidate_bh_lrus_cpu+0x148/0x1e4 fs/buffer.c:1533
 lru_add_and_bh_lrus_drain mm/swap.c:783 [inline]
 lru_add_drain_per_cpu+0x114/0x16c mm/swap.c:802
 process_one_work+0x7b8/0x15d4 kernel/workqueue.c:3254
 process_scheduled_works kernel/workqueue.c:3335 [inline]
 worker_thread+0x938/0xef4 kernel/workqueue.c:3416
 kthread+0x288/0x310 kernel/kthread.c:388
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
irq event stamp: 888246
hardirqs last  enabled at (888245): [<ffff80008af64ff8>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
hardirqs last  enabled at (888245): [<ffff80008af64ff8>] _raw_spin_unlock_irq+0x30/0x80 kernel/locking/spinlock.c:202
hardirqs last disabled at (888246): [<ffff800080c32b78>] invalidate_bh_lrus_cpu+0x40/0x1e4 fs/buffer.c:1531
softirqs last  enabled at (888238): [<ffff8000800218e4>] softirq_handle_end kernel/softirq.c:400 [inline]
softirqs last  enabled at (888238): [<ffff8000800218e4>] __do_softirq+0xb10/0xd2c kernel/softirq.c:583
softirqs last disabled at (888211): [<ffff80008002ad34>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81
---[ end trace 0000000000000000 ]---
kernel write not supported for file /input/mice (pid: 8 comm: kworker/0:1)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/14 15:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in invalidate_bh_lrus_cpu
* Struck through repros no longer work on HEAD.