syzbot


kernel BUG in cdc_ncm_fill_tx_frame

Status: auto-obsoleted due to no activity on 2023/04/11 17:56
Reported-by: syzbot+fdef76b2e79db7be4aee@syzkaller.appspotmail.com
First crash: 459d, last: 459d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in cdc_ncm_fill_tx_frame usb syz error 4 14d 268d 0/26 upstream: reported syz repro on 2023/06/02 18:39
android-5-10 kernel BUG in add_grec C error 83 699d 773d 2/2 fixed on 2022/03/29 10:01
android-54 kernel BUG at net/core/skbuff.c:LINE! C 267 285d 1505d 0/2 auto-obsoleted due to no activity on 2023/08/22 15:17
android-5-15 kernel BUG in cdc_ncm_fill_tx_frame (2) origin:downstream C done 5 278d 293d 2/2 fixed on 2023/06/16 14:10
android-5-10 kernel BUG in add_grec (2) C error inconclusive 1039 459d 459d 2/2 fixed on 2023/02/24 12:10
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame C error 40 792d 857d 1/2 fixed on 2021/12/29 12:20
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame (2) C error 3 285d 293d 2/2 fixed on 2023/06/28 00:02

Sample crash report:
skbuff: skb_over_panic: text:ffffffff83237f09 len:184 put:172 head:ffff888141f15c00 data:ffff888141f15c00 tail:0xb8 end:0x80 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:113!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 669 Comm: kworker/0:9 Not tainted 5.15.74-syzkaller-00001-g4ec71a9ec769 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: mld mld_ifc_work
RIP: 0010:skb_panic+0x14c/0x150 net/core/skbuff.c:113
Code: c7 a0 70 be 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 31 c0 53 41 56 41 55 41 54 e8 03 fe dc 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 78 4c
RSP: 0018:ffffc900066a6e78 EFLAGS: 00010286
RAX: 0000000000000087 RBX: ffffffff85be7120 RCX: 8b174c36e029e800
RDX: 0000000000000000 RSI: 0000000000000603 RDI: 0000000000000000
RBP: ffffc900066a6ec0 R08: ffffffff815838e9 R09: fffff52000cd4d05
R10: fffff52000cd4d05 R11: 1ffff92000cd4d04 R12: ffff888141f15c00
R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d1d3e84300 CR3: 000000013c927000 CR4: 00000000003506b0
Call Trace:
 <TASK>
 skb_over_panic net/core/skbuff.c:118 [inline]
 skb_put+0x153/0x210 net/core/skbuff.c:2039
 skb_put_zero include/linux/skbuff.h:2403 [inline]
 cdc_ncm_ndp16 drivers/net/usb/cdc_ncm.c:1131 [inline]
 cdc_ncm_fill_tx_frame+0x1229/0x3db0 drivers/net/usb/cdc_ncm.c:1308
 cdc_ncm_tx_fixup+0xa2/0xf0
 usbnet_start_xmit+0x116/0x1ae0 drivers/net/usb/usbnet.c:1368
 __netdev_start_xmit include/linux/netdevice.h:5057 [inline]
 netdev_start_xmit include/linux/netdevice.h:5071 [inline]
 xmit_one+0x16a/0x480 net/core/dev.c:3597
 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3613
 sch_direct_xmit+0x295/0x9b0 net/sched/sch_generic.c:342
 __dev_xmit_skb+0xb93/0x1650 net/core/dev.c:3824
 __dev_queue_xmit+0x8f3/0x1b50 net/core/dev.c:4193
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4261
 neigh_resolve_output+0x6d3/0x780 net/core/neighbour.c:1512
 neigh_output include/net/neighbour.h:524 [inline]
 ip6_finish_output2+0xffe/0x1710 net/ipv6/ip6_output.c:126
 __ip6_finish_output+0x674/0x850 net/ipv6/ip6_output.c:191
 ip6_finish_output+0x20b/0x220 net/ipv6/ip6_output.c:201
 NF_HOOK_COND include/linux/netfilter.h:299 [inline]
 ip6_output+0x211/0x4c0 net/ipv6/ip6_output.c:224
 dst_output include/net/dst.h:450 [inline]
 NF_HOOK include/linux/netfilter.h:310 [inline]
 mld_sendpack+0x632/0xb50 net/ipv6/mcast.c:1820
 mld_send_cr net/ipv6/mcast.c:2121 [inline]
 mld_ifc_work+0x84f/0xc30 net/ipv6/mcast.c:2653
 process_one_work+0x6db/0xc00 kernel/workqueue.c:2313
 worker_thread+0xb3e/0x1340 kernel/workqueue.c:2460
 kthread+0x41c/0x500 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30
 </TASK>
Modules linked in:
---[ end trace 2847dce4840b76c9 ]---
RIP: 0010:skb_panic+0x14c/0x150 net/core/skbuff.c:113
Code: c7 a0 70 be 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 31 c0 53 41 56 41 55 41 54 e8 03 fe dc 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 78 4c
RSP: 0018:ffffc900066a6e78 EFLAGS: 00010286
RAX: 0000000000000087 RBX: ffffffff85be7120 RCX: 8b174c36e029e800
RDX: 0000000000000000 RSI: 0000000000000603 RDI: 0000000000000000
RBP: ffffc900066a6ec0 R08: ffffffff815838e9 R09: fffff52000cd4d05
R10: fffff52000cd4d05 R11: 1ffff92000cd4d04 R12: ffff888141f15c00
R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d1d3e84300 CR3: 000000013c927000 CR4: 00000000003506b0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/23 09:56 android13-5.15-lts 4ec71a9ec769 52fdf57a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in cdc_ncm_fill_tx_frame
* Struck through repros no longer work on HEAD.