Skip to contentSkip to conversation

KASAN reporting bug in ath6kl

DISCUSSION Oliver Neukum 1 participant 1 message Jul 29, 2019 USB

lore
Share & tools
lore
#0 lore raw

Hi,

I am looking at this report:

Title: general protection fault in
ath6kl_usb_alloc_urb_from_pipe

Last occurred:      0 days ago
Reported:           102 days ago
Branches:           Mainline (with usb-fuzzer patches)
Dashboard link:     https://syzkaller.appspot.com/bug?id=cd8b9cfe50a0bf

36ee19eda2d7e2e06843dfbeaf
Original thread: https://lkml.kernel.org/lkml/0000000000008e82510586
[email protected]/T/#u

This bug has a C reproducer.

No one replied to the original thread for this bug.

This looks like a bug in a net/wireless USB driver.

If you fix this bug, please add the following tag to the commit:

    Reported-by: [email protected]

--

It looks like a bug in
static int ath6kl_usb_setup_pipe_resources(struct ath6kl_usb *ar_usb) to me, which happily does nothing if the device has no endpoints. THis needs sanity checking, but it looks like the driver really uses 8 endpoints. Can you confirm that all 8 of them are indeed needed?

Regards
Oliver