general protection fault in debug_check_no_obj_freed (6)

5 views
Skip to first unread message

syzbot

unread,
Nov 10, 2021, 9:39:17 AM11/10/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6b75d88fa81b Merge branch 'i2c/for-current' of git://git.k..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17169592b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=25617f80cd596994
dashboard link: https://syzkaller.appspot.com/bug?extid=aa20205998c87e967460
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [jmo...@namei.org linux-...@vger.kernel.org linux-secu...@vger.kernel.org penguin...@I-love.SAKURA.ne.jp se...@hallyn.com take...@nttdata.co.jp]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+aa2020...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc00e0e00000: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000707000000-0x0000000707000007]
CPU: 1 PID: 2942 Comm: systemd-udevd Not tainted 5.15.0-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:981 [inline]
RIP: 0010:debug_check_no_obj_freed+0x1d3/0x420 lib/debugobjects.c:1023
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 15 a8
RSP: 0018:ffffc90001aff7b0 EFLAGS: 00010006
RAX: 00000000e0e00000 RBX: ffff88815d6e0000 RCX: ffffffff815d4b30
RDX: 1ffffffff20a3533 RSI: 0000000000000004 RDI: ffff888000102de0
RBP: 0000000707000000 R08: 0000000707000000 R09: ffff888146ca0030
R10: fffff5200035fee4 R11: 0000000000000000 R12: 0000000000000003
R13: dead000000000122 R14: dead000000000100 R15: dffffc0000000000
FS: 00007fd4afd608c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 0000000019fe5000 CR4: 00000000003506e0
Call Trace:
<TASK>
free_pages_prepare mm/page_alloc.c:1343 [inline]
free_pcp_prepare+0x2ae/0x870 mm/page_alloc.c:1389
free_unref_page_prepare mm/page_alloc.c:3309 [inline]
free_unref_page+0x19/0x690 mm/page_alloc.c:3388
__unfreeze_partials+0x343/0x360 mm/slub.c:2527
qlink_free mm/kasan/quarantine.c:146 [inline]
qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272
__kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
__kmalloc+0x1e7/0x340 mm/slub.c:4419
kmalloc include/linux/slab.h:595 [inline]
tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822
security_inode_getattr+0xcf/0x140 security/security.c:1334
vfs_getattr fs/stat.c:157 [inline]
vfs_statx+0x164/0x390 fs/stat.c:225
vfs_fstatat fs/stat.c:243 [inline]
vfs_lstat include/linux/fs.h:3357 [inline]
__do_sys_newlstat+0x91/0x110 fs/stat.c:398
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fd4aebd2335
Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89
RSP: 002b:00007ffce1ef8978 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 000055e8c19c5ad0 RCX: 00007fd4aebd2335
RDX: 00007ffce1ef89b0 RSI: 00007ffce1ef89b0 RDI: 000055e8c19c4ad0
RBP: 00007ffce1ef8a70 R08: 00007fd4aee91228 R09: 0000000000001010
R10: 00007fd4aee90b58 R11: 0000000000000246 R12: 000055e8c19c4ad0
R13: 000055e8c19c4adc R14: 000055e8c19d3ff5 R15: 000055e8c19d3ffc
</TASK>
Modules linked in:
---[ end trace 5cd697440575c15d ]---
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:981 [inline]
RIP: 0010:debug_check_no_obj_freed+0x1d3/0x420 lib/debugobjects.c:1023
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 15 a8
RSP: 0018:ffffc90001aff7b0 EFLAGS: 00010006
RAX: 00000000e0e00000 RBX: ffff88815d6e0000 RCX: ffffffff815d4b30
RDX: 1ffffffff20a3533 RSI: 0000000000000004 RDI: ffff888000102de0
RBP: 0000000707000000 R08: 0000000707000000 R09: ffff888146ca0030
R10: fffff5200035fee4 R11: 0000000000000000 R12: 0000000000000003
R13: dead000000000122 R14: dead000000000100 R15: dffffc0000000000
FS: 00007fd4afd608c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 0000000019fe5000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
0: 39 00 cmp %eax,(%rax)
2: 0f 85 0f 02 00 00 jne 0x217
8: 48 89 45 08 mov %rax,0x8(%rbp)
c: 4d 89 30 mov %r14,(%r8)
f: 4c 89 c7 mov %r8,%rdi
12: 4d 89 68 08 mov %r13,0x8(%r8)
16: e8 7c d0 ff ff callq 0xffffd097
1b: 48 85 ed test %rbp,%rbp
1e: 74 2c je 0x4c
20: 49 89 e8 mov %rbp,%r8
23: 4c 89 c0 mov %r8,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 0f 84 2e ff ff ff je 0xffffff63
35: 4c 89 c7 mov %r8,%rdi
38: 4c 89 44 24 38 mov %r8,0x38(%rsp)
3d: e8 .byte 0xe8
3e: 15 .byte 0x15
3f: a8 .byte 0xa8


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Feb 5, 2022, 9:57:11 PM2/5/22
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages