syzbot


kernel BUG in cdc_ncm_fill_tx_frame

Status: fixed on 2021/12/29 12:20
Reported-by: syzbot+2c9b6751e87ab8706cb3@syzkaller.appspotmail.com
Fix commit: 385ffd31ebdb net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
First crash: 858d, last: 793d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[PATCH 1/1] net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero 14 (14) 2023/05/19 03:10
Similar bugs (23)
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 15d 269d 0/26 upstream: reported syz repro on 2023/06/02 18:39
android-5-10 kernel BUG in add_grec C error 83 700d 774d 2/2 fixed on 2022/03/29 10:01
android-54 kernel BUG at net/core/skbuff.c:LINE! C 267 287d 1507d 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 279d 294d 2/2 fixed on 2023/06/16 14:10
android-5-10 kernel BUG in add_grec (2) C error inconclusive 1039 460d 460d 2/2 fixed on 2023/02/24 12:10
android-5-15 kernel BUG in cdc_ncm_fill_tx_frame 1 461d 461d 0/2 auto-obsoleted due to no activity on 2023/04/11 17:56
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame (2) C error 3 286d 294d 2/2 fixed on 2023/06/28 00:02
android-44 kernel BUG at net/core/skbuff.c:LINE! C 79 1557d 1783d 0/2 public: reported C repro on 2019/04/11 08:44
linux-4.19 kernel BUG at net/core/skbuff.c:LINE! C unreliable 494 547d 1766d 0/1 upstream: reported C repro on 2019/04/27 20:12
android-54 kernel BUG in pfkey_send_acquire C 278 471d 1135d 0/2 auto-obsoleted due to no activity on 2023/04/19 14:24
upstream kernel BUG at net/core/skbuff.c:LINE! (2) net C 562 2221d 2311d 4/26 fixed on 2018/01/29 03:39
android-414 kernel BUG at net/core/skbuff.c:LINE! C 2743 1546d 1783d 0/1 public: reported C repro on 2019/04/11 00:00
upstream kernel BUG in netem_enqueue net 9 438d 663d 22/26 fixed on 2023/02/24 13:50
upstream kernel BUG at net/core/skbuff.c:LINE! (3) C done 4399 1100d 2216d 19/26 fixed on 2021/03/10 01:48
upstream kernel BUG at net/core/skbuff.c:LINE! sctp 5 2317d 2387d 3/26 fixed on 2017/10/27 10:10
linux-4.19 kernel BUG in pfkey_send_acquire C done 56 1106d 1135d 1/1 fixed on 2021/03/18 08:30
linux-4.14 kernel BUG at net/core/skbuff.c:LINE! C 3066 362d 1781d 0/1 upstream: reported C repro on 2019/04/12 15:43
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 840d 1053d 20/26 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 383d 834d 22/26 fixed on 2023/02/25 08:02
android-49 kernel BUG at net/core/skbuff.c:LINE! C 391 1546d 1782d 0/3 public: reported C repro on 2019/04/12 00:00
android-5-15 kernel BUG in add_grec C 38 447d 461d 2/2 fixed on 2022/12/13 18:12
android-5-15 kernel BUG in mld_newpack 1 467d 467d 0/2 auto-obsoleted due to no activity on 2023/03/24 18:30
upstream kernel BUG in mld_newpack net 1 500d 500d 22/26 fixed on 2023/02/24 13:50

