Bug 244628 - USB Network Adaptor: panic: out of buffers with data_len 4294967292
Summary: USB Network Adaptor: panic: out of buffers with data_len 4294967292
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords: panic, patch
Depends on:
Blocks:
 
Reported: 2020-03-06 08:19 UTC by Brian Zou
Modified: 2020-03-08 00:19 UTC (History)
3 users (show)

See Also:


Attachments
USB Network Adaptor: panic: out of buffers with data_len 4294967292 (251.73 KB, image/jpeg)
2020-03-06 08:19 UTC, Brian Zou
no flags Details
Try this patch (485 bytes, patch)
2020-03-06 17:34 UTC, Hans Petter Selasky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Zou 2020-03-06 08:19:48 UTC
Created attachment 212182 [details]
USB Network Adaptor: panic: out of buffers with data_len 4294967292
Comment 1 Hans Petter Selasky freebsd_committer 2020-03-06 08:55:13 UTC
Adrian, can you have a look at this panic?
Comment 2 Hans Petter Selasky freebsd_committer 2020-03-06 08:57:23 UTC
dec2hex(4294967292) = 0xFFFFFFFC = -4U
Comment 3 Hans Petter Selasky freebsd_committer 2020-03-06 17:34:50 UTC
Created attachment 212197 [details]
Try this patch

Try this patch. Does it affect WLAN usage?
Comment 4 Adrian Chadd freebsd_committer 2020-03-06 17:55:39 UTC
Hm, my guess is that the packet was too short to actually be decrypted.

Yeah, try that patch, but ideally we'd be rejecting the too-short packets further up the stack.

Can you get a crash dump so we can see how big the packet is from the driver itself?


-adrian