syzbot


WARNING in invalidate_bh_lru (2)

Status: upstream: reported C repro on 2023/10/14 00:04
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+af4e12eac13350853897@syzkaller.appspotmail.com
First crash: 472d, last: 1d03h
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]
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in invalidate_bh_lru (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/10/14 linux-6.1.y (ToT) 082280fe94a0 C [report] WARNING in invalidate_bh_lru
2023/10/14 upstream (ToT) 8cb1f10d8c4b C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in invalidate_bh_lru 2 655d 658d 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 192 2d22h 527d 0/3 upstream: reported C repro on 2023/08/19 22:31
linux-6.1 WARNING in invalidate_bh_lru 1 646d 646d 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 23h57m 767d 0/28 upstream: reported C repro on 2022/12/22 02:57
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/12/08 06:58 6h03m fix candidate upstream OK (1) job log
2023/11/23 11:17 1h05m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
VFS: Found a Xenix FS (block size = 1024) on device loop0
Bad inode number on dev loop0: 2 is out of range
SysV FS: get root inode failed
oldfs: cannot read superblock
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 4246 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 4246 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 4246 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline]
WARNING: CPU: 0 PID: 4246 at fs/buffer.c:1145 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1393
Modules linked in:
CPU: 0 PID: 4246 Comm: syz-executor137 Not tainted 6.1.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__brelse fs/buffer.c:1145 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:326 [inline]
RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1380 [inline]
RIP: 0010:invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1393
Code: 00 e8 ec 8d e0 ff f0 ff 0b eb 21 e8 22 f6 88 ff 41 80 3c 2e 00 75 26 eb 2c e8 14 f6 88 ff 48 c7 c7 e0 11 1a 8b e8 c8 0f 51 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:ffffc90003ba7768 EFLAGS: 00010046
RAX: 682b8afc138b3d00 RBX: ffff88806d8c6060 RCX: ffff88801fe50000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8152b84e R09: ffffed10171c4f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8e368f8
R13: 0000000000000000 R14: 1ffff110171c6d1f R15: ffff8880b8e368f8
FS:  0000555560c9c380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562f9d0e3758 CR3: 0000000029186000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 smp_call_function_many_cond+0x1d26/0x3460 kernel/smp.c:989
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166
 kill_bdev block/bdev.c:75 [inline]
 blkdev_flush_mapping+0x14a/0x2b0 block/bdev.c:664
 blkdev_put_whole block/bdev.c:695 [inline]
 blkdev_put+0x4c0/0x750 block/bdev.c:955
 deactivate_locked_super+0xa0/0x110 fs/super.c:332
 mount_bdev+0x2e5/0x3f0 fs/super.c:1445
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:632
 vfs_get_tree+0x88/0x270 fs/super.c:1573
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3056
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f713d70e8ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 ee 08 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd4c1708e8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffd4c170900 RCX: 00007f713d70e8ca
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd4c170900
RBP: 0000000000000004 R08: 00007ffd4c170940 R09: 0000000000009eaf
R10: 0000000002000412 R11: 0000000000000282 R12: 0000000002000412
R13: 00007ffd4c170940 R14: 0000000000000003 R15: 0000000000010000
 </TASK>

Crashes (210):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/11 08:51 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/22 14:47 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2023/10/14 04:24 linux-6.1.y 082280fe94a0 f757a323 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/04/30 10:35 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/27 12:06 linux-6.1.y 6741e066ec76 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/24 15:32 linux-6.1.y 6741e066ec76 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/18 12:08 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/16 20:22 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/16 11:04 linux-6.1.y cd5d98c0556c 0d592ce4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/03/03 15:32 linux-6.1.y a3eb3a74aa8c 25905f5d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/02/13 22:07 linux-6.1.y f1bb70486c9c e66542d7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2023/12/11 03:35 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/26 22:41 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2025/01/25 12:27 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2025/01/13 19:36 linux-6.1.y c63962be84ef 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2025/01/11 06:39 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2025/01/01 12:38 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/31 02:25 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/30 03:04 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/29 05:08 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/26 09:26 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/25 03:34 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/25 03:34 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/12/22 21:35 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/30 19:23 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/22 14:29 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/20 04:41 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/18 04:02 linux-6.1.y b67dc5c9ade9 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/11/06 14:35 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/10/21 00:28 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/07/12 14:40 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2024/06/13 12:54 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2023/10/14 00:04 linux-6.1.y 082280fe94a0 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in invalidate_bh_lru
2025/01/25 03:47 linux-6.1.y 75cefdf153f5 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/17 03:12 linux-6.1.y c63962be84ef f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/17 01:39 linux-6.1.y c63962be84ef f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2025/01/08 22:40 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/12/29 20:19 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/12/22 19:07 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/12/20 02:58 linux-6.1.y 29f02ec58a94 5905cb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/12/09 00:55 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/30 13:52 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/22 12:07 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/22 12:05 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/20 01:54 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/06 10:04 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/11/05 09:33 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/25 11:13 linux-6.1.y 7ec6f9fa3d97 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/19 17:19 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/10/01 08:26 linux-6.1.y aa4cd140bba5 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/03 02:09 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/02 22:35 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/02 17:43 linux-6.1.y 909ba1f1b414 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/02 15:22 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/02 11:49 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/02 10:38 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/01 09:05 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/01 04:31 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/05/01 02:00 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in invalidate_bh_lru
2024/04/30 15:33 linux-6.1.y dcbc050cb0d3 3ce4924c .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.