syzbot


WARNING in invalidate_bh_lru (2)

Status: upstream: reported C repro on 2023/08/19 22:31
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b76ff2dacb179537b4fc@syzkaller.appspotmail.com
First crash: 479d, last: 2d03h
Fix commit to backport (bisect log) :
tree: upstream
commit e9109a92d2a95889498bed3719cd2318892171a2
Author: Jan Kara <jack@suse.cz>
Date: Thu Oct 6 14:41:23 2022 +0000

  udf: Convert udf_rename() to new directory iteration code

[report pending]
  
Bug presence (2)
Date Name Commit Repro Result
2023/08/20 linux-5.15.y (ToT) f6f7927ac664 C [report] WARNING in invalidate_bh_lru
2023/08/20 upstream (ToT) 9e6c269de404 C Didn't crash
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 2d05h 424d 0/3 upstream: reported C repro on 2023/10/14 00:04
linux-5.15 WARNING in invalidate_bh_lru 2 607d 610d 0/3 auto-obsoleted due to no activity on 2023/08/11 11:15
linux-6.1 WARNING in invalidate_bh_lru 1 599d 599d 0/3 auto-obsoleted due to no activity on 2023/08/20 02:46
upstream WARNING in invalidate_bh_lru fs C done done 2404 23m 720d 0/28 upstream: reported C repro on 2022/12/22 02:57
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/10/15 00:46 0m retest repro linux-5.15.y error
2024/10/15 00:46 0m retest repro linux-5.15.y error
2024/10/14 23:45 0m retest repro linux-5.15.y error
2024/10/14 23:45 0m retest repro linux-5.15.y error
2024/10/14 23:45 0m retest repro linux-5.15.y error
2024/10/14 23:45 0m retest repro linux-5.15.y error
2024/10/14 23:45 0m retest repro linux-5.15.y error
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/08/29 23:13 5h01m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline]
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline]
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline]
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__brelse fs/buffer.c:1148 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:325 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1394 [inline]
RIP: 0010:invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407
Code: 00 e8 cc 60 e4 ff f0 ff 0b eb 21 e8 52 94 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 44 94 9a ff 48 c7 c7 a0 6b 97 8a e8 e8 2f 66 ff <0f> 0b 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c 89 ff
RSP: 0018:ffffc90000007f60 EFLAGS: 00010046
RAX: 9175ee875135ae00 RBX: ffff8880743c9888 RCX: ffffffff8c6bd5c0
RDX: 0000000000010000 RSI: 0000000080010002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81669a2c R09: fffff52000000f2d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9036538
R13: 0000000000000000 R14: 1ffff11017206ca7 R15: ffff8880b9036538
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055db031b4c88 CR3: 0000000020c07000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 flush_smp_call_function_queue+0x2b5/0x760 kernel/smp.c:628
 __sysvec_call_function_single+0x9a/0x250 arch/x86/kernel/smp.c:248
 instr_sysvec_call_function_single arch/x86/kernel/smp.c:243 [inline]
 sysvec_call_function_single+0x98/0xc0 arch/x86/kernel/smp.c:243
 </IRQ>
 <TASK>
 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:109 [inline]
RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:562
Code: c9 42 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 44 44 49 f7 0f 1f 44 00 00 e8 ea c5 42 f7 0f 00 2d 63 92 a5 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 1b 91 8c f7
RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3
RAX: ffffffff8a3dadd6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0
RDX: 0000000000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90480
RBP: ffffffff8c607c10 R08: ffffffff8186f240 R09: fffffbfff18d7ab9
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70
R13: ffff888141b84004 R14: ffffffff8c607ba0 R15: dffffc0000000000
 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:697
 cpuidle_enter_state+0x521/0xef0 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x3e4/0x670 kernel/sched/idle.c:306
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403
 start_kernel+0x48c/0x540 init/main.c:1140
 secondary_startup_64_no_verify+0xb1/0xbb
 </TASK>
----------------
Code disassembly (best guess):
   0:	c9                   	leave
   1:	42 f7 48 83 e3 08 0f 	rex.X testl $0x850f08e3,-0x7d(%rax)
   8:	85
   9:	0a 01                	or     (%rcx),%al
   b:	00 00                	add    %al,(%rax)
   d:	4c 8d 74 24 20       	lea    0x20(%rsp),%r14
  12:	e8 44 44 49 f7       	call   0xf749445b
  17:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  1c:	e8 ea c5 42 f7       	call   0xf742c60b
  21:	0f 00 2d 63 92 a5 00 	verw   0xa59263(%rip)        # 0xa5928b
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	4c 89 f3             	mov    %r14,%rbx <-- trapping instruction
  2d:	48 c1 eb 03          	shr    $0x3,%rbx
  31:	42 80 3c 3b 00       	cmpb   $0x0,(%rbx,%r15,1)
  36:	74 08                	je     0x40
  38:	4c 89 f7             	mov    %r14,%rdi
  3b:	e8 1b 91 8c f7       	call   0xf78c915b

Crashes (155):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/05 10:04 linux-5.15.y 72244eab0dad 509da429 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/08/02 11:56 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/08/02 10:54 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/08/02 09:59 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/07/12 15:18 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/07/12 10:18 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/14 07:59 linux-5.15.y c61bd26ae81a a9616ff5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2023/08/19 22:47 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/11/22 11:36 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/19 09:11 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/30 14:57 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/11/20 04:09 linux-5.15.y 0a51d2d4527b 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/11/17 09:39 linux-5.15.y d98fd109f827 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/11/06 12:35 linux-5.15.y 72244eab0dad 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/11/06 12:35 linux-5.15.y 72244eab0dad 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/10/25 10:49 linux-5.15.y 74cdd62cb470 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/10/19 21:58 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/09/30 03:14 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/07/16 01:33 linux-5.15.y f45bea23c39c e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/07/15 07:10 linux-5.15.y f45bea23c39c c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/07/12 11:37 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/18 11:59 linux-5.15.y 4878aadf2d15 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/18 11:58 linux-5.15.y 4878aadf2d15 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/18 04:56 linux-5.15.y 4878aadf2d15 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/17 21:35 linux-5.15.y 4878aadf2d15 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/17 16:13 linux-5.15.y 4878aadf2d15 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/17 16:10 linux-5.15.y 4878aadf2d15 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/17 01:19 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 23:35 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 19:29 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 19:29 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 13:47 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 09:05 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/16 01:33 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 21:34 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 21:33 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 21:33 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 21:33 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 18:12 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 18:11 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 18:11 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 08:18 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 08:18 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/06/15 05:52 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/12/09 02:55 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/22 11:25 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/20 00:27 linux-5.15.y 0a51d2d4527b 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/06 09:41 linux-5.15.y 72244eab0dad 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/05 09:47 linux-5.15.y 72244eab0dad 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/25 09:06 linux-5.15.y 74cdd62cb470 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/19 09:01 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/09/29 23:30 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/09/19 02:11 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/08/01 11:19 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2023/08/19 22:31 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
* Struck through repros no longer work on HEAD.