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
Unknown Object (File)
Sat, Oct 25, 1:22 AM
Unknown Object (File)
Wed, Oct 22, 9:36 PM
Unknown Object (File)
Wed, Oct 22, 9:36 PM
Unknown Object (File)
Wed, Oct 22, 9:36 PM
Unknown Object (File)
Wed, Oct 22, 12:16 PM
Unknown Object (File)
Oct 3 2025, 12:58 AM
Unknown Object (File)
Oct 2 2025, 10:49 PM
Unknown Object (File)
Sep 27 2025, 4:04 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.