syzbot


WARNING in invalidate_bh_lru

Status: auto-obsoleted due to no activity on 2023/08/20 02:46
Reported-by: syzbot+256160229b785651f5e3@syzkaller.appspotmail.com
First crash: 600d, last: 600d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in invalidate_bh_lru (2) origin:lts-only C done 173 3d19h 425d 0/3 upstream: reported C repro on 2023/10/14 00:04
linux-5.15 WARNING in invalidate_bh_lru 2 609d 612d 0/3 auto-obsoleted due to no activity on 2023/08/11 11:15
linux-5.15 WARNING in invalidate_bh_lru (2) origin:lts-only C done 155 3d18h 480d 0/3 upstream: reported C repro on 2023/08/19 22:31
upstream WARNING in invalidate_bh_lru fs C done done 2602 12m 721d 0/28 upstream: reported C repro on 2022/12/22 02:57

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 3837 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 3837 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 3837 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline]
WARNING: CPU: 0 PID: 3837 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393
Modules linked in:
CPU: 0 PID: 3837 Comm: udevd Not tainted 6.1.25-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __brelse fs/buffer.c:1145 [inline]
pc : brelse include/linux/buffer_head.h:326 [inline]
pc : __invalidate_bh_lrus fs/buffer.c:1380 [inline]
pc : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393
lr : __brelse fs/buffer.c:1145 [inline]
lr : brelse include/linux/buffer_head.h:326 [inline]
lr : __invalidate_bh_lrus fs/buffer.c:1380 [inline]
lr : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393
sp : ffff800008007df0
x29: ffff800008007df0 x28: 0000000000000000 x27: 0000000000000000
x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b45c3a98
x23: 0000000000000000 x22: dfff800000000000 x21: 0000000000000000
x20: ffff000128e07888 x19: ffff8000122f00c0 x18: 1ffff000040c0e30
x17: 0000000000000000 x16: ffff8000120dc5fc x15: 0000000000000000
x14: 0000000000010003 x13: 0000000000000001 x12: 0000000000000001
x11: ff808000081ad698 x10: 0000000000010001 x9 : 015e41eefa446a00
x8 : 015e41eefa446a00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000080076d8 x4 : ffff800015662580 x3 : ffff80000858403c
x2 : 0000000000000001 x1 : 0000000100010001 x0 : 0000000000000000
Call trace:
 __brelse fs/buffer.c:1145 [inline]
 brelse include/linux/buffer_head.h:326 [inline]
 __invalidate_bh_lrus fs/buffer.c:1380 [inline]
 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393
 __flush_smp_call_function_queue+0x46c/0x1118 kernel/smp.c:630
 generic_smp_call_function_single_interrupt+0x28/0x16c kernel/smp.c:546
 do_handle_IPI arch/arm64/kernel/smp.c:876 [inline]
 ipi_handler+0x15c/0x86c arch/arm64/kernel/smp.c:922
 handle_percpu_devid_irq+0x174/0x354 kernel/irq/chip.c:930
 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
 handle_irq_desc kernel/irq/irqdesc.c:651 [inline]
 generic_handle_domain_irq+0x7c/0xc4 kernel/irq/irqdesc.c:707
 __gic_handle_irq drivers/irqchip/irq-gic-v3.c:695 [inline]
 __gic_handle_irq_from_irqson drivers/irqchip/irq-gic-v3.c:746 [inline]
 gic_handle_irq+0x70/0x1e4 drivers/irqchip/irq-gic-v3.c:790
 call_on_irq_stack+0x2c/0x54 arch/arm64/kernel/entry.S:889
 do_interrupt_handler+0xd4/0x138 arch/arm64/kernel/entry-common.c:274
 __el1_irq arch/arm64/kernel/entry-common.c:471 [inline]
 el1_interrupt+0x34/0x68 arch/arm64/kernel/entry-common.c:486
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 check_kcov_mode kernel/kcov.c:173 [inline]
 __sanitizer_cov_trace_pc+0x54/0x8c kernel/kcov.c:207
 tomoyo_check_acl+0x128/0x384 security/tomoyo/domain.c:175
 tomoyo_path_permission+0x170/0x2fc security/tomoyo/file.c:586
 tomoyo_check_open_permission+0x264/0x3f4 security/tomoyo/file.c:777
 tomoyo_file_open+0x130/0x19c security/tomoyo/tomoyo.c:320
 security_file_open+0x6c/0xb0 security/security.c:1649
 do_dentry_open+0x2a0/0xfa0 fs/open.c:869
 vfs_open+0x7c/0x90 fs/open.c:1013
 do_open fs/namei.c:3557 [inline]
 path_openat+0x1e14/0x2548 fs/namei.c:3714
 do_filp_open+0x1bc/0x3cc fs/namei.c:3741
 do_sys_openat2+0x128/0x3d8 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1337
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
irq event stamp: 2334230
hardirqs last  enabled at (2334229): [<ffff80000896928c>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242
hardirqs last disabled at (2334230): [<ffff8000120d83a4>] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline]
hardirqs last disabled at (2334230): [<ffff8000120d83a4>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486
softirqs last  enabled at (2333396): [<ffff800008032b74>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (2333394): [<ffff800008032b40>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/22 02:45 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
* Struck through repros no longer work on HEAD.