syzbot


WARNING in get_pat_info

Status: upstream: reported on 2024/09/08 00:06
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+16b1da89309a06cd0e3a@syzkaller.appspotmail.com
First crash: 12d, last: 12d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in get_pat_info 0 (1) 2024/09/08 00:06

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7739 at include/linux/rwsem.h:195 rwsem_assert_held include/linux/rwsem.h:195 [inline]
WARNING: CPU: 1 PID: 7739 at include/linux/rwsem.h:195 mmap_assert_locked include/linux/mmap_lock.h:65 [inline]
WARNING: CPU: 1 PID: 7739 at include/linux/rwsem.h:195 follow_pte+0x414/0x4c0 mm/memory.c:6133
Modules linked in:
CPU: 1 UID: 0 PID: 7739 Comm: syz.1.945 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
R13: ffffc90004cff530 R14: ffffc90004cff550 R15: ffff88801e6e2600
FS:  00007f7831aab6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c379ecd CR3: 000000002ad46000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 follow_phys arch/x86/mm/pat/memtype.c:957 [inline]
 get_pat_info+0xf2/0x510 arch/x86/mm/pat/memtype.c:991
 unmap_mapping_range_vma mm/memory.c:3734 [inline]
 unmap_mapping_range_tree mm/memory.c:3751 [inline]
 unmap_mapping_pages mm/memory.c:3817 [inline]
 unmap_mapping_range+0x1ee/0x280 mm/memory.c:3854
RIP: 0033:0x7f7830d79eb9
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:00007f7831aab038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f7830f15f80 RCX: 00007f7830d79eb9
RDX: 0000000000000300 RSI: 0000000020000080 RDI: ffffffffffffff9c
RBP: 00007f7830de793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7830f15f80 R15: 00007ffd316c3c28
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/03 20:24 upstream 67784a74e258 512328ba .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in get_pat_info
* Struck through repros no longer work on HEAD.