syzbot


general protection fault in quarantine_remove_cache

Status: auto-closed as invalid on 2021/04/05 09:12
Reported-by: syzbot+0ea8d9eaa7b648ce2965@syzkaller.appspotmail.com
First crash: 1448d, last: 1448d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in quarantine_remove_cache 1 1685d 1685d 0/1 auto-closed as invalid on 2020/08/10 13:39
linux-4.14 general protection fault in quarantine_remove_cache (2) 5 1315d 1542d 0/1 auto-closed as invalid on 2021/08/15 16:36
linux-4.19 BUG: unable to handle kernel NULL pointer dereference in quarantine_remove_cache 5 1040d 1052d 0/1 auto-closed as invalid on 2022/05/18 10:27
linux-4.19 BUG: unable to handle kernel paging request in quarantine_remove_cache (2) 4 1185d 1251d 0/1 auto-closed as invalid on 2021/12/23 22:53
linux-4.19 general protection fault in quarantine_remove_cache (2) 1 853d 853d 0/1 auto-obsoleted due to no activity on 2022/11/20 15:56

Sample crash report:
ubi0: attaching mtd0
ubi0: scanning is finished
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5720 Comm: syz-executor.3 Not tainted 4.19.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:qlist_move_cache+0x67/0xd0 mm/kasan/quarantine.c:275
Code: 00 00 00 eb 22 49 83 3e 00 74 7d 49 8b 46 08 4c 89 28 4d 89 6e 08 49 c7 45 00 00 00 00 00 49 01 56 10 4d 85 ff 74 56 4d 89 fd <4d> 8b 3f 4c 89 ef e8 7e 3f 91 ff 48 c1 e8 0c 48 c1 e0 06 4c 01 e0
RSP: 0018:ffff888058477920 EFLAGS: 00010002
RAX: ffff88800007eb00 RBX: ffff888058477958 RCX: ffffea0000001f87
RDX: 0000000000001100 RSI: ffffffff812c4f2a RDI: 0000000000000007
RBP: ffff8880a46e5300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
R13: 0707070707070707 R14: ffffffff8d24ea90 R15: 0707070707070707
FS:  00007fcbda577700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f59ffc3a710 CR3: 000000004f249000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_remove_cache+0x73/0x100 mm/kasan/quarantine.c:317
 shutdown_cache+0xe/0x1e0 mm/slab_common.c:570
 kmem_cache_destroy+0x25a/0x2e0 mm/slab_common.c:925
 destroy_ai+0x8c5/0xd80 drivers/mtd/ubi/attach.c:1372
 ubi_attach+0x1467/0x48d7 drivers/mtd/ubi/attach.c:1658
 ubi_attach_mtd_dev+0x11bf/0x3150 drivers/mtd/ubi/build.c:959
 ctrl_cdev_ioctl+0x2f2/0x390 drivers/mtd/ubi/cdev.c:1026
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45de79
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fcbda576c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045de79
RDX: 000000000076006e RSI: 0000000040186f40 RDI: 0000000000000005
RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffd1c6619bf R14: 00007fcbda5779c0 R15: 000000000118bfd4
Modules linked in:
---[ end trace 19986d8b86009af4 ]---
RIP: 0010:qlist_move_cache+0x67/0xd0 mm/kasan/quarantine.c:275
Code: 00 00 00 eb 22 49 83 3e 00 74 7d 49 8b 46 08 4c 89 28 4d 89 6e 08 49 c7 45 00 00 00 00 00 49 01 56 10 4d 85 ff 74 56 4d 89 fd <4d> 8b 3f 4c 89 ef e8 7e 3f 91 ff 48 c1 e8 0c 48 c1 e0 06 4c 01 e0
RSP: 0018:ffff888058477920 EFLAGS: 00010002
RAX: ffff88800007eb00 RBX: ffff888058477958 RCX: ffffea0000001f87
RDX: 0000000000001100 RSI: ffffffff812c4f2a RDI: 0000000000000007
RBP: ffff8880a46e5300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
R13: 0707070707070707 R14: ffffffff8d24ea90 R15: 0707070707070707
FS:  00007fcbda577700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f59ffc3a710 CR3: 000000004f249000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/06 09:11 linux-4.19.y daefdc9eb24b f12ba0c5 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.