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
F146797990: D18259.diff
Thu, Mar 5, 4:54 PM
F146797965: D18259.diff
Thu, Mar 5, 4:53 PM
Unknown Object (File)
Mon, Feb 16, 2:26 PM
Unknown Object (File)
Mon, Feb 16, 1:57 PM
Unknown Object (File)
Sun, Feb 8, 2:46 PM
Unknown Object (File)
Sun, Feb 8, 12:16 PM
Unknown Object (File)
Jan 30 2026, 6:29 PM
Unknown Object (File)
Jan 30 2026, 12:11 AM
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.