syzbot


kernel BUG in mapping_try_invalidate (2)

Status: upstream: reported on 2026/03/05 20:02
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+bdad05f2e28a336132a6@syzkaller.appspotmail.com
First crash: 46d, last: 31d
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision Error
d88fcbcf-e4a3-498c-8eb3-262022631a5e repro 💥 kernel BUG in mapping_try_invalidate (2) 2026/03/26 09:57 2026/03/26 09:57 2026/03/26 09:57 c6143aacd8e1a01f2482ab5eec709f9949710cee tool reproduce-crash failed: error: 0 params found, expected 14 <= x <= 16 args: map[ReproSyz:r0 = openat$nullb(0xffffffffffffff9c, &AUTO='/dev/nullb0\x00', 0x2, 0x0) mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x11, r0, 0x0) madvise(&(0x7f0000000000/0x200000)=nil, 0x200000, 0xe) read(r0, &(0x7f0000200000/0x200000)=nil, 0x200000) ioctl$BLKFLSBUF(r0, 0x1261, 0x0) (async) fallocate(r0, 0x3, 0x1000, 0x1000)]
5bf5d575-0b65-4177-828c-2ebb55386ba9 repro 💥 kernel BUG in mapping_try_invalidate (2) 2026/03/24 20:18 2026/03/24 20:18 2026/03/24 20:50 b4723e5f74ba22106ffa2bcc9bd0e1eb3f7c962f tool reproduce-crash failed: error: 0 params found, expected 14 <= x <= 16 args: map[ReproSyz:r0 = openat$nullb(0xffffffffffffff9c, &AUTO='/dev/nullb0\x00', 0x2, 0x0) mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x11, r0, 0x0) madvise(&(0x7f0000000000/0x200000)=nil, 0x200000, 0xe) read(r0, &(0x7f0000200000/0x200000)=nil, 0x200000) ioctl$BLKFLSBUF(r0, 0x1261, 0x0) (async) fallocate(r0, 0x3, 0x1000, 0x1000)]
1c8289ad-b0c9-46b7-9f9c-3c21f1d11df7 repro 💥 kernel BUG in mapping_try_invalidate (2) 2026/03/24 12:08 2026/03/24 12:18 2026/03/24 20:18 971831e4896625f799f350fe4439dc0774b7154a+ Aborted: assigned agent has been inactive for too long
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] kernel BUG in mapping_try_invalidate (2) 0 (1) 2026/03/05 20:02
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in mapping_try_invalidate block -1 1 800d 800d 0/29 auto-obsoleted due to no activity on 2024/05/17 02:37

Sample crash report:
 smpboot_thread_fn+0x541/0xa50 kernel/smpboot.c:160
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
------------[ cut here ]------------
kernel BUG at mm/filemap.c:2190!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 12084 Comm: syz.2.828 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:find_lock_entries+0xa8a/0xa90 mm/filemap.c:2189
Code: 8b 7c 24 18 48 c7 c6 c0 d1 57 8b e8 c0 0a 28 ff 90 0f 0b e8 d8 bf c4 ff 48 8b 7c 24 18 48 c7 c6 60 ca 57 8b e8 a7 0a 28 ff 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000541f5a0 EFLAGS: 00010246
RAX: ffaf7ee9e89d7200 RBX: ffffc9000541f9e0 RCX: 0000000000000046
RDX: 0000000000000002 RSI: ffffffff8d7bd351 RDI: ffff88802b2e1e80
RBP: ffffc9000541f6f0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1017104923 R12: ffffea000169fc00
R13: 0000000000000fce R14: 0000000000000000 R15: 0000000000000001
FS:  00007fbcede566c0(0000) GS:ffff88812633c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac30a83e9c CR3: 000000003850c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 mapping_try_invalidate+0x1ae/0x4c0 mm/truncate.c:545
 open_ctree+0x9bf/0x4220 fs/btrfs/disk-io.c:3317
 btrfs_fill_super fs/btrfs/super.c:981 [inline]
 btrfs_get_tree_super fs/btrfs/super.c:1944 [inline]
 btrfs_get_tree_subvol fs/btrfs/super.c:2087 [inline]
 btrfs_get_tree+0x1061/0x1930 fs/btrfs/super.c:2121
 vfs_get_tree+0x92/0x2a0 fs/super.c:1754
 fc_mount fs/namespace.c:1193 [inline]
 do_new_mount_fc fs/namespace.c:3763 [inline]
 do_new_mount+0x341/0xd30 fs/namespace.c:3839
 do_mount fs/namespace.c:4172 [inline]
 __do_sys_mount fs/namespace.c:4361 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4338
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbcefbfda0a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbcede55e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fbcede55ee0 RCX: 00007fbcefbfda0a
RDX: 0000200000000000 RSI: 00002000000015c0 RDI: 00007fbcede55ea0
RBP: 0000200000000000 R08: 00007fbcede55ee0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000015c0
R13: 00007fbcede55ea0 R14: 000000000000559e R15: 0000200000001600
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:find_lock_entries+0xa8a/0xa90 mm/filemap.c:2189
Code: 8b 7c 24 18 48 c7 c6 c0 d1 57 8b e8 c0 0a 28 ff 90 0f 0b e8 d8 bf c4 ff 48 8b 7c 24 18 48 c7 c6 60 ca 57 8b e8 a7 0a 28 ff 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000541f5a0 EFLAGS: 00010246
RAX: ffaf7ee9e89d7200 RBX: ffffc9000541f9e0 RCX: 0000000000000046
RDX: 0000000000000002 RSI: ffffffff8d7bd351 RDI: ffff88802b2e1e80
RBP: ffffc9000541f6f0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1017104923 R12: ffffea000169fc00
R13: 0000000000000fce R14: 0000000000000000 R15: 0000000000000001
FS:  00007fbcede566c0(0000) GS:ffff88812633c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac30a83e9c CR3: 000000003850c000 CR4: 00000000003526f0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/17 06:28 upstream 2d1373e4246d 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in mapping_try_invalidate
2026/03/01 19:53 upstream eb71ab2bf722 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in mapping_try_invalidate
* Struck through repros no longer work on HEAD.