syzbot


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

Status: closed as dup on 2018/12/31 07:50
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+84caccb6fb5a9d11b560@syzkaller.appspotmail.com
First crash: 2332d, last: 2056d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
kernel panic: corrupted stack end in wb_workfn mm C done 14 2154d 2154d
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (6) 1 (2) 2018/12/31 07:50
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 1678d 1678d 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 1045d 1282d 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 2496d 2544d 0/28 closed as invalid on 2018/02/12 16:58
upstream BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (7) tomoyo 7 1658d 1718d 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 2573d 2573d 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 1512d 1535d 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 2608d 2608d 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 1648d 1682d 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 1085d 1306d 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 1288d 1313d 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 (5) fs 19 2402d 2459d 0/28 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 2546d 2562d 0/28 closed as invalid on 2017/12/05 10:45

Sample crash report:
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
BUG: unable to handle kernel NULL pointer dereference at 00000000000000fc
PGD 1c38c3067 P4D 1c38c3067 PUD 1c38c8067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5937 Comm: rs:main Q:Reg Not tainted 4.20.0-rc5+ #146
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:qlist_free_all+0x30/0x140 mm/kasan/quarantine.c:163
Code: 41 56 41 55 41 54 53 48 83 ec 08 48 8b 1f 48 85 db 0f 84 b0 00 00 00 49 89 f4 48 89 7d d0 4d 85 e4 4d 89 e7 0f 84 c7 00 00 00 <49> 63 87 fc 00 00 00 4c 8b 33 48 29 c3 48 83 3d 53 10 8f 07 00 49
RSP: 0018:ffff8881b1f0ec28 EFLAGS: 00010246
RAX: ffffea00001f5400 RBX: ffffffff87d50a40 RCX: ffffea00001f5407
RDX: 0000000000000000 RSI: ffffffff8139dd66 RDI: 0000000000000007
RBP: ffff8881b1f0ec58 R08: ffff8881c3bee080 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8881c3bee080 R12: 0000000000000000
R13: ffff8881d92d7f18 R14: ffffffff87d50a40 R15: 0000000000000000
FS:  00007f8d04ccb700(0000) GS:ffff8881daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000000fc CR3: 00000001c4212000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_reduce+0x163/0x1a0 mm/kasan/quarantine.c:259
 kasan_kmalloc+0x9b/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/0x730 mm/slab.c:3552
 kmem_cache_zalloc include/linux/slab.h:731 [inline]
 alloc_buffer_head+0x7c/0x1b0 fs/buffer.c:3360
 alloc_page_buffers+0x1cd/0x6b0 fs/buffer.c:829
 create_empty_buffers+0xf4/0xdb0 fs/buffer.c:1516
 ext4_block_write_begin+0x11ed/0x1870 fs/ext4/inode.c:1174
 ext4_da_write_begin+0x43b/0x12c0 fs/ext4/inode.c:3108
 generic_perform_write+0x3aa/0x6a0 mm/filemap.c:3140
 __generic_file_write_iter+0x26e/0x630 mm/filemap.c:3265
 ext4_file_write_iter+0x390/0x1420 fs/ext4/file.c:266
 call_write_iter include/linux/fs.h:1857 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x6b8/0x9f0 fs/read_write.c:487
 vfs_write+0x1fc/0x560 fs/read_write.c:549
 ksys_write+0x101/0x260 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8d0672919d
Code: d1 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 be fa ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 07 fb ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f8d04cc9f90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000400 RCX: 00007f8d0672919d
RDX: 0000000000000400 RSI: 0000000000e8ca90 RDI: 0000000000000005
RBP: 0000000000e8ca90 R08: 0000000000eae080 R09: 00007f8d060a7440
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f8d04cca410 R14: 0000000000eae080 R15: 0000000000e8c890
Modules linked in:
CR2: 00000000000000fc
---[ end trace ede8d46aa0374d9c ]---
RIP: 0010:qlist_free_all+0x30/0x140 mm/kasan/quarantine.c:163
Code: 41 56 41 55 41 54 53 48 83 ec 08 48 8b 1f 48 85 db 0f 84 b0 00 00 00 49 89 f4 48 89 7d d0 4d 85 e4 4d 89 e7 0f 84 c7 00 00 00 <49> 63 87 fc 00 00 00 4c 8b 33 48 29 c3 48 83 3d 53 10 8f 07 00 49
kobject: 'rx-0' (0000000047bedca6): kobject_cleanup, parent 0000000004119b11
RSP: 0018:ffff8881b1f0ec28 EFLAGS: 00010246
kobject: 'rx-0' (0000000047bedca6): auto cleanup 'remove' event
RAX: ffffea00001f5400 RBX: ffffffff87d50a40 RCX: ffffea00001f5407
kobject: 'rx-0' (0000000047bedca6): kobject_uevent_env
kobject: 'rx-0' (0000000047bedca6): kobject_uevent_env: uevent_suppress caused the event to drop!
RDX: 0000000000000000 RSI: ffffffff8139dd66 RDI: 0000000000000007
kobject: 'rx-0' (0000000047bedca6): auto cleanup kobject_del
RBP: ffff8881b1f0ec58 R08: ffff8881c3bee080 R09: 0000000000000006
kobject: 'rx-0' (0000000047bedca6): calling ktype release
R10: 0000000000000000 R11: ffff8881c3bee080 R12: 0000000000000000
R13: ffff8881d92d7f18 R14: ffffffff87d50a40 R15: 0000000000000000
FS:  00007f8d04ccb700(0000) GS:ffff8881daf00000(0000) knlGS:0000000000000000
kobject: 'rx-0': free name
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kobject: 'tx-0' (00000000115069f4): kobject_cleanup, parent 0000000004119b11
CR2: 00000000000000fc CR3: 00000001c4212000 CR4: 00000000001406e0
kobject: 'tx-0' (00000000115069f4): auto cleanup 'remove' event
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kobject: 'tx-0' (00000000115069f4): kobject_uevent_env
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kobject: 'tx-0' (00000000115069f4): kobject_uevent_env: uevent_suppress caused the event to drop!
kobject: 'tx-0' (00000000115069f4): auto cleanup kobject_del

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/08 02:49 upstream 5f179793f0a7 65ed2472 .config console log report syz ci-upstream-kasan-gce-smack-root
2018/12/26 05:29 upstream d8924c0d76aa 8a41a0ad .config console log report ci-upstream-kasan-gce-root
2018/10/31 20:53 upstream 59fc453b21f7 89781090 .config console log report ci-upstream-kasan-gce-386
2019/04/08 09:43 net-old b959ecf8f953 c34fde03 .config console log report ci-upstream-net-this-kasan-gce
2018/07/13 05:00 bpf-next 6fd066604123 06c33b3a .config console log report ci-upstream-bpf-next-kasan-gce
2018/07/05 17:34 bpf-next 6fcf9b1d4d6c d3b2a0e2 .config console log report ci-upstream-bpf-next-kasan-gce
2018/10/23 17:43 linux-next 8c60c36d0b8c 24fa2ad8 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.