BUG: unable to handle kernel paging request in __alloc_skb

8 views
Skip to first unread message

syzbot

unread,
Nov 21, 2019, 8:57:08 PM11/21/19
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 7bc77fd3 Merge 4.14.155 into android-4.14
git tree: android-4.14
console output: https://syzkaller.appspot.com/x/log.txt?x=15e11ceee00000
kernel config: https://syzkaller.appspot.com/x/.config?x=4551af5a77acceaf
dashboard link: https://syzkaller.appspot.com/bug?extid=b7208b7f15159dfad151
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

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+b7208b...@syzkaller.appspotmail.com

IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready
binder: 4675:4681 DecRefs 0 refcount change on invalid ref 0 ret -22
binder: 4675:4681 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER
IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready
binder: 4675:4681 transaction failed 29189/-22, size 80-24 line 3128
BUG: unable to handle kernel paging request at 00000000991b9a0c
IP: bytes_is_nonzero mm/kasan/generic.c:92 [inline]
IP: memory_is_nonzero mm/kasan/generic.c:109 [inline]
IP: memory_is_poisoned_n mm/kasan/generic.c:135 [inline]
IP: memory_is_poisoned mm/kasan/generic.c:166 [inline]
IP: check_memory_region_inline mm/kasan/generic.c:182 [inline]
IP: check_memory_region+0x105/0x180 mm/kasan/generic.c:191
PGD 21fff9067 P4D 21fff9067 PUD 21fff7067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI
Modules linked in:
CPU: 0 PID: 4681 Comm: syz-executor.5 Not tainted 4.14.155-syzkaller #0
task: 00000000cce80380 task.stack: 00000000696edbe6
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:92 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:109 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:166 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:182 [inline]
RIP: 0010:check_memory_region+0x105/0x180 mm/kasan/generic.c:191
RSP: 0018:ffff8881dba077c8 EFLAGS: 00010282
RAX: ffffed105484f538 RBX: ffffed105484f538 RCX: ffffffff83f1f751
RDX: 0000000000000001 RSI: 0000000000000024 RDI: ffff8882a427a9c0
RBP: ffffed105484f53d R08: ffffed103ab4bba8 R09: ffffed105484f53d
R10: ffffed105484f53c R11: ffff8882a427a9e3 R12: 0000000000000024
R13: 0000000000000000 R14: ffff8882a427a9e4 R15: ffff8881d5a5dc80
FS: 00007fa48cec5700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed105484f538 CR3: 00000001c774c004 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
memset+0x20/0x40 mm/kasan/common.c:113
memset include/linux/string.h:332 [inline]
__alloc_skb+0x371/0x5c0 net/core/skbuff.c:234
alloc_skb include/linux/skbuff.h:980 [inline]
alloc_skb_with_frags+0x85/0x500 net/core/skbuff.c:5228
sock_alloc_send_pskb+0x5c9/0x720 net/core/sock.c:2078
mld_newpack+0x1d6/0x7a0 net/ipv6/mcast.c:1585
add_grhead.isra.0+0x29c/0x370 net/ipv6/mcast.c:1691
add_grec+0x6a3/0xf10 net/ipv6/mcast.c:1822
mld_send_cr net/ipv6/mcast.c:1948 [inline]
mld_ifc_timer_expire+0x340/0x7e0 net/ipv6/mcast.c:2455
call_timer_fn+0x15b/0x6a0 kernel/time/timer.c:1279
expire_timers+0x227/0x4c0 kernel/time/timer.c:1318
__run_timers kernel/time/timer.c:1636 [inline]
run_timer_softirq+0x1eb/0x5d0 kernel/time/timer.c:1649
__do_softirq+0x234/0x9ec kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x114/0x150 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x1a7/0x650 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:792
</IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779
[inline]
RIP: 0010:console_unlock+0x76a/0xc70 kernel/printk/printk.c:2399
RSP: 0018:ffff8881cae6f4b8 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000007 RBX: 0000000000000200 RCX: 1ffff11034c0a9da
RDX: 0000000000000000 RSI: ffff8881a6054eb0 RDI: 0000000000000212
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff839ab510
R13: ffffffff865da1e0 R14: dffffc0000000000 R15: 0000000000000054
vprintk_emit+0x128/0x330 kernel/printk/printk.c:1917
vprintk_func+0x58/0x152 kernel/printk/printk_safe.c:401
printk+0xba/0xed kernel/printk/printk.c:1990
binder_transaction.cold+0x2ed/0x173c drivers/android/binder.c:3632
binder_thread_write+0x66d/0x1fa0 drivers/android/binder.c:3896
binder_ioctl_write_read drivers/android/binder.c:4844 [inline]
binder_ioctl+0xd6a/0x152e drivers/android/binder.c:5021
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45a639
RSP: 002b:00007fa48cec4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639
RDX: 0000000020000080 RSI: 00000000c0306201 RDI: 0000000000000005
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa48cec56d4
R13: 00000000004c1e70 R14: 00000000004d5b98 R15: 00000000ffffffff
Code: 38 00 74 ee 4a 8d 04 23 4d 85 c0 75 25 49 89 e9 49 29 c1 e9 74 ff ff
ff 4d 85 c9 74 be 49 01 d9 eb 09 48 83 c0 01 4c 39 c8 74 b0 <80> 38 00 74
f2 eb a4 4c 89 c0 49 39 c2 74 4b 5b 5d 41 5c e9 13
RIP: bytes_is_nonzero mm/kasan/generic.c:92 [inline] RSP: ffff8881dba077c8
RIP: memory_is_nonzero mm/kasan/generic.c:109 [inline] RSP: ffff8881dba077c8
RIP: memory_is_poisoned_n mm/kasan/generic.c:135 [inline] RSP:
ffff8881dba077c8
RIP: memory_is_poisoned mm/kasan/generic.c:166 [inline] RSP:
ffff8881dba077c8
RIP: check_memory_region_inline mm/kasan/generic.c:182 [inline] RSP:
ffff8881dba077c8
RIP: check_memory_region+0x105/0x180 mm/kasan/generic.c:191 RSP:
ffff8881dba077c8
CR2: ffffed105484f538
---[ end trace 886b55a5407484f9 ]---


---
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#status for how to communicate with syzbot.

syzbot

unread,
Mar 20, 2020, 8:57:07 PM3/20/20
to syzkaller-a...@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