syzbot


WARNING in unmap_page_range

Status: auto-obsoleted due to no activity on 2023/06/09 19:48
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+78c74557d14e8d51e013@syzkaller.appspotmail.com
First crash: 403d, last: 403d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in unmap_page_range 0 (1) 2023/04/14 19:56
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in unmap_page_range (3) mm C 169 50d 60d 0/26 upstream: reported C repro on 2024/03/19 10:43
upstream WARNING in unmap_page_range (2) mm C done 2112 158d 185d 25/26 fixed on 2024/01/20 21:18

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 24899 at mm/memory.c:1491 zap_pte_range mm/memory.c:1491 [inline]
WARNING: CPU: 1 PID: 24899 at mm/memory.c:1491 zap_pmd_range mm/memory.c:1564 [inline]
WARNING: CPU: 1 PID: 24899 at mm/memory.c:1491 zap_pud_range mm/memory.c:1593 [inline]
WARNING: CPU: 1 PID: 24899 at mm/memory.c:1491 zap_p4d_range mm/memory.c:1614 [inline]
WARNING: CPU: 1 PID: 24899 at mm/memory.c:1491 unmap_page_range+0x1c07/0x39b0 mm/memory.c:1635
Modules linked in:
CPU: 1 PID: 24899 Comm: syz-executor.0 Not tainted 6.3.0-rc5-next-20230406-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:zap_pte_range mm/memory.c:1491 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1564 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1593 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1614 [inline]
RIP: 0010:unmap_page_range+0x1c07/0x39b0 mm/memory.c:1635
Code: 83 fb 02 0f 86 ff 0c 00 00 e8 85 4b c2 ff 44 89 e6 bf 1f 00 00 00 e8 98 47 c2 ff 41 83 fc 1f 0f 84 38 0e 00 00 e8 69 4b c2 ff <0f> 0b e9 da ef ff ff e8 5d 4b c2 ff 4c 89 e5 31 ff 4c 89 e3 81 e5
RSP: 0018:ffffc90004ef76f8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000000000
RDX: ffff8880829f0000 RSI: ffffffff81c10c67 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000001f
R13: 0000000020679000 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33523000 CR3: 000000007b6c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 unmap_single_vma+0x19a/0x2b0 mm/memory.c:1681
 unmap_vmas+0x234/0x380 mm/memory.c:1720
 exit_mmap+0x190/0x930 mm/mmap.c:3063
 __mmput+0x13a/0x540 kernel/fork.c:1344
 mmput+0x60/0x70 kernel/fork.c:1366
 exit_mm kernel/exit.c:564 [inline]
 do_exit+0x9d7/0x29f0 kernel/exit.c:858
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021
 get_signal+0x2315/0x25b0 kernel/signal.c:2859
 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:307
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f80caa8c169
Code: Unable to access opcode bytes at 0x7f80caa8c13f.
RSP: 002b:00007f80c95fe218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f80cababf88 RCX: 00007f80caa8c169
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f80cababf88
RBP: 00007f80cababf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f80cababf8c
R13: 00007ffc884fac6f R14: 00007f80c95fe300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/10 19:48 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in unmap_page_range
* Struck through repros no longer work on HEAD.