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: 288d, last: 14h19m
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:
 search_binary_handler fs/exec.c:1738 [inline]
 exec_binprm fs/exec.c:1779 [inline]
 bprm_execve+0x8fd/0x17c0 fs/exec.c:1848
 do_execveat_common+0x583/0x720 fs/exec.c:1953
 do_execve fs/exec.c:2023 [inline]
 __do_sys_execve fs/exec.c:2099 [inline]
 __se_sys_execve fs/exec.c:2094 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2094
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 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: 0 PID: 3500 Comm: syz-executor181 Not tainted 5.15.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:unaccount_page_cache_page+0x79d/0x8b0 mm/filemap.c:166
Code: e8 28 7f d8 ff 4c 89 f7 48 c7 c6 20 14 93 8a e8 39 c8 0e 00 0f 0b e8 12 7f d8 ff 4c 89 f7 48 c7 c6 60 14 93 8a e8 23 c8 0e 00 <0f> 0b 48 85 ed 75 62 e8 f7 7e d8 ff 4c 89 eb eb 60 e8 ed 7e d8 ff
RSP: 0018:ffffc900011df6d0 EFLAGS: 00010046
RAX: 3c846f8db987a900 RBX: 0000000000000000 RCX: ffff888071eb9dc0
RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff
RBP: 0000000000000000 R08: ffffffff81d0ed44 R09: ffffed1017344f24
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd4000290e01
R13: ffffea0001487008 R14: ffffea0001487000 R15: dffffc0000000000
FS:  0000555556953380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f40204140d0 CR3: 0000000070123000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __delete_from_page_cache+0xd1/0x860 mm/filemap.c:231
 delete_from_page_cache+0x126/0x190 mm/filemap.c:266
 truncate_inode_page+0x8d/0xb0 mm/truncate.c:219
 shmem_undo_range+0x535/0x1b50 mm/shmem.c:960
 shmem_truncate_range mm/shmem.c:1063 [inline]
 shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145
 evict+0x2a4/0x620 fs/inode.c:587
 __dentry_kill+0x436/0x650 fs/dcache.c:582
 dentry_kill+0xbb/0x290
 dput+0xd8/0x1a0 fs/dcache.c:889
 __fput+0x5ec/0x890 fs/file_table.c:288
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 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:0x7f402039c0e0
Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d a1 8f 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c
RSP: 002b:00007fff66f6ad48 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f402039c0e0
RDX: 000000000100000e RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000000f4240 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000028011 R11: 0000000000000202 R12: 00007f40204105f0
R13: 00007fff66f6af88 R14: 00007fff66f6ad70 R15: 00007fff66f6ad60
 </TASK>
Modules linked in:
---[ end trace 700921cbd8f63ed0 ]---
RIP: 0010:unaccount_page_cache_page+0x79d/0x8b0 mm/filemap.c:166
Code: e8 28 7f d8 ff 4c 89 f7 48 c7 c6 20 14 93 8a e8 39 c8 0e 00 0f 0b e8 12 7f d8 ff 4c 89 f7 48 c7 c6 60 14 93 8a e8 23 c8 0e 00 <0f> 0b 48 85 ed 75 62 e8 f7 7e d8 ff 4c 89 eb eb 60 e8 ed 7e d8 ff
RSP: 0018:ffffc900011df6d0 EFLAGS: 00010046
RAX: 3c846f8db987a900 RBX: 0000000000000000 RCX: ffff888071eb9dc0
RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff
RBP: 0000000000000000 R08: ffffffff81d0ed44 R09: ffffed1017344f24
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd4000290e01
R13: ffffea0001487008 R14: ffffea0001487000 R15: dffffc0000000000
FS:  0000555556953380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f40204140d0 CR3: 0000000070123000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (91):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
2024/12/25 23:17 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/25 21:43 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/23 14:51 linux-5.15.y 91786f140358 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/21 23:33 linux-5.15.y 91786f140358 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/19 09:19 linux-5.15.y 963e654022cc 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/15 19:09 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/14 04:09 linux-5.15.y 0a51d2d4527b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/12 08:44 linux-5.15.y 0a51d2d4527b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/11 22:34 linux-5.15.y 0a51d2d4527b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/11 22:34 linux-5.15.y 0a51d2d4527b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/11 09:10 linux-5.15.y 0a51d2d4527b cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/10 20:36 linux-5.15.y 0a51d2d4527b cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/10 10:24 linux-5.15.y 0a51d2d4527b cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/08 01:16 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/07 00:44 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/06 00:40 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/06 00:40 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/02 22:33 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/02 22:32 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/01 16:06 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/01 16:06 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/01 16:04 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/01 16:04 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in unaccount_page_cache_page
2024/12/24 02:45 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/21 07:44 linux-5.15.y 91786f140358 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/20 16:57 linux-5.15.y 91786f140358 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/18 18:05 linux-5.15.y 963e654022cc a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/15 17:17 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/14 02:46 linux-5.15.y 0a51d2d4527b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/13 14:24 linux-5.15.y 0a51d2d4527b 3547e30f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/12 23:52 linux-5.15.y 0a51d2d4527b 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/11 21:34 linux-5.15.y 0a51d2d4527b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/11 19:37 linux-5.15.y 0a51d2d4527b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/07 23:45 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/06 17:41 linux-5.15.y 0a51d2d4527b 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/06 17:40 linux-5.15.y 0a51d2d4527b 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/05 16:26 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/05 16:26 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/04 08:55 linux-5.15.y 0a51d2d4527b b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/02 19:39 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/02 19:39 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/01 15:29 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in unaccount_page_cache_page
2024/12/01 15:29 linux-5.15.y 0a51d2d4527b 68914665 .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.