syzbot


general protection fault in debug_check_no_obj_freed (5)

Status: auto-closed as invalid on 2021/11/05 02:52
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+8c1457a5605da6756e36@syzkaller.appspotmail.com
First crash: 1022d, last: 997d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in debug_check_no_obj_freed (2) mm 1 2011d 2010d 0/26 auto-closed as invalid on 2019/04/26 09:49
linux-4.19 general protection fault in debug_check_no_obj_freed (2) 2 840d 944d 0/1 auto-closed as invalid on 2022/05/11 17:22
upstream general protection fault in debug_check_no_obj_freed (7) fs batman 3 309d 357d 0/26 auto-obsoleted due to no activity on 2023/09/24 06:05
linux-4.19 general protection fault in debug_check_no_obj_freed 1 1329d 1329d 0/1 auto-closed as invalid on 2021/01/06 22:10
upstream general protection fault in debug_check_no_obj_freed (4) net 1 1101d 1096d 0/26 auto-closed as invalid on 2021/06/24 04:15
upstream general protection fault in debug_check_no_obj_freed (6) tomoyo 2 904d 902d 0/26 auto-closed as invalid on 2022/02/06 02:57
upstream general protection fault in debug_check_no_obj_freed (3) mm 7 1306d 1317d 0/26 auto-closed as invalid on 2021/01/30 14:32
upstream general protection fault in debug_check_no_obj_freed mm 2 2225d 2224d 0/26 closed as invalid on 2018/07/17 14:23
linux-4.19 BUG: unable to handle kernel paging request in debug_check_no_obj_freed 1 1164d 1164d 0/1 auto-closed as invalid on 2021/06/21 12:27
upstream BUG: unable to handle kernel paging request in debug_check_no_obj_freed (3) ntfs3 1 643d 639d 0/26 auto-obsoleted due to no activity on 2022/10/25 02:48

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000eeeeeee: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000077777770-0x0000000077777777]
CPU: 0 PID: 6454 Comm: syz-executor.1 Not tainted 5.14.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:976 [inline]
RIP: 0010:debug_check_no_obj_freed+0x1d3/0x420 lib/debugobjects.c:1018
Code: 39 00 0f 85 0f 02 00 00 48 89 45 08 4d 89 30 4c 89 c7 4d 89 68 08 e8 7c d0 ff ff 48 85 ed 74 2c 49 89 e8 4c 89 c0 48 c1 e8 03 <42> 80 3c 38 00 0f 84 2e ff ff ff 4c 89 c7 4c 89 44 24 38 e8 45 68
RSP: 0018:ffffc90002e8fbf0 EFLAGS: 00010007
RAX: 000000000eeeeeee RBX: ffffc9001a7fe000 RCX: ffffffff815b8720
RDX: 1ffffffff208dab6 RSI: 0000000000000004 RDI: ffff888000100fa0
RBP: 0000000077777777 R08: 0000000077777777 R09: ffff888029ba9c90
R10: fffff520005d1f6c R11: 0000000000000000 R12: 0000000000000001
R13: dead000000000122 R14: dead000000000100 R15: dffffc0000000000
FS:  0000000002828400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb27000 CR3: 000000006851f000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __vunmap+0x2be/0xb70 mm/vmalloc.c:2573
 __vfree+0x3c/0xd0 mm/vmalloc.c:2635
 vfree+0x5a/0x90 mm/vmalloc.c:2666
 kvfree+0x2e/0x50 mm/util.c:614
 memslot_rmap_free arch/x86/kvm/x86.c:11279 [inline]
 kvm_arch_free_memslot+0x47/0x1b0 arch/x86/kvm/x86.c:11288
 kvm_free_memslot arch/x86/kvm/../../../virt/kvm/kvm_main.c:843 [inline]
 kvm_free_memslots+0x144/0x230 arch/x86/kvm/../../../virt/kvm/kvm_main.c:857
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1108 [inline]
 kvm_put_kvm+0x96f/0xd80 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1126
 kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1149
 __fput+0x288/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
 exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4193fb
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:0000000000a9fb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004193fb
RDX: 0000000000000000 RSI: 00007f0ee6384000 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2cb26f8c
R10: 0000000000001a0b R11: 0000000000000293 R12: 000000000056cb00
R13: 000000000056cb00 R14: 000000000056bf80 R15: 0000000000223c4e
Modules linked in:
---[ end trace cd72e269dc8a6bb6 ]---
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:976 [inline]
RIP: 0010:debug_check_no_obj_freed+0x1d3/0x420 lib/debugobjects.c:1018
Code: 39 00 0f 85 0f 02 00 00 48 89 45 08 4d 89 30 4c 89 c7 4d 89 68 08 e8 7c d0 ff ff 48 85 ed 74 2c 49 89 e8 4c 89 c0 48 c1 e8 03 <42> 80 3c 38 00 0f 84 2e ff ff ff 4c 89 c7 4c 89 44 24 38 e8 45 68
RSP: 0018:ffffc90002e8fbf0 EFLAGS: 00010007
RAX: 000000000eeeeeee RBX: ffffc9001a7fe000 RCX: ffffffff815b8720
RDX: 1ffffffff208dab6 RSI: 0000000000000004 RDI: ffff888000100fa0
RBP: 0000000077777777 R08: 0000000077777777 R09: ffff888029ba9c90
R10: fffff520005d1f6c R11: 0000000000000000 R12: 0000000000000001
R13: dead000000000122 R14: dead000000000100 R15: dffffc0000000000
FS:  0000000002828400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb27000 CR3: 000000006851f000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/30 00:51 upstream 7e96bf476270 c585c7b0 .config console log report info ci-upstream-kasan-gce general protection fault in debug_check_no_obj_freed
2021/07/15 17:11 upstream 8096acd7442e b9a2f64e .config console log report info ci-upstream-kasan-gce general protection fault in debug_check_no_obj_freed
2021/08/07 02:51 upstream 894d6f401b21 6972b106 .config console log report info ci-upstream-kasan-gce-386 general protection fault in debug_check_no_obj_freed
2021/07/13 16:36 linux-next 8f0df15bafc1 fa0594c3 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in debug_check_no_obj_freed
* Struck through repros no longer work on HEAD.