syzbot


WARNING in qp_broker_alloc

Status: fixed on 2021/04/09 19:46
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+15ec7391f3d6a1a7cc7d@syzkaller.appspotmail.com
Fix commit: 2fd10bcf0310 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
First crash: 1358d, last: 1318d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in qp_host_alloc_queue mm C inconclusive 108 1317d 1363d 0/28 closed as dup on 2021/02/04 11:41
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.19 000/247] 4.19.178-rc1 review 277 (277) 2022/03/02 15:52
[PATCH 5.10 000/663] 5.10.20-rc1 review 673 (673) 2021/03/05 18:03
[PATCH 5.4 000/340] 5.4.102-rc1 review 348 (348) 2021/03/04 09:26
[PATCH 4.4 00/93] 4.4.259-rc1 review 99 (99) 2021/03/02 19:02
[PATCH 4.9 000/134] 4.9.259-rc1 review 137 (137) 2021/03/01 21:45
[PATCH 5.11 000/775] 5.11.3-rc1 review 776 (776) 2021/03/01 16:15
[PATCH 4.14 000/176] 4.14.223-rc1 review 177 (177) 2021/03/01 16:14
[PATCH] drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue 8 (8) 2021/02/09 10:26
WARNING in qp_broker_alloc 0 (1) 2021/01/19 01:48
Last patch testing requests (2)
Created Duration User Patch Repo Result
2021/02/09 10:05 18m snovitoll@gmail.com https://linux.googlesource.com/linux/kernel/git/torvalds/linux refs/changes/56/8356/1 OK
2021/02/04 10:49 18m snovitoll@gmail.com https://linux.googlesource.com/linux/kernel/git/torvalds/linux refs/changes/76/8076/1 OK

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8466 at mm/page_alloc.c:4976 __alloc_pages_nodemask+0x4e5/0x5a0 mm/page_alloc.c:5020
Modules linked in:
CPU: 0 PID: 8466 Comm: syz-executor022 Not tainted 5.11.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__alloc_pages_nodemask+0x4e5/0x5a0 mm/page_alloc.c:5020
Code: aa 09 00 e9 dd fd ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c eb fd ff ff 4c 89 ef e8 54 aa 09 00 8b 74 24 18 e9 da fd ff ff <0f> 0b e9 f3 fd ff ff a9 00 00 08 00 75 16 8b 4c 24 1c 89 cb 81 e3
RSP: 0018:ffffc900011ff5e0 EFLAGS: 00010246
RAX: ffffc900011ff660 RBX: ffffc900011ff660 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900011ff688
RBP: ffffc900011ff708 R08: dffffc0000000000 R09: ffffc900011ff660
R10: fffff5200023fed1 R11: 0000000000000000 R12: dffffc0000000000
R13: 000000000000000c R14: 1ffff9200023fec8 R15: 0000000000040dc0
FS:  0000000000a3c880(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1d268a66c0 CR3: 000000001283c000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 alloc_pages include/linux/gfp.h:547 [inline]
 kmalloc_order+0x40/0x130 mm/slab_common.c:837
 kmalloc_order_trace+0x15/0x70 mm/slab_common.c:853
 kmalloc_large include/linux/slab.h:481 [inline]
 __kmalloc+0x257/0x330 mm/slub.c:3959
 kmalloc include/linux/slab.h:557 [inline]
 kzalloc include/linux/slab.h:682 [inline]
 qp_host_alloc_queue drivers/misc/vmw_vmci/vmci_queue_pair.c:540 [inline]
 qp_broker_create drivers/misc/vmw_vmci/vmci_queue_pair.c:1351 [inline]
 qp_broker_alloc+0x936/0x2740 drivers/misc/vmw_vmci/vmci_queue_pair.c:1739
 vmci_qp_broker_alloc+0x46/0x60 drivers/misc/vmw_vmci/vmci_queue_pair.c:1932
 vmci_host_do_alloc_queuepair drivers/misc/vmw_vmci/vmci_host.c:463 [inline]
 vmci_host_unlocked_ioctl+0x114f/0x30f0 drivers/misc/vmw_vmci/vmci_host.c:927
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4402f9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe87f270c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004402f9
RDX: 0000000020000140 RSI: 00000000000007a8 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401b00
R13: 0000000000401b90 R14: 0000000000000000 R15: 0000000000000000

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/15 01:54 upstream 65f0d2414b70 65a7a854 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/02/23 13:32 upstream a99163e9e708 c26fb06b .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/21 12:07 upstream e767b3530acb 3e5ed8b4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/21 12:07 upstream e767b3530acb 3e5ed8b4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/16 00:03 upstream f40ddce88593 98682e5e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/10 23:54 upstream 291009f656e8 a52ee10a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/10 23:54 upstream 291009f656e8 a52ee10a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/07 04:46 upstream 964d069f93c4 0655e081 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/04 01:04 upstream 3afe9076a7c1 624dad51 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/02 00:28 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/02 00:20 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/01 23:31 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/01 23:31 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/01 23:27 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/02/01 23:27 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/29 15:25 upstream bec4c2968fce 6593fd32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/24 07:29 upstream e1ae4b0be158 52e37319 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/23 17:00 upstream fe75a21824e7 52e37319 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/23 06:27 upstream 83d09ad4b950 4080af96 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/19 10:38 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/19 10:23 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/19 10:23 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in qp_broker_alloc
2021/01/17 05:57 upstream 0da0a8a0a0e1 65a7a854 .config console log report info ci-upstream-kasan-gce-smack-root
2021/01/15 01:38 upstream 65f0d2414b70 65a7a854 .config console log report info ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.