Page MenuHomeFreeBSD

dtrace: Improve DOF section size validation
ClosedPublic

Authored by markj on Jun 30 2026, 9:13 PM.
Tags
None
Referenced Files
F165909119: D57975.diff
Mon, Aug 10, 11:52 AM
Unknown Object (File)
Sun, Aug 9, 4:52 PM
Unknown Object (File)
Sun, Aug 9, 9:29 AM
Unknown Object (File)
Sat, Aug 8, 9:57 PM
Unknown Object (File)
Sat, Aug 8, 9:56 PM
Unknown Object (File)
Sat, Aug 8, 1:35 PM
Unknown Object (File)
Sat, Aug 8, 7:19 AM
Unknown Object (File)
Fri, Aug 7, 9:15 PM
Subscribers

Details

Summary

The loop which validates each DOF section assumes that the section
header is present, so the section size must be at least as large as the
header, otherwise a small OOB access is possible.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable