syzbot


WARNING in mbind_range

Status: fixed on 2023/06/08 14:41
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+502859d610c661e56545@syzkaller.appspotmail.com
Fix commit: 17dc622c7b0f maple_tree: fix mas_prev() and mas_find() state handling
First crash: 412d, last: 412d
Cause bisection: failed (error log, bisect log)
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 6.1 00/14] Backport of maple tree fixes for 6.1/6.2 42 (42) 2023/04/12 08:13
[PATCH v4 00/49] VMA tree type safety and remove __vma_adjust() 55 (55) 2023/02/23 02:12
[PATCH v3 00/48] VMA tree type safety and remove __vma_adjust() 55 (55) 2023/01/19 18:55
[PATCH] maple_tree: Fix mas_prev() and mas_find() state handling 1 (1) 2023/01/10 18:18
[syzbot] WARNING in mbind_range 2 (4) 2023/01/10 15:22

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5072 at mm/mempolicy.c:797 mbind_range+0x5d2/0x760 mm/mempolicy.c:797
Modules linked in:
CPU: 0 PID: 5072 Comm: syz-executor326 Not tainted 6.2.0-rc3-next-20230109-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:mbind_range+0x5d2/0x760 mm/mempolicy.c:797
Code: 96 e8 f2 c7 b4 ff 4d 85 e4 74 8c e8 e8 c7 b4 ff 4c 89 e7 e8 10 7d ff ff e9 7a ff ff ff 45 31 f6 e9 72 ff ff ff e8 ce c7 b4 ff <0f> 0b 45 31 f6 e9 63 ff ff ff e8 bf ae 02 00 e9 6d fc ff ff 4c 89
RSP: 0018:ffffc90003c9fca8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88807aa0ec00 RCX: 0000000000000000
RDX: ffff888022cad7c0 RSI: ffffffff81cce582 RDI: ffffc90003c9fd20
RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000020c12000
R13: 0000000000000000 R14: 0000000020012000 R15: 0000000000000000
FS:  00005555556a1300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fba95ca5fb8 CR3: 0000000026945000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_mbind mm/mempolicy.c:1320 [inline]
 kernel_mbind+0x473/0x7c0 mm/mempolicy.c:1474
 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:0x7fba95c5eae9
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe65f13508 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fba95c5eae9
RDX: 0000000000000000 RSI: 0000000000c00000 RDI: 0000000020012000
RBP: 00007fba95c22c90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba95c22d20
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 14:15 linux-next 543b9b2fe10b 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mbind_range
2023/01/09 08:40 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mbind_range
2023/01/09 06:00 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mbind_range
* Struck through repros no longer work on HEAD.