syzbot
KASAN: use-after-free Read in class_equal
Status:
closed as dup on 2019/05/26 06:43
Subsystems:
kernel
[Documentation on labels]
Reported-by: syzbot+83c135be90fc92db7e13@syzkaller.appspotmail.com
First crash: 2630d, last: 2569d
Sample crash report:
==================================================================
BUG: KASAN: use-after-free in class_equal+0x40/0x50 /kernel/locking/lockdep.c:1579
Read of size 8 at addr ffff888088b07980 by task syz-executor.5/9715
CPU: 1 PID: 9715 Comm: syz-executor.5 Not tainted 5.2.0+ #61
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
Allocated by task 1102416563:
(stack is not available)
Freed by task 2290545821:
BUG: unable to handle page fault for address: ffffffff8c28b458
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 8c70067 P4D 8c70067 PUD 8c71063 PMD 0
Thread overran stack, or stack corrupted
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9715 Comm: syz-executor.5 Not tainted 5.2.0+ #61
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:stack_depot_fetch+0x10/0x30 /lib/stackdepot.c:203
Code: ff ff 48 c7 c7 10 f0 d2 88 e8 6c 95 5d fe e9 d7 fe ff ff 90 90 90 90 90 90 90 89 f8 c1 ef 11 25 ff ff 1f 00 81 e7 f0 3f 00 00 <48> 03 3c c5 60 b4 28 8b 48 8d 47 18 48 89 06 8b 47 0c c3 0f 1f 00
RSP: 0018:ffff888088b07768 EFLAGS: 00010006
RAX: 00000000001fffff RBX: ffff888088b07e8c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888088b07770 RDI: 0000000000003ff0
RBP: ffff888088b07788 R08: 000000000000001c R09: ffffed1015d244fa
R10: ffffed1015d244f9 R11: ffff8880ae9227cf R12: ffffea000222c180
R13: ffff888088b07980 R14: ffff8880aa400e00 R15: ffff888088b07e80
FS: 000055555612a940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff8c28b458 CR3: 00000000a45bf000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Modules linked in:
CR2: ffffffff8c28b458
---[ end trace 9fafb1fc6a82969c ]---
RIP: 0010:stack_depot_fetch+0x10/0x30 /lib/stackdepot.c:203
Code: ff ff 48 c7 c7 10 f0 d2 88 e8 6c 95 5d fe e9 d7 fe ff ff 90 90 90 90 90 90 90 89 f8 c1 ef 11 25 ff ff 1f 00 81 e7 f0 3f 00 00 <48> 03 3c c5 60 b4 28 8b 48 8d 47 18 48 89 06 8b 47 0c c3 0f 1f 00
RSP: 0018:ffff888088b07768 EFLAGS: 00010006
RAX: 00000000001fffff RBX: ffff888088b07e8c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888088b07770 RDI: 0000000000003ff0
RBP: ffff888088b07788 R08: 000000000000001c R09: ffffed1015d244fa
R10: ffffed1015d244f9 R11: ffff8880ae9227cf R12: ffffea000222c180
R13: ffff888088b07980 R14: ffff8880aa400e00 R15: ffff888088b07e80
FS: 000055555612a940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff8c28b458 CR3: 00000000a45bf000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.