Bug 244628

Summary: USB Network Adaptor: panic: out of buffers with data_len 4294967292
Product: Base System Reporter: Brian Zou <zoujiaqing>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: New ---    
Severity: Affects Only Me CC: adrian, gnn, hselasky
Priority: --- Keywords: crash, patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
USB Network Adaptor: panic: out of buffers with data_len 4294967292
none
Try this patch none

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 freebsd_triage 2020-03-06 08:55:13 UTC
Adrian, can you have a look at this panic?
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-06 08:57:23 UTC
dec2hex(4294967292) = 0xFFFFFFFC = -4U
Comment 3 Hans Petter Selasky freebsd_committer freebsd_triage 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 freebsd_triage 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