syzbot


BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2)

Status: auto-closed as invalid on 2021/09/12 03:17
Reported-by: syzbot+0b130c434d702f883cc6@syzkaller.appspotmail.com
First crash: 430d, last: 405d
similar bugs (12):
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 1 795d 795d 0/1 auto-closed as invalid on 2020/08/18 08:06
linux-4.19 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2) 8 162d 399d 0/1 auto-closed as invalid on 2022/05/13 11:55
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (4) 8 1613d 1661d 0/22 closed as invalid on 2018/02/12 16:58
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (6) syz 7 1173d 1271d 0/22 closed as dup on 2018/12/31 07:50
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (7) 7 776d 835d 0/22 closed as invalid on 2020/07/06 10:57
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2) 1 1690d 1690d 0/22 closed as invalid on 2017/11/09 10:06
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (8) 11 630d 652d 0/22 auto-closed as invalid on 2021/01/30 15:56
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all 1 1725d 1725d 0/22 closed as invalid on 2017/10/18 09:51
linux-4.14 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all 2 765d 799d 0/1 auto-closed as invalid on 2020/09/17 07:42
upstream BUG: unable to handle kernel paging request in qlist_free_all (7) 20 203d 424d 0/22 auto-closed as invalid on 2022/03/03 13:56
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (5) 19 1520d 1576d 0/22 closed as invalid on 2018/05/26 17:43
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (3) 8 1663d 1680d 0/22 closed as invalid on 2017/12/05 10:45

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 00000000000000fc
IP: qlink_to_object mm/kasan/quarantine.c:136 [inline]
IP: qlink_free mm/kasan/quarantine.c:141 [inline]
IP: qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166
PGD 0 P4D 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 29945 Comm: kworker/u4:0 Not tainted 4.14.232-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88804695c400 task.stack: ffff88821d6f0000
RIP: 0010:qlink_to_object mm/kasan/quarantine.c:136 [inline]
RIP: 0010:qlink_free mm/kasan/quarantine.c:141 [inline]
RIP: 0010:qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166
RSP: 0018:ffff88821d6f7c08 EFLAGS: 00010246
RAX: ffffea0000000000 RBX: ffff888000000000 RCX: ffffea000000001f
RDX: 0000000000000000 RSI: ffff88804695cc88 RDI: ffff888000000000
RBP: 0000000000000000 R08: ffffea00024d6000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888000000000
R13: ffff88821d6f7c40 R14: 0000000000000000 R15: 0000000000000286
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000000fc CR3: 000000009b7e7000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_reduce+0x185/0x200 mm/kasan/quarantine.c:259
 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:536
 slab_post_alloc_hook mm/slab.h:442 [inline]
 slab_alloc mm/slab.c:3390 [inline]
 kmem_cache_alloc+0x111/0x3c0 mm/slab.c:3550
 prepare_kernel_cred+0x21/0x990 kernel/cred.c:625
 call_usermodehelper_exec_async+0x112/0x510 kernel/umh.c:89
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 90 90 90 41 57 41 56 41 55 41 54 55 53 48 8b 1f 48 85 db 0f 84 08 01 00 00 48 89 f5 49 89 fd 48 85 ed 49 89 ee 0f 84 8b 00 00 00 <49> 63 86 fc 00 00 00 4c 8b 23 48 29 c3 48 83 3d 53 c3 71 07 00 
RIP: qlink_to_object mm/kasan/quarantine.c:136 [inline] RSP: ffff88821d6f7c08
RIP: qlink_free mm/kasan/quarantine.c:141 [inline] RSP: ffff88821d6f7c08
RIP: qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166 RSP: ffff88821d6f7c08
CR2: 00000000000000fc
---[ end trace 863012eaa57ffca4 ]---

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/05/15 03:16 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config log report info BUG: unable to handle kernel NULL pointer dereference in qlist_free_all
ci2-linux-4-14 2021/05/04 15:18 linux-4.14.y 7d7d1c0ab3eb 06c27ff5 .config log report info BUG: unable to handle kernel NULL pointer dereference in qlist_free_all
ci2-linux-4-14 2021/04/20 08:21 linux-4.14.y cf256fbcbe34 c0ced557 .config log report info BUG: unable to handle kernel NULL pointer dereference in qlist_free_all