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: 1101d, last: 1076d
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 1466d 1466d 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 833d 1070d 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) mm 8 2284d 2332d 0/26 closed as invalid on 2018/02/12 16:58
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (6) ext4 syz 7 1844d 1942d 0/26 closed as dup on 2018/12/31 07:50
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (7) tomoyo 7 1447d 1507d 0/26 closed as invalid on 2020/07/06 10:57
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2) kernel 1 2361d 2361d 0/26 closed as invalid on 2017/11/09 10:06
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (8) kvm 11 1301d 1323d 0/26 auto-closed as invalid on 2021/01/30 15:56
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all fs 1 2396d 2396d 0/26 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 1436d 1470d 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) kernel 20 874d 1095d 0/26 auto-closed as invalid on 2022/03/03 13:56
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (5) fs 19 2191d 2248d 0/26 closed as invalid on 2018/05/26 17:43
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (3) mm 8 2334d 2351d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/15 03:16 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all
2021/05/04 15:18 linux-4.14.y 7d7d1c0ab3eb 06c27ff5 .config console log report info ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all
2021/04/20 08:21 linux-4.14.y cf256fbcbe34 c0ced557 .config console log report info ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all
* Struck through repros no longer work on HEAD.