syzbot


kernel BUG in vmf_insert_pfn

Status: upstream: reported C repro on 2024/02/21 10:19
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+e528195b78192cea6fdf@syzkaller.appspotmail.com
First crash: 118d, last: 36d
Bug presence (2)
Date Name Commit Repro Result
2024/02/21 linux-6.1.y (ToT) 8b4118fabd6e C [report] kernel BUG in vmf_insert_pfn
2024/02/21 upstream (ToT) 9fc1ccccfd8d C Didn't crash
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/02/22 05:06 1h17m fix candidate upstream job log (0)

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/memory.c:2230!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4222 Comm: syz-executor155 Not tainted 6.1.78-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : vmf_insert_pfn_prot mm/memory.c:2230 [inline]
pc : vmf_insert_pfn+0x1a0/0x1ac mm/memory.c:2269
lr : vmf_insert_pfn_prot mm/memory.c:2230 [inline]
lr : vmf_insert_pfn+0x1a0/0x1ac mm/memory.c:2269
sp : ffff80001dc473e0
x29: ffff80001dc473e0 x28: ffff0000d5ac3780 x27: ffff0000cded8000
x26: 0000000010000400 x25: 0000000004040475 x24: dfff800000000000
x23: 0000000000000420 x22: 0020000000000fc3 x21: 000000000010d205
x20: ffff0000ca5fe1b0 x19: 0000000020002000 x18: ffff80001dc46f60
x17: ffff8000188c9000 x16: ffff80000825f234 x15: 0000000000000000
x14: 0000000010000400 x13: ffff0000d5ac3780 x12: 0000000000ff0100
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000885127c
x8 : ffff0000d5ac3780 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000189f4938 x4 : 0000000000000002 x3 : ffff8000082faf98
x2 : 000000000010d205 x1 : 0000000000000420 x0 : 0000000000000420
Call trace:
 vmf_insert_pfn_prot mm/memory.c:2230 [inline]
 vmf_insert_pfn+0x1a0/0x1ac mm/memory.c:2269
 drm_gem_shmem_fault+0x1ac/0x21c drivers/gpu/drm/drm_gem_shmem_helper.c:562
 __do_fault+0x11c/0x3d8 mm/memory.c:4241
 do_read_fault mm/memory.c:4592 [inline]
 do_fault mm/memory.c:4721 [inline]
 handle_pte_fault mm/memory.c:4993 [inline]
 __handle_mm_fault mm/memory.c:5135 [inline]
 handle_mm_fault+0x1f90/0x3ef0 mm/memory.c:5256
 __do_page_fault arch/arm64/mm/fault.c:499 [inline]
 do_page_fault+0x330/0x890 arch/arm64/mm/fault.c:583
 do_translation_fault+0x94/0xc8 arch/arm64/mm/fault.c:667
 do_mem_abort+0x74/0x200 arch/arm64/mm/fault.c:803
 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:367
 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:427
 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:580
 __arch_copy_from_user+0x94/0x230 arch/arm64/lib/copy_template.S:91
 fb_ioctl+0xec/0x134 drivers/video/fbdev/core/fbmem.c:1204
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: d4210000 97f29ead d4210000 97f29eab (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/21 11:31 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/05/13 18:29 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/05/05 21:24 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/05/05 20:34 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/04/18 16:23 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/04/08 00:29 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/04/07 15:14 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/04/04 17:22 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/04/04 11:59 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/03/30 10:37 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/03/29 00:32 linux-6.1.y e5cd595e23c1 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/03/27 14:33 linux-6.1.y e5cd595e23c1 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/03/25 08:38 linux-6.1.y d7543167affd 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/03/19 18:38 linux-6.1.y d7543167affd e104824c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:42 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:41 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:39 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:38 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:38 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:38 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:35 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:35 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:35 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 11:34 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 10:38 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 10:34 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
2024/02/21 10:18 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in vmf_insert_pfn
* Struck through repros no longer work on HEAD.