syzbot


BUG: unable to handle kernel paging request in qlist_free_all (4)

Status: closed as dup on 2018/07/08 14:57
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+4e2b7596e76e98664346@syzkaller.appspotmail.com
First crash: 2454d, last: 2330d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: unable to handle kernel paging request in ttwu_do_activate kernel 1 2333d 2333d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2) 8 1045d 1282d 0/1 auto-closed as invalid on 2022/05/13 11:55
upstream BUG: unable to handle kernel paging request in qlist_free_all (2) mm 4 2547d 2552d 0/28 closed as invalid on 2017/12/05 10:45
upstream BUG: unable to handle kernel paging request in qlist_free_all (5) fs 2 2067d 2068d 0/28 auto-closed as invalid on 2019/09/24 08:20
upstream BUG: unable to handle kernel paging request in qlist_free_all mm 1 2581d 2581d 0/28 closed as invalid on 2017/10/30 13:35
upstream BUG: unable to handle kernel paging request in qlist_free_all (7) kernel 20 1086d 1306d 0/28 auto-closed as invalid on 2022/03/03 13:56
upstream BUG: unable to handle kernel paging request in qlist_free_all (6) kernfs 1 1510d 1506d 0/28 auto-closed as invalid on 2021/01/03 14:25

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready
8021q: adding VLAN 0 to HW filter on device team0
IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready
BUG: unable to handle kernel paging request at ffffebe00106d608
PGD 0 P4D 0 
Oops: 0000 [#1] SMP KASAN
CPU: 0 PID: 4445 Comm: syz-executor0 Not tainted 4.18.0-rc3+ #48
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:virt_to_head_page include/linux/mm.h:638 [inline]
RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:127 [inline]
RIP: 0010:qlist_free_all+0x12b/0x160 mm/kasan/quarantine.c:163
Code: 00 00 80 48 01 c2 72 43 48 b9 00 00 00 80 ff 77 00 00 48 01 ca 48 b9 00 00 00 00 00 ea ff ff 48 c1 ea 0c 48 c1 e2 06 48 01 ca <48> 8b 4a 08 48 8d 71 ff 83 e1 01 48 0f 45 d6 4c 8b 6a 18 e9 f4 fe 
RSP: 0000:ffff8801a9cb73b0 EFLAGS: 00010286
RAX: 0000000041b58ab3 RBX: 0000000000000282 RCX: ffffea0000000000
==================================================================
RDX: ffffebe00106d600 RSI: ffff8801b8ac8f60 RDI: 0000000000000282
BUG: KASAN: stack-out-of-bounds in is_idle_task include/linux/sched.h:1542 [inline]
BUG: KASAN: stack-out-of-bounds in irq_enter+0xc9/0xd0 kernel/softirq.c:343
RBP: ffff8801a9cb73e8 R08: fffffbfff1205459 R09: fffffbfff1205458
Read of size 4 at addr ffff8801b3da81e4 by task „¥Šÿÿÿÿ€ÊÌ¥ˆÿÿ ÊÌ¥ˆÿÿ/-1513305440
R10: fffffbfff1205458 R11: ffffffff8902a2c3 R12: 0000000000000000

R13: 0000000000000000 R14: 0000000041b58ab3 R15: ffffffff88f1b060
CPU: 1 PID: -1513305440 Comm: „¥Šÿÿÿÿ€ÊÌ¥ˆÿÿ ÊÌ¥ Not tainted 4.18.0-rc3+ #48
FS:  0000000001d8b940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Call Trace:
CR2: ffffebe00106d608 CR3: 00000001bf7e9000 CR4: 00000000001406f0
 <IRQ>
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_reduce+0x163/0x1a0 mm/kasan/quarantine.c:259
 kasan_kmalloc+0x99/0xe0 mm/kasan/kasan.c:538
 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490
 print_address_description+0x6c/0x20b mm/kasan/report.c:256
 slab_post_alloc_hook mm/slab.h:444 [inline]
 slab_alloc mm/slab.c:3392 [inline]
 kmem_cache_alloc+0x11b/0x760 mm/slab.c:3552
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432
 ptlock_alloc+0x20/0x80 mm/memory.c:4721
 is_idle_task include/linux/sched.h:1542 [inline]
 irq_enter+0xc9/0xd0 kernel/softirq.c:343
 ptlock_init include/linux/mm.h:1858 [inline]
 pgtable_page_ctor include/linux/mm.h:1892 [inline]
 pte_alloc_one+0x6b/0x1a0 arch/x86/mm/pgtable.c:38
 entering_irq arch/x86/include/asm/apic.h:510 [inline]
 entering_ack_irq arch/x86/include/asm/apic.h:515 [inline]
 smp_apic_timer_interrupt+0xb6/0x730 arch/x86/kernel/apic/apic.c:1048
 __pte_alloc+0x2a/0x3c0 mm/memory.c:654
 do_anonymous_page mm/memory.c:3134 [inline]
 handle_pte_fault mm/memory.c:3970 [inline]
 __handle_mm_fault+0x37fd/0x4460 mm/memory.c:4096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
 </IRQ>

Allocated by task 3114748688:
 handle_mm_fault+0x53e/0xc80 mm/memory.c:4133
 __do_page_fault+0x620/0xe50 arch/x86/mm/fault.c:1396
 do_page_fault+0xf6/0x8c0 arch/x86/mm/fault.c:1471
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1160
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:180
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 <f3> a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 83 
RSP: 0000:ffff8801a9cb7b88 EFLAGS: 00010202
RAX: ffffed0035396fb3 RBX: 0000000000000080 RCX: 0000000000000080
RDX: 0000000000000080 RSI: ffff8801a9cb7d18 RDI: 00007ffc541fff70
RBP: ffff8801a9cb7bc0 R08: ffffed0035396fb3 R09: ffffed0035396fa3
R10: ffffed0035396fb2 R11: ffff8801a9cb7d97 R12: 00007ffc541ffff0
R13: 00007ffc541fff70 R14: ffff8801a9cb7d18 R15: 00007ffffffff000
 copy_to_user include/linux/uaccess.h:155 [inline]
 copy_siginfo_to_user+0x22/0x50 kernel/signal.c:2854
 __setup_rt_frame arch/x86/kernel/signal.c:472 [inline]
 setup_rt_frame arch/x86/kernel/signal.c:706 [inline]
 handle_signal arch/x86/kernel/signal.c:750 [inline]
 do_signal+0x11fd/0x21c0 arch/x86/kernel/signal.c:818
 exit_to_usermode_loop+0x2e0/0x370 arch/x86/entry/common.c:162
 prepare_exit_to_usermode+0x342/0x3b0 arch/x86/entry/common.c:197
 retint_user+0x8/0x18
RIP: 0033:0x455ba7
Code: 00 00 00 50 e9 be 88 ff ff ff ff b0 db 90 81 ff ff ff ff 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 00 11 ca 8d b6 20 c6 1e 86 a1 1e 37 00 f1 ff 1f c0 81 da b3 01 
RSP: 002b:00007ffc542003c8 EFLAGS: 00010246
RAX: 00000000000000e7 RBX: 000000000000000b RCX: 00000000004812b0
RDX: 00000000004812b0 RSI: 00007ffc54200400 RDI: 000000000000000b
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009
R13: 00000000000002f3 R14: 00007ffc54289950 R15: 0000000000016a33
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: ffffebe00106d608
---[ end trace ae3c7fae2ecc0557 ]---
BUG: unable to handle kernel paging request at ffffffff8c3f6968
PGD 8e6d067 
RIP: 0010:virt_to_head_page include/linux/mm.h:638 [inline]
RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:127 [inline]
RIP: 0010:qlist_free_all+0x12b/0x160 mm/kasan/quarantine.c:163
P4D 8e6d067 
Code: 
PUD 8e6e063 
00 
PMD 0 
00 
80 48 01 
kasan: CONFIG_KASAN_INLINE enabled
c2 
kasan: GPF could be caused by NULL-ptr deref or user memory access
72 
general protection fault: 0000 [#2] SMP KASAN
43 
CPU: 1 PID: -1513305440 Comm: „¥Šÿÿÿÿ€ÊÌ¥ˆÿÿ ÊÌ¥ Tainted: G      D           4.18.0-rc3+ #48
48 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
b9 
RIP: 0010:no_context+0x2f4/0x980 arch/x86/mm/fault.c:800
00 00 
Code: 
00 
00 
80 
48 89 
ff 
fa 48 
77 
c1 
00 
e0 2a 
00 
48 
48 01 
c1 
ca 
ea 03 
48 
80 
b9 
3c 02 
00 
00 
00 
0f 
00 
85 8c 
00 
06 
00 
00 00 
ea 
4d 8b 
ff 
65 18 
ff 
b8 
48 
ff 
c1 
ff 
ea 
37 
0c 
00 
48 
48 
c1 
c1 
e2 
e0 
06 
2a 
48 01 
4c 
ca 
89 e2 
<48> 
48 
8b 
c1 
4a 
ea 
08 
03 
48 
<80> 
8d 
3c 
71 
02 00 
ff 
0f 
83 
85 61 
e1 
06 
01 
00 00 
48 0f 
4d 
45 
8b 
d6 4c 
24 
8b 
24 
6a 18 
bf 
e9 
9d 
f4 
6e 
fe 
ac 
57 
RSP: 0000:ffff8801a9cb73b0 EFLAGS: 00010286
4c 
89 
RAX: 0000000041b58ab3 RBX: 0000000000000282 RCX: ffffea0000000000
e6 
RDX: ffffebe00106d600 RSI: ffff8801b8ac8f60 RDI: 0000000000000282
RBP: ffff8801a9cb73e8 R08: fffffbfff1205459 R09: fffffbfff1205458
RSP: 0018:ffff8801daf07950 EFLAGS: 00010006
R10: fffffbfff1205458 R11: ffffffff8902a2c3 R12: 0000000000000000
RAX: dffffc0000000000 RBX: 1ffff1003b5e0f31 RCX: ffffffff81361d71
R13: 0000000000000000 R14: 0000000041b58ab3 R15: ffffffff88f1b060
RDX: 000000000836b156 RSI: 0000000000000008 RDI: ffff8801b3da81d8
FS:  0000000001d8b940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
RBP: ffff8801daf07a10 R08: ffff8801b3da81c0 R09: ffffed003b5e3ec2
R10: ffffed003b5e3ec2 R11: ffff8801daf1f617 R12: 0000000041b58ab3
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
R13: ffff8801b3da81c0 R14: 0000000000000000 R15: ffff8801daf07d08
FS:  00007f77311d4700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CR2: ffffebe00106d608 CR3: 00000001bf7e9000 CR4: 00000000001406f0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
CR2: ffffffff8c3f6968 CR3: 0000000008e6a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/08 14:25 bpf-next d90c936fb318 c9a7a4dc .config console log report syz ci-upstream-bpf-next-kasan-gce
2018/04/27 02:12 upstream 0644f186fc9d 73417389 .config console log report ci-upstream-kasan-gce
2018/04/24 21:08 upstream 6d08b06e67cd 37e76fe2 .config console log report ci-upstream-kasan-gce
2018/04/13 10:43 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce-root
2018/03/31 06:09 upstream 9dd2326890d8 8fbce0e4 .config console log report ci-upstream-kasan-gce
2018/03/30 11:16 upstream c2a9838452a4 d47f0ed6 .config console log report ci-upstream-kasan-gce
2018/03/30 09:01 upstream c2a9838452a4 d47f0ed6 .config console log report ci-upstream-kasan-gce-root
2018/03/30 02:56 upstream 0b412605ef5f d47f0ed6 .config console log report ci-upstream-kasan-gce
2018/03/29 17:24 upstream 0b412605ef5f d47f0ed6 .config console log report ci-upstream-kasan-gce-root
2018/03/06 14:09 upstream ce380619fab9 aef0b792 .config console log report ci-upstream-kasan-gce
2018/04/28 07:56 upstream 46dc111dfe47 d5a5d045 .config console log report ci-upstream-kasan-gce-386
2018/04/01 23:13 upstream 0adb32858b0b dc889257 .config console log report ci-upstream-kasan-gce-386
2018/04/23 15:14 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/05 22:22 net-next-old 17dec0a94915 a932eae6 .config console log report ci-upstream-net-kasan-gce
2018/04/03 19:53 net-next-old 159f02977b2f 676bd07e .config console log report ci-upstream-net-kasan-gce
2018/03/30 07:10 net-next-old 18845557fd6f d47f0ed6 .config console log report ci-upstream-net-kasan-gce
2018/03/12 10:19 net-next-old 8b4c6ed2ed0e f505ca4b .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.