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: 528d, last: 3d19h
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 210 2d00h 472d 0/3 upstream: reported C repro on 2023/10/14 00:04
linux-5.15 WARNING in invalidate_bh_lru 2 656d 659d 0/3 auto-obsoleted due to no activity on 2023/08/11 11:15
linux-6.1 WARNING in invalidate_bh_lru 1 647d 647d 0/3 auto-obsoleted due to no activity on 2023/08/20 02:46
upstream WARNING in invalidate_bh_lru fs C done done 5163 1d20h 768d 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: 1 PID: 4165 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline]
WARNING: CPU: 1 PID: 4165 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline]
WARNING: CPU: 1 PID: 4165 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline]
WARNING: CPU: 1 PID: 4165 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407
Modules linked in:
CPU: 1 PID: 4165 Comm: udevd Not tainted 5.15.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 4c 61 e4 ff f0 ff 0b eb 21 e8 42 77 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 34 77 9a ff 48 c7 c7 a0 6f b7 8a e8 c8 10 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:ffffc90002dafa88 EFLAGS: 00010046
RAX: 68c16f7ec4e3fe00 RBX: ffff88806f097148 RCX: ffff888073c5bb80
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8166aa8c R09: ffffed10171e4f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f36538
R13: 0000000000000000 R14: 1ffff110171e6ca7 R15: ffff8880b8f36538
FS:  00007fa06c234c80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd02b38fb8 CR3: 0000000020278000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 smp_call_function_many_cond+0x8fa/0xd90 kernel/smp.c:960
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135
 kill_bdev block/bdev.c:76 [inline]
 blkdev_flush_mapping+0x178/0x340 block/bdev.c:659
 blkdev_put_whole block/bdev.c:690 [inline]
 blkdev_put+0x4f1/0x790 block/bdev.c:954
 blkdev_close+0x7c/0xa0 block/fops.c:475
 __fput+0x3fe/0x8e0 fs/file_table.c:280
 task_work_run+0x129/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa06c3600a8
Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd02b3a978 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007fa06c234ae0 RCX: 00007fa06c3600a8
RDX: 000056348de3b2f7 RSI: 00007ffd02b3a178 RDI: 0000000000000008
RBP: 00005631eefd56e0 R08: 0000000000000006 R09: 773fc404fa6f0d2e
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002
R13: 00005631eefc6a50 R14: 0000000000000008 R15: 00005631eefb5910
 </TASK>

Crashes (192):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/25 03:52 linux-5.15.y 003148680b79 1293872d .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/12/29 06:49 linux-5.15.y 91786f140358 d3ccff63 .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/12/23 03:32 linux-5.15.y 91786f140358 b4fbdbd4 .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/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
2025/01/25 03:35 linux-5.15.y 003148680b79 1293872d .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
2025/01/17 02:39 linux-5.15.y 4735586da88e f9e07a6e .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/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
2025/01/17 11:00 linux-5.15.y 4735586da88e f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2025/01/13 19:25 linux-5.15.y 4735586da88e 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2025/01/13 19:25 linux-5.15.y 4735586da88e 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2025/01/11 05:45 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2025/01/09 01:00 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2025/01/01 15:00 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/12/29 06:06 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/12/26 08:14 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/12/25 05:31 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in invalidate_bh_lru
2024/12/22 21:26 linux-5.15.y 91786f140358 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan 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
2025/01/25 03:03 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/17 02:37 linux-5.15.y 4735586da88e f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/08 22:36 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in invalidate_bh_lru
2024/12/20 00:31 linux-5.15.y 91786f140358 5905cb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 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.