* [syzbot] [wireless?] general protection fault in carl9170_usb_rx_complete
@ 2025-06-06 17:24 syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-06 17:24 UTC (permalink / raw)
To: johannes, linux-kernel, linux-usb, linux-wireless, netdev,
syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 882826f58b2c ALSA: usb-audio: qcom: fix USB_XHCI dependency
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
console output: https://syzkaller.appspot.com/x/log.txt?x=113fc1d4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=cc73a376913a3005
dashboard link: https://syzkaller.appspot.com/bug?extid=0d8afba53e8fb2633217
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16ba180c580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10a9d80c580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/211f4b32c93c/disk-882826f5.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8b1eeb82b8a1/vmlinux-882826f5.xz
kernel image: https://storage.googleapis.com/syzbot-assets/c4696fbe4f76/bzImage-882826f5.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+0d8afba53e8fb2633217@syzkaller.appspotmail.com
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7]
CPU: 1 UID: 0 PID: 38 Comm: kworker/1:1 Not tainted 6.15.0-rc6-syzkaller-00177-g882826f58b2c #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: usb_hub_wq hub_event
RIP: 0010:__queue_work+0x9d/0x10f0 kernel/workqueue.c:2256
Code: 85 db 0f 84 ae 04 00 00 e8 b0 da 33 00 49 8d 86 c0 01 00 00 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e8 0c 00 00 41 8b 9e c0 01 00
RSP: 0018:ffffc900001a8a48 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8148954e
RDX: 0000000000000038 RSI: ffffffff81489090 RDI: 0000000000000005
RBP: ffff88810ff73bd0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000000 R15: 0100000000000004
FS: 0000000000000000(0000) GS:ffff8882692c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd9d9eca0c8 CR3: 0000000124b4e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
queue_work_on+0x15f/0x1f0 kernel/workqueue.c:2392
queue_work include/linux/workqueue.h:662 [inline]
ieee80211_queue_work net/mac80211/util.c:906 [inline]
ieee80211_queue_work+0x113/0x180 net/mac80211/util.c:899
carl9170_usb_rx_complete+0x275/0x2b0 drivers/net/wireless/ath/carl9170/usb.c:448
__usb_hcd_giveback_urb+0x38a/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1994
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842
handle_softirqs+0x205/0x8d0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1049
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_flush_all+0x9a2/0xc60 kernel/printk/printk.c:3227
Code: 00 e8 72 c5 27 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 e0 08 20 00 48 85 db 0f 85 55 01 00 00 e8 62 0d 20 00 fb 4c 89 e0 <48> c1 e8 03 42 80 3c 38 00 0f 84 11 ff ff ff 4c 89 e7 e8 17 d3 7b
RSP: 0018:ffffc90000287438 EFLAGS: 00000293
RAX: ffffffff895ba678 RBX: 0000000000000000 RCX: ffffffff815c5dd0
RDX: ffff8881062b0000 RSI: ffffffff815c5dde RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff895ba678
R13: ffffffff895ba620 R14: ffffc900002874c8 R15: dffffc0000000000
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3325
vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450
dev_vprintk_emit drivers/base/core.c:4917 [inline]
dev_printk_emit+0xfa/0x140 drivers/base/core.c:4928
__dev_printk+0xf5/0x270 drivers/base/core.c:4940
_dev_info+0xe4/0x120 drivers/base/core.c:4986
show_string drivers/usb/core/hub.c:2369 [inline]
show_string drivers/usb/core/hub.c:2365 [inline]
announce_device drivers/usb/core/hub.c:2388 [inline]
usb_new_device+0x94c/0x1a20 drivers/usb/core/hub.c:2644
hub_port_connect drivers/usb/core/hub.c:5535 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x2f85/0x5030 drivers/usb/core/hub.c:5917
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__queue_work+0x9d/0x10f0 kernel/workqueue.c:2256
Code: 85 db 0f 84 ae 04 00 00 e8 b0 da 33 00 49 8d 86 c0 01 00 00 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e8 0c 00 00 41 8b 9e c0 01 00
RSP: 0018:ffffc900001a8a48 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8148954e
RDX: 0000000000000038 RSI: ffffffff81489090 RDI: 0000000000000005
RBP: ffff88810ff73bd0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000000 R15: 0100000000000004
FS: 0000000000000000(0000) GS:ffff8882692c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd9d9eca0c8 CR3: 0000000124b4e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 85 db test %ebx,%ebx
2: 0f 84 ae 04 00 00 je 0x4b6
8: e8 b0 da 33 00 call 0x33dabd
d: 49 8d 86 c0 01 00 00 lea 0x1c0(%r14),%rax
14: 48 89 c2 mov %rax,%rdx
17: 48 89 44 24 10 mov %rax,0x10(%rsp)
1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
23: fc ff df
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 03 cmp $0x3,%al
34: 0f 8e e8 0c 00 00 jle 0xd22
3a: 41 rex.B
3b: 8b .byte 0x8b
3c: 9e sahf
3d: c0 01 00 rolb $0x0,(%rcx)
---
This report 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 syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [syzbot] [wireless?] general protection fault in carl9170_usb_rx_complete
[not found] <20250607000005.847-1-hdanton@sina.com>
@ 2025-06-07 3:52 ` syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-07 3:52 UTC (permalink / raw)
To: hdanton, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+0d8afba53e8fb2633217@syzkaller.appspotmail.com
Tested-by: syzbot+0d8afba53e8fb2633217@syzkaller.appspotmail.com
Tested on:
commit: 119b1e61 Merge tag 'riscv-for-linus-6.16-mw1' of git:/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11795570580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b9d80036998d0f57
dashboard link: https://syzkaller.appspot.com/bug?extid=0d8afba53e8fb2633217
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=16587c0c580000
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [syzbot] [wireless?] general protection fault in carl9170_usb_rx_complete
[not found] <782a6cbc-1156-4aad-a580-4f5a9c561a05@yandex.ru>
@ 2025-06-10 7:53 ` syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-10 7:53 UTC (permalink / raw)
To: dmantipov, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in carl9170_usb_rx_complete
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10 at drivers/net/wireless/ath/carl9170/usb.c:448 carl9170_usb_rx_complete+0x2e4/0x310 drivers/net/wireless/ath/carl9170/usb.c:448
Modules linked in:
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.16.0-rc1-syzkaller-dirty #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: usb_hub_wq hub_event
RIP: 0010:carl9170_usb_rx_complete+0x2e4/0x310 drivers/net/wireless/ath/carl9170/usb.c:448
Code: 86 17 03 e9 88 fe ff ff e8 79 79 9b fd 4c 89 f7 e8 e1 5a 60 fd e9 14 ff ff ff e8 d7 6e f8 fd e9 b1 fd ff ff e8 5d 79 9b fd 90 <0f> 0b 90 e9 5e fe ff ff e8 ef 6e f8 fd e9 44 fd ff ff 48 89 34 24
RSP: 0018:ffffc90000007b28 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8881285bb080 RCX: ffffffff83e24372
RDX: ffff8881016f1d00 RSI: ffffffff83e243d3 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff8881285bba20
R13: ffff8881285bba48 R14: ffff8881285bba18 R15: 0100000000000004
FS: 0000000000000000(0000) GS:ffff88826917f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff0e3e5e00 CR3: 00000001370c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__usb_hcd_giveback_urb+0x38a/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842
handle_softirqs+0x205/0x8d0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1050
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 66 c1 2b fa 48 89 df e8 4e 15 2c fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 15 88 1f fa 65 8b 05 7e 6d 3b 05 85 c0 74 16 5b
RSP: 0018:ffffc900000af578 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff938a36a8 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffffff88af5ee8 RDI: ffffffff8768a280
RBP: 0000000000000206 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8a7a0ed7 R11: 0000000000000001 R12: 1ffff92000015eb6
R13: ffffc900000af6d8 R14: 0000000000000000 R15: ffffffff938a36a8
__debug_object_init+0x2de/0x3d0 lib/debugobjects.c:755
timer_init_key_on_stack+0x2e/0x120 kernel/time/timer.c:816
schedule_timeout+0x111/0x290 kernel/time/sleep_timeout.c:96
schedule_timeout_uninterruptible kernel/time/sleep_timeout.c:158 [inline]
msleep+0xa6/0xf0 kernel/time/sleep_timeout.c:318
hub_port_reset+0x498/0x1e00 drivers/usb/core/hub.c:3133
hub_port_init+0x1f9/0x3b50 drivers/usb/core/hub.c:4907
hub_port_connect drivers/usb/core/hub.c:5464 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x2d43/0x5030 drivers/usb/core/hub.c:5917
process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5b3/0x6c0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
----------------
Code disassembly (best guess):
0: f5 cmc
1: 53 push %rbx
2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
7: 48 89 fb mov %rdi,%rbx
a: 48 83 c7 18 add $0x18,%rdi
e: e8 66 c1 2b fa call 0xfa2bc179
13: 48 89 df mov %rbx,%rdi
16: e8 4e 15 2c fa call 0xfa2c1569
1b: f7 c5 00 02 00 00 test $0x200,%ebp
21: 75 23 jne 0x46
23: 9c pushf
24: 58 pop %rax
25: f6 c4 02 test $0x2,%ah
28: 75 37 jne 0x61
* 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction
2f: e8 15 88 1f fa call 0xfa1f8849
34: 65 8b 05 7e 6d 3b 05 mov %gs:0x53b6d7e(%rip),%eax # 0x53b6db9
3b: 85 c0 test %eax,%eax
3d: 74 16 je 0x55
3f: 5b pop %rbx
Tested on:
commit: 19272b37 Linux 6.16-rc1
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=12dcaa82580000
kernel config: https://syzkaller.appspot.com/x/.config?x=4d9d9f47f21a57a6
dashboard link: https://syzkaller.appspot.com/bug?extid=0d8afba53e8fb2633217
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=106ac60c580000
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [syzbot] [wireless?] general protection fault in carl9170_usb_rx_complete
[not found] <2dbe5bd9-6429-4968-9290-a08c5c3d40c8@yandex.ru>
@ 2025-06-16 18:05 ` syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-16 18:05 UTC (permalink / raw)
To: dmantipov, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+0d8afba53e8fb2633217@syzkaller.appspotmail.com
Tested-by: syzbot+0d8afba53e8fb2633217@syzkaller.appspotmail.com
Tested on:
commit: 44a5ab7a Merge tag 'powerpc-6.16-3' of git://git.kerne..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=17af490c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=e18c08ad583646d2
dashboard link: https://syzkaller.appspot.com/bug?extid=0d8afba53e8fb2633217
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=12988370580000
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-16 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2dbe5bd9-6429-4968-9290-a08c5c3d40c8@yandex.ru>
2025-06-16 18:05 ` [syzbot] [wireless?] general protection fault in carl9170_usb_rx_complete syzbot
[not found] <782a6cbc-1156-4aad-a580-4f5a9c561a05@yandex.ru>
2025-06-10 7:53 ` syzbot
[not found] <20250607000005.847-1-hdanton@sina.com>
2025-06-07 3:52 ` syzbot
2025-06-06 17:24 syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).