syzbot


WARNING in track_pfn_remap

Status: auto-obsoleted due to no activity on 2023/08/21 12:50
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+1e407db5a3bf19236f09@syzkaller.appspotmail.com
First crash: 419d, last: 374d
Cause bisection: introduced by (bisect log) :
commit 4406ea87ff2003e2c233c208ca7e23d90f6a6fba
Author: buddy.zhang <buddy.zhang@biscuitos.cn>
Date: Sun Mar 19 03:37:50 2023 +0000

  mm: keep memory type same on DEVMEM Page-Fault

Crash: WARNING in track_pfn_remap (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in track_pfn_remap 0 (1) 2023/05/02 17:02
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/21 12:26 23m retest repro linux-next OK log

Sample crash report:
binder: 5004:5004 ioctl c0306201 20001480 returned -14
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline]
WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 __is_vma_write_locked include/linux/mm.h:708 [inline]
WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 vma_start_write include/linux/mm.h:722 [inline]
WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 vm_flags_set include/linux/mm.h:819 [inline]
WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 track_pfn_remap+0x3f4/0x4c0 arch/x86/mm/pat/memtype.c:1002
Modules linked in:
CPU: 0 PID: 5004 Comm: syz-executor151 Not tainted 6.3.0-next-20230428-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline]
RIP: 0010:__is_vma_write_locked include/linux/mm.h:708 [inline]
RIP: 0010:vma_start_write include/linux/mm.h:722 [inline]
RIP: 0010:vm_flags_set include/linux/mm.h:819 [inline]
RIP: 0010:track_pfn_remap+0x3f4/0x4c0 arch/x86/mm/pat/memtype.c:1002
Code: 9c 49 00 49 8d bc 24 68 01 00 00 31 f6 e8 e4 38 d4 08 31 ff 89 c3 89 c6 e8 a9 98 49 00 85 db 0f 85 31 fe ff ff e8 7c 9c 49 00 <0f> 0b e9 25 fe ff ff e8 70 9c 49 00 4c 89 e7 e8 68 0d 85 00 0f 0b
RSP: 0018:ffffc90003b7f590 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88802597bb80 RSI: ffffffff813ab144 RDI: 0000000000000005
RBP: ffff88802a296500 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000000b R12: ffff88807de14800
R13: 0000000000000000 R14: ffff88802a296510 R15: 0000000000001000
FS:  0000555555981300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000749ae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vm_insert_page+0x4a8/0x840 mm/memory.c:2020
 binder_update_page_range+0x2f7/0x1680 drivers/android/binder_alloc.c:260
 binder_alloc_new_buf_locked drivers/android/binder_alloc.c:487 [inline]
 binder_alloc_new_buf+0xd83/0x1d80 drivers/android/binder_alloc.c:571
 binder_transaction+0x242e/0x9800 drivers/android/binder.c:3207
 binder_thread_write drivers/android/binder.c:3991 [inline]
 binder_ioctl_write_read drivers/android/binder.c:5047 [inline]
 binder_ioctl+0x336f/0x9390 drivers/android/binder.c:5333
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc185f2d3c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdbd426028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc185f2d3c9
RDX: 0000000020000100 RSI: 00000000c0306201 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffdbd426070
R13: 00007ffdbd426060 R14: 00007ffdbd426050 R15: 0000000000000000
 </TASK>

Crashes (462):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/29 12:16 linux-next 92e815cf07ed 62df2017 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/12 11:37 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/11 03:02 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/10 22:25 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/10 19:16 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/10 07:03 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/10 05:06 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/09 22:58 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/09 21:08 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/09 12:26 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/09 03:20 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/08 23:38 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/08 22:43 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/07 20:51 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/06 18:08 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/06 14:16 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 16:05 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 14:40 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 13:38 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 12:39 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 09:09 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 06:23 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 04:17 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/05 02:04 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/04 17:32 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/04 03:07 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/03 22:46 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/03 19:47 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/06/01 13:28 linux-next 715abedee4cd babc4389 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/31 12:38 linux-next 715abedee4cd 09898419 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/31 07:31 linux-next 715abedee4cd 09898419 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/31 05:29 linux-next 715abedee4cd 09898419 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/30 17:59 linux-next 715abedee4cd 8d5c7541 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/30 03:44 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/30 02:13 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/30 02:13 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/29 23:37 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/29 19:12 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/29 17:22 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/29 11:08 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/29 08:02 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/28 10:28 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
2023/05/27 14:10 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in track_pfn_remap
* Struck through repros no longer work on HEAD.