Page MenuHomeFreeBSD

sfxge(4): fix out of bounds read when dereferencing sdup
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:54 AM.
Tags
None
Referenced Files
F150633634: D18259.id.diff
Thu, Apr 2, 11:34 PM
Unknown Object (File)
Wed, Apr 1, 5:54 PM
Unknown Object (File)
Sun, Mar 29, 9:34 PM
Unknown Object (File)
Wed, Mar 18, 2:04 PM
Unknown Object (File)
Mon, Mar 16, 12:07 PM
Unknown Object (File)
Fri, Mar 13, 4:24 PM
Unknown Object (File)
Fri, Mar 13, 1:10 AM
Unknown Object (File)
Thu, Mar 12, 10:26 PM
Subscribers

Details

Summary

Introduce and use macro to make sure that MCDI buffers allocated
on stack are rounded up properly.

Submitted by: Gautam Dawar <gdawar 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 30 2018, 7:07 AM
This revision was automatically updated to reflect the committed changes.