syzbot


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

Status: closed as invalid on 2018/05/26 17:43
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+7d25f4ba127f50aade55@syzkaller.appspotmail.com
First crash: 2471d, last: 2414d
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 1689d 1689d 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 1056d 1293d 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 2508d 2555d 0/28 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 2067d 2165d 0/28 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 1670d 1730d 0/28 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 2584d 2584d 0/28 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 1524d 1547d 0/28 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 2619d 2619d 0/28 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 1659d 1693d 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 1097d 1318d 0/28 auto-closed as invalid on 2022/03/03 13:56
linux-4.14 BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (2) 3 1300d 1324d 0/1 auto-closed as invalid on 2021/09/12 03:17
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (3) mm 8 2558d 2574d 0/28 closed as invalid on 2017/12/05 10:45

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000106
PGD 196e21067 P4D 196e21067 PUD 196e24067 PMD 0 
Oops: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 4555 Comm: syz-executor0 Not tainted 4.17.0-rc2+ #18
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:qlist_free_all+0x37/0x160 mm/kasan/quarantine.c:163
RSP: 0018:ffff880196e2fc78 EFLAGS: 00010246
RAX: ffff880100400088 RBX: 0000000000000286 RCX: 0000000000000000
RDX: ffffea0004010000 RSI: ffffea000400001f RDI: 0000000000000286
RBP: ffff880196e2fcb0 R08: ffff880196e22cb8 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000000a R14: ffff880100400088 R15: ffffffff88d18ae0
FS:  000000000223f940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000106 CR3: 0000000196e01000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_reduce+0x141/0x170 mm/kasan/quarantine.c:259
 kasan_kmalloc+0x99/0xe0 mm/kasan/kasan.c:538
 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490
 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
 getname_flags+0xd0/0x5a0 fs/namei.c:140
 getname fs/namei.c:211 [inline]
 __do_sys_unlink fs/namei.c:4080 [inline]
 __se_sys_unlink fs/namei.c:4078 [inline]
 __x64_sys_unlink+0x35/0x50 fs/namei.c:4078
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4550d7
RSP: 002b:00007ffc84e981a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004550d7
RDX: 00000000022409f3 RSI: 00007ffc84e98240 RDI: 00007ffc84e98240
RBP: 00007ffc84e99f50 R08: 0000000000000000 R09: 0000000000000010
R10: 000000000000000a R11: 0000000000000202 R12: 0000000002240940
R13: 0000000000000000 R14: 000000000000024b R15: 000000000002228e
Code: 55 48 89 e5 41 57 49 c7 c7 e0 8a d1 88 41 56 41 55 41 54 49 89 f4 53 48 83 ec 10 48 89 7d c8 4d 89 e5 4d 85 e4 0f 84 c8 00 00 00 <49> 63 95 fc 00 00 00 4c 8b 30 48 29 d0 49 83 3f 00 48 89 c6 0f 
RIP: qlist_free_all+0x37/0x160 mm/kasan/quarantine.c:163 RSP: ffff880196e2fc78
CR2: 0000000000000106
---[ end trace 644ff6d3013b3637 ]---

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/26 19:28 upstream 69bfd470f462 73417389 .config console log report ci-upstream-kasan-gce-root
2018/04/14 04:22 upstream 1bad9ce155a7 7a67784c .config console log report ci-upstream-kasan-gce
2018/04/12 02:53 upstream b284d4d5a678 9cd56d71 .config console log report ci-upstream-kasan-gce-root
2018/04/02 20:47 upstream 86bbbebac193 676bd07e .config console log report ci-upstream-kasan-gce
2018/03/31 02:54 upstream 9dd2326890d8 8fbce0e4 .config console log report ci-upstream-kasan-gce
2018/03/30 22:36 upstream 9dd2326890d8 8fbce0e4 .config console log report ci-upstream-kasan-gce-root
2018/03/30 14:39 upstream c2a9838452a4 d47f0ed6 .config console log report ci-upstream-kasan-gce
2018/03/05 12:12 upstream 661e50bc8532 bbd5104f .config console log report ci-upstream-kasan-gce
2018/03/30 01:41 upstream 0b412605ef5f d47f0ed6 .config console log report ci-upstream-kasan-gce-386
2018/02/28 21:39 upstream c02be2334e75 05b5a32c .config console log report ci-upstream-kasan-gce-386
2018/04/21 02:16 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/16 22:26 net-next-old 9a00b697ce31 b80fd3b5 .config console log report ci-upstream-net-kasan-gce
2018/04/04 00:08 net-next-old 4608f064532c 676bd07e .config console log report ci-upstream-net-kasan-gce
2018/04/02 19:50 net-next-old 159f02977b2f 676bd07e .config console log report ci-upstream-net-kasan-gce
2018/03/30 22:28 net-next-old 6f14f49ce5eb 8fbce0e4 .config console log report ci-upstream-net-kasan-gce
2018/03/30 20:26 net-next-old 6f14f49ce5eb 8fbce0e4 .config console log report ci-upstream-net-kasan-gce
2018/03/30 09:33 net-next-old 18845557fd6f d47f0ed6 .config console log report ci-upstream-net-kasan-gce
2018/03/29 15:45 net-next-old 5d22d47b9ed9 d47f0ed6 .config console log report ci-upstream-net-kasan-gce
2018/03/29 10:20 net-next-old 5d22d47b9ed9 d47f0ed6 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.