Page MenuHomeFreeBSD

sfxge(4): fix potential buffer overflow in Tx queue init
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 1:32 AM
Unknown Object (File)
Sat, Sep 27, 8:12 PM
Unknown Object (File)
Thu, Sep 18, 10:58 PM
Unknown Object (File)
Fri, Sep 12, 7:12 PM
Unknown Object (File)
Aug 15 2025, 10:54 PM
Unknown Object (File)
Aug 5 2025, 1:27 AM
Unknown Object (File)
Aug 3 2025, 9:48 PM
Unknown Object (File)
Aug 3 2025, 12:53 AM
Subscribers

Details

Summary

Improve error checking to avoid a caller overflowing the MCDI
request buffer if the requested TXQ size was excessively large.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 23 2018, 7:50 AM
This revision was automatically updated to reflect the committed changes.