Sample crash report:
skbuff: skb_over_panic: text:ffffffff830a5b5f len:184 put:172 head:ffff888119227c00 data:ffff888119227c00 tail:0xb8 end:0x80 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:110!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 392 Comm: udevd Not tainted 5.10.75-syzkaller-01082-g234d53d2bb60 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106
Code: 87 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 2c 61 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0000:ffffc9000015fee8 EFLAGS: 00010286
RAX: 0000000000000087 RBX: ffffffff85873820 RCX: e40d706ede785900
RDX: 0000000000000703 RSI: 0000000000000703 RDI: 0000000000000000
RBP: ffffc9000015ff30 R08: ffffffff81545368 R09: 0000000000000003
R10: fffff5200002bf2d R11: 0000000000000004 R12: ffff888119227c00
R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000
FS:  00007effebdf4840(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557f97a85118 CR3: 0000000106bd2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 skb_over_panic+0x2c/0x30 net/core/skbuff.c:115
 skb_put+0x205/0x210 net/core/skbuff.c:1877
 skb_put_zero include/linux/skbuff.h:2270 [inline]
 cdc_ncm_ndp16 drivers/net/usb/cdc_ncm.c:1116 [inline]
 cdc_ncm_fill_tx_frame+0x127f/0x3d50 drivers/net/usb/cdc_ncm.c:1293
 cdc_ncm_tx_fixup+0x98/0xf0 drivers/net/usb/cdc_ncm.c:1514
 usbnet_start_xmit+0x111/0x1a60 drivers/net/usb/usbnet.c:1338
 __netdev_start_xmit include/linux/netdevice.h:4823 [inline]
 netdev_start_xmit include/linux/netdevice.h:4837 [inline]
 xmit_one+0x16a/0x480 net/core/dev.c:3583
 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3599
 sch_direct_xmit+0x28f/0x9b0 net/sched/sch_generic.c:336
 qdisc_restart net/sched/sch_generic.c:401 [inline]
 __qdisc_run+0x245/0x3e0 net/sched/sch_generic.c:409
 qdisc_run include/net/pkt_sched.h:127 [inline]
 __dev_xmit_skb net/core/dev.c:3775 [inline]
 __dev_queue_xmit+0xe7e/0x2ac0 net/core/dev.c:4129
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4194
 neigh_resolve_output+0x693/0x740 net/core/neighbour.c:1497
 neigh_output include/net/neighbour.h:518 [inline]
 ip6_finish_output2+0x109c/0x1930 net/ipv6/ip6_output.c:145
 __ip6_finish_output+0x610/0x7b0 net/ipv6/ip6_output.c:210
 ip6_finish_output+0x3f/0x1e0 net/ipv6/ip6_output.c:220
 NF_HOOK_COND include/linux/netfilter.h:293 [inline]
 ip6_output+0x211/0x4c0 net/ipv6/ip6_output.c:243
 dst_output include/net/dst.h:443 [inline]
 NF_HOOK include/linux/netfilter.h:304 [inline]
 mld_sendpack+0x5fc/0xb20 net/ipv6/mcast.c:1676
 mld_send_cr net/ipv6/mcast.c:1972 [inline]
 mld_ifc_timer_expire+0x85b/0xc50 net/ipv6/mcast.c:2471
 call_timer_fn+0x35/0x280 kernel/time/timer.c:1420
 expire_timers+0x21f/0x3b0 kernel/time/timer.c:1465
 __run_timers+0x548/0x680 kernel/time/timer.c:1756
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1769
 __do_softirq+0x27e/0x598 kernel/softirq.c:305
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:402 [inline]
 __irq_exit_rcu+0x128/0x150 kernel/softirq.c:432
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:444
 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1095
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0033:0x7effebee8707
Code: 8b 48 08 48 83 e1 f8 4c 8d 14 08 48 83 f9 10 0f 86 be 01 00 00 49 8b b4 24 88 08 00 00 48 39 ce 0f 82 ad 01 00 00 49 8b 52 08 <48> 83 fa 0f 0f 86 af 01 00 00 48 39 d6 0f 82 a6 01 00 00 49 8b 32
RSP: 002b:00007fff29d2c770 EFLAGS: 00000206
RAX: 0000559f072e2d60 RBX: 0000000000000000 RCX: 0000000000001aa0
RDX: 00000000000001d0 RSI: 0000000000156000 RDI: 0000000000000012
RBP: 0000000000000040 R08: 0000000000000000 R09: 00007effec01ba60
R10: 0000559f072e4800 R11: 0000000000000000 R12: 00007effec01ba00
R13: 0000559f0729d010 R14: fffffffffffffe98 R15: 00007effec01ba90
Modules linked in:
---[ end trace 37c02115fc8d285b ]---
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106
Code: 87 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 2c 61 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0000:ffffc9000015fee8 EFLAGS: 00010286
RAX: 0000000000000087 RBX: ffffffff85873820 RCX: e40d706ede785900
RDX: 0000000000000703 RSI: 0000000000000703 RDI: 0000000000000000
RBP: ffffc9000015ff30 R08: ffffffff81545368 R09: 0000000000000003
R10: fffff5200002bf2d R11: 0000000000000004 R12: ffff888119227c00
R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000
FS:  00007effebdf4840(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557f97a85118 CR3: 0000000106bd2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (40):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/21 21:11 android12-5.10-lts 234d53d2bb60 55f90bc6 .config console log report syz C ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/12/09 12:07 android12-5.10-lts 6e6898e23cab a4a2a501 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/30 14:34 android12-5.10-lts 76698ea35fd3 80270552 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/25 11:41 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/25 08:05 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/11 08:52 android12-5.10-lts 76698ea35fd3 75b04091 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/09 01:50 android12-5.10-lts 76698ea35fd3 8ab17e57 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/04 08:39 android12-5.10-lts 76698ea35fd3 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/11/03 02:57 android12-5.10-lts 4944ec82ebb9 17f3edd2 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/10/25 20:38 android12-5.10-lts 234d53d2bb60 c1132b49 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/10/22 15:50 android12-5.10-lts 234d53d2bb60 282f03fb .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/10/21 20:18 android12-5.10-lts 234d53d2bb60 55f90bc6 .config console log report info ci2-android-5-10 kernel BUG in cdc_ncm_fill_tx_frame
2021/12/26 04:31 android12-5.10-lts c4d08791d941 6caa12e4 .config console log report info ci2-android-5-10 kernel BUG in __ip6_append_data
2021/12/25 01:45 android12-5.10-lts c4d08791d941 6caa12e4 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/12/21 21:22 android12-5.10-lts c4d08791d941 6caa12e4 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/12/07 15:35 android12-5.10-lts 6e6898e23cab 0230ba3e .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/12/06 12:36 android12-5.10-lts 6e6898e23cab 579a8754 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/25 14:42 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/25 02:59 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/24 21:15 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/24 13:22 android12-5.10-lts 76698ea35fd3 545ab074 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/22 00:40 android12-5.10-lts 76698ea35fd3 4eb20a4e .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/21 20:49 android12-5.10-lts 76698ea35fd3 4eb20a4e .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/21 18:16 android12-5.10-lts 76698ea35fd3 4eb20a4e .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/14 11:48 android12-5.10-lts 76698ea35fd3 75b04091 .config console log report info ci2-android-5-10 kernel BUG in mld_newpack
2021/11/13 17:11 android12-5.10-lts 76698ea35fd3 75b04091 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/11 23:36 android12-5.10-lts 76698ea35fd3 75b04091 .config console log report info ci2-android-5-10 kernel BUG in mld_newpack
2021/11/09 23:48 android12-5.10-lts 76698ea35fd3 59bcaf9a .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/09 13:19 android12-5.10-lts 76698ea35fd3 59bcaf9a .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/08 06:59 android12-5.10-lts 76698ea35fd3 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in mld_newpack
2021/11/06 18:44 android12-5.10-lts 76698ea35fd3 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/05 11:36 android12-5.10-lts 76698ea35fd3 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/04 19:09 android12-5.10-lts 76698ea35fd3 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/03 22:28 android12-5.10-lts 4944ec82ebb9 4c1be0be .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/11/03 05:02 android12-5.10-lts 4944ec82ebb9 17f3edd2 .config console log report info ci2-android-5-10 kernel BUG in mld_newpack
2021/11/02 09:58 android12-5.10-lts 4944ec82ebb9 098b5d53 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/10/29 05:36 android12-5.10-lts 4944ec82ebb9 be531bb4 .config console log report info ci2-android-5-10 kernel BUG in mld_newpack
2021/10/29 00:04 android12-5.10-lts 4944ec82ebb9 be531bb4 .config console log report info ci2-android-5-10 kernel BUG in __ip6_append_data
2021/10/28 22:33 android12-5.10-lts 4944ec82ebb9 be531bb4 .config console log report info ci2-android-5-10 kernel BUG in add_grec
2021/10/27 04:17 android12-5.10-lts 234d53d2bb60 d50eb50a .config console log report info ci2-android-5-10 kernel BUG in add_grec
* Struck through repros no longer work on HEAD.