KASAN: stack-out-of-bounds Read in vmalloc_fault (2)

5 views
Skip to first unread message

syzbot

unread,
Nov 14, 2018, 2:18:08 AM11/14/18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 3e536cff3424 net: phy: check if advertising is zero using ..
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=17300d33400000
kernel config: https://syzkaller.appspot.com/x/.config?x=4a0a89f12ca9b0f5
dashboard link: https://syzkaller.appspot.com/bug?extid=0a554a10aa21d20cfe84
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
CC: [da...@davemloft.net kuz...@ms2.inr.ac.ru
linux-...@vger.kernel.org net...@vger.kernel.org yosh...@linux-ipv6.org]

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

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

netlink: 'syz-executor1': attribute type 17 has an invalid length.
netlink: 'syz-executor5': attribute type 6 has an invalid length.
netlink: 'syz-executor5': attribute type 6 has an invalid length.
==================================================================
BUG: KASAN: stack-out-of-bounds in pgd_val
arch/x86/include/asm/paravirt.h:414 [inline]
BUG: KASAN: stack-out-of-bounds in p4d_page_vaddr
arch/x86/include/asm/pgtable.h:895 [inline]
BUG: KASAN: stack-out-of-bounds in pud_offset
arch/x86/include/asm/pgtable.h:907 [inline]
BUG: KASAN: stack-out-of-bounds in vmalloc_fault+0x6d0/0x770
arch/x86/mm/fault.c:397
PANIC: double fault, error_code: 0x0
Read of size 8 at addr ffff8881da96cff8 by task syz-executor2/32762
CPU: 0 PID: 32717 Comm: syz-executor3 Not tainted 4.20.0-rc2+ #294

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:__udp4_lib_err+0x2c/0x1590 net/ipv4/udp.c:682
CPU: 1 PID: 32762 Comm: syz-executor2 Not tainted 4.20.0-rc2+ #294
Code: 89 e5 41 57 48 8d 85 38 ff ff ff 41 56 48 c1 e8 03 41 55 41 54 49 bc
00 00 00 00 00 fc ff df 53 48 89 fb 48 81 ec 20 01 00 00 <48> 89 85 20 ff
ff ff 4c 01 e0 89 b5 f4 fe ff ff 48 89 95 28 ff ff
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RSP: 0018:ffff8881d9bfbf68 EFLAGS: 00010282
Call Trace:
RAX: 1ffff1103b37f7fd RBX: ffff8881c48d9a40 RCX: ffffffff86b328e5
<IRQ>
RDX: ffffffff8a166a00 RSI: 0000000000000000 RDI: ffff8881c48d9a40
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x244/0x39d lib/dump_stack.c:113
RBP: ffff8881d9bfc0b0 R08: ffff8881915bc680 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8881dae2db3b R12: dffffc0000000000
R13: 1ffff1103b37f81d R14: ffff8881d9bfc148 R15: 0000000000000000
FS: 00007fa01b81d700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000
print_address_description.cold.7+0x9/0x1ff mm/kasan/report.c:256
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kasan_report_error mm/kasan/report.c:354 [inline]
kasan_report.cold.8+0x242/0x309 mm/kasan/report.c:412
CR2: ffff8881d9bfbf58 CR3: 00000001bd5b6000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
__asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
pgd_val arch/x86/include/asm/paravirt.h:414 [inline]
p4d_page_vaddr arch/x86/include/asm/pgtable.h:895 [inline]
pud_offset arch/x86/include/asm/pgtable.h:907 [inline]
vmalloc_fault+0x6d0/0x770 arch/x86/mm/fault.c:397
Call Trace:
do_kern_addr_fault arch/x86/mm/fault.c:1203 [inline]
__do_page_fault+0x860/0xe60 arch/x86/mm/fault.c:1487


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.

syzbot

unread,
Jun 16, 2019, 7:56:04 PM6/16/19
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