syzbot


BUG: unable to handle kernel paging request in __alloc_skb

Status: auto-closed as invalid on 2020/03/21 00:57
Reported-by: syzbot+b7208b7f15159dfad151@syzkaller.appspotmail.com
First crash: 1677d, last: 1677d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in __alloc_skb net 1 574d 574d 22/27 fixed on 2023/06/08 14:41

Sample crash report:
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 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/22 00:56 android-4.14 7bc77fd33905 8098ea0f .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.