syzbot


general protection fault in skb_queue_tail (2)

Status: auto-closed as invalid on 2021/10/23 19:22
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+bdede8cbed6a5cc48fbc@syzkaller.appspotmail.com
First crash: 989d, last: 976d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in skb_queue_tail (3) afs C inconclusive done 9 299d 532d 23/26 fixed on 2023/09/28 17:51
upstream general protection fault in skb_queue_tail C done 35 1799d 1801d 12/26 fixed on 2019/05/27 12:48
linux-4.19 KASAN: use-after-free Write in skb_queue_tail 1 1025d 1025d 0/1 auto-closed as invalid on 2021/10/05 02:17

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 8139 Comm: kworker/0:9 Tainted: G        W         5.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:__skb_insert include/linux/skbuff.h:1937 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2043 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2076 [inline]
RIP: 0010:skb_queue_tail+0x9a/0x140 net/core/skbuff.c:3249
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7b 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4a 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900000079d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff8881149036d0 RCX: ffffffff8128a2d0
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811c978648
RBP: ffff88811c978640 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8881149036e8 R14: 000000010000501b R15: ffffffff8309e070
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb743552810 CR3: 0000000103ded000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 ath9k_htc_txep+0x287/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712
 ath9k_htc_txcompletion_cb+0x1cd/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:348
 hif_usb_regout_cb+0x115/0x1c0 drivers/net/wireless/ath/ath9k/hif_usb.c:90
 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1656
 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1726
 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1987
 call_timer_fn+0x1a5/0x630 kernel/time/timer.c:1417
 expire_timers kernel/time/timer.c:1462 [inline]
 __run_timers.part.0+0x675/0xa10 kernel/time/timer.c:1731
 __run_timers kernel/time/timer.c:1712 [inline]
 run_timer_softirq+0x80/0x120 kernel/time/timer.c:1744
 __do_softirq+0x1b0/0x910 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x117/0x160 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x10 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x6a/0x90 arch/x86/kernel/apic/apic.c:1100
 </IRQ>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: 4d 89 03 e9 75 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 44 00 00 <65> 8b 05 b9 89 c0 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc900110af5d0 EFLAGS: 00000216
RAX: 0000000000002fb9 RBX: 0000000000000000 RCX: ffffc900100df000
RDX: 0000000000040000 RSI: ffffffff812a5bf5 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff812a5beb R11: 0000000000000000 R12: ffffffff82d7eae0
R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc900110af630
 console_unlock+0x7cb/0xc20 kernel/printk/printk.c:2653
 vprintk_emit+0x20a/0x580 kernel/printk/printk.c:2174
 dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4553
 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4564
 __dev_printk+0xcf/0xf5 drivers/base/core.c:4576
 _dev_info+0xd7/0x109 drivers/base/core.c:4622
 usb_disconnect.cold+0x25/0x78e drivers/usb/core/hub.c:2203
 hub_port_connect drivers/usb/core/hub.c:5151 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5440 [inline]
 port_event drivers/usb/core/hub.c:5586 [inline]
 hub_event+0x1c9c/0x4330 drivers/usb/core/hub.c:5668
 process_one_work+0x98d/0x15b0 kernel/workqueue.c:2276
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422
 kthread+0x3c0/0x4a0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace efe021368624c5f6 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:1937 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2043 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2076 [inline]
RIP: 0010:skb_queue_tail+0x9a/0x140 net/core/skbuff.c:3249
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7b 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4a 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900000079d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff8881149036d0 RCX: ffffffff8128a2d0
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811c978648
RBP: ffff88811c978640 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8881149036e8 R14: 000000010000501b R15: ffffffff8309e070
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb743552810 CR3: 0000000103ded000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/25 19:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8e6cb5d27e82 4d1b57d4 .config console log report info ci2-upstream-usb general protection fault in skb_queue_tail
2021/07/12 18:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97db1b081e12 f415556d .config console log report info ci2-upstream-usb general protection fault in skb_queue_tail
* Struck through repros no longer work on HEAD.