syzbot


kernel BUG in unaccount_page_cache_page

Status: upstream: reported C repro on 2024/03/13 09:58
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6c76736fd94bfa80a8d0@syzkaller.appspotmail.com
First crash: 535d, last: 2h27m
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/05/12 upstream (ToT) cf87f46fd34d C [report] kernel BUG in filemap_unaccount_folio
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/10/02 09:47 14m retest repro linux-5.15.y report log
2024/10/02 09:47 1h21m retest repro linux-5.15.y report log
2024/10/02 09:47 1h16m retest repro linux-5.15.y report log
2024/10/02 09:47 14m retest repro linux-5.15.y report log

Sample crash report:
 do_group_exit+0x12e/0x300 kernel/exit.c:997
 __do_sys_exit_group kernel/exit.c:1008 [inline]
 __se_sys_exit_group kernel/exit.c:1006 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1006
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
------------[ cut here ]------------
kernel BUG at mm/filemap.c:166!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4353 Comm: syz.0.17 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166
Code: e8 e9 70 db ff 4c 89 f7 48 c7 c6 e0 e4 12 8a e8 aa db 0d 00 0f 0b e8 d3 70 db ff 4c 89 f7 48 c7 c6 20 e5 12 8a e8 94 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 b8 70 db ff eb 5d e8 b1 70 db ff 4c 89 f7
RSP: 0018:ffffc9000334f688 EFLAGS: 00010046
RAX: 3749e65dd1ec9600 RBX: 0000000000000000 RCX: ffff888023001dc0
RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff
RBP: 1ffffd400034d7d9 R08: dffffc0000000000 R09: ffffed1017224f24
R10: ffffed1017224f24 R11: 1ffff11017224f23 R12: ffffea0001a6bec0
R13: dffffc0000000000 R14: ffffea0001a6bec0 R15: ffffea0001a6bec8
FS:  000055556c3f9500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000280 CR3: 000000001e731000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __delete_from_page_cache+0xbf/0x6b0 mm/filemap.c:231
 delete_from_page_cache+0x121/0x190 mm/filemap.c:266
 truncate_inode_page+0x8d/0xb0 mm/truncate.c:219
 shmem_undo_range+0x49b/0x1840 mm/shmem.c:960
 shmem_truncate_range mm/shmem.c:1063 [inline]
 shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145
 evict+0x485/0x870 fs/inode.c:647
 __dentry_kill+0x431/0x650 fs/dcache.c:586
 dentry_kill+0xb8/0x290 fs/dcache.c:-1
 dput+0xd8/0x1a0 fs/dcache.c:893
 __fput+0x5ee/0x930 fs/file_table.c:319
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/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+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc157acebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd83c04038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000131c1 RCX: 00007fc157acebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000883c0432f
R10: 0000001b2fd20000 R11: 0000000000000246 R12: 00007fc157cf5fac
R13: 00007fc157cf5fa0 R14: ffffffffffffffff R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 9eea126791e88ec5 ]---
RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166
Code: e8 e9 70 db ff 4c 89 f7 48 c7 c6 e0 e4 12 8a e8 aa db 0d 00 0f 0b e8 d3 70 db ff 4c 89 f7 48 c7 c6 20 e5 12 8a e8 94 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 b8 70 db ff eb 5d e8 b1 70 db ff 4c 89 f7
RSP: 0018:ffffc9000334f688 EFLAGS: 00010046
RAX: 3749e65dd1ec9600 RBX: 0000000000000000 RCX: ffff888023001dc0
RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff
RBP: 1ffffd400034d7d9 R08: dffffc0000000000 R09: ffffed1017224f24
R10: ffffed1017224f24 R11: 1ffff11017224f23 R12: ffffea0001a6bec0
R13: dffffc0000000000 R14: ffffea0001a6bec0 R15: ffffea0001a6bec8
FS:  000055556c3f9500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000280 CR3: 000000001e731000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1163):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/21 11:11 linux-5.15.y c79648372d02 0b9605c8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/02/20 15:17 linux-5.15.y c16c81c81336 50668798 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/06/24 11:52 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/05/12 01:47 linux-5.15.y 284087d4f7d5 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/05/11 03:00 linux-5.15.y 3b8db0e4f263 77908e5f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/05/10 18:16 linux-5.15.y 3b8db0e4f263 77908e5f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/04/17 01:32 linux-5.15.y f7347f400572 a95239b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/04/14 16:26 linux-5.15.y f7347f400572 0bd6db41 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/11/11 20:43 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/03/17 14:10 linux-5.15.y b95c01af2113 d615901c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/03/13 09:58 linux-5.15.y 574362648507 db5b7ff0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/30 20:51 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/29 20:45 linux-5.15.y 01879f56bdde 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/28 13:48 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/28 00:58 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/26 05:34 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/26 02:03 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/25 22:44 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/24 23:35 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/24 22:06 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/24 13:45 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/23 17:16 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/22 01:16 linux-5.15.y c79648372d02 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/21 10:20 linux-5.15.y c79648372d02 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/21 10:16 linux-5.15.y c79648372d02 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/18 20:07 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/17 08:14 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/17 03:50 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/16 16:01 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/16 07:01 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/15 17:08 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/14 22:05 linux-5.15.y c79648372d02 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/13 20:33 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/13 20:31 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/10 20:32 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/09 22:14 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/09 00:19 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/08 21:02 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/07 19:32 linux-5.15.y c79648372d02 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/07 08:50 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/07 08:08 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/06 05:39 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2025/08/28 16:01 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/27 06:08 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/25 03:31 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/24 10:22 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/24 07:48 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/23 20:31 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/22 17:17 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/16 02:27 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/15 11:17 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/14 08:42 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/09 20:26 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/07 15:33 linux-5.15.y c79648372d02 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2025/08/07 04:33 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
* Struck through repros no longer work on HEAD.