Page MenuHomeFreeBSD

dtrace: Improve DOF section size validation
ClosedPublic

Authored by markj on Jun 30 2026, 9:13 PM.
Tags
None
Referenced Files
F175621804: D57975.diff
Mon, Oct 12, 2:52 AM
Unknown Object (File)
Sun, Oct 11, 6:30 AM
Unknown Object (File)
Tue, Oct 6, 10:37 AM
Unknown Object (File)
Mon, Oct 5, 11:59 PM
Unknown Object (File)
Sun, Oct 4, 5:31 PM
Unknown Object (File)
Fri, Oct 2, 7:59 PM
Unknown Object (File)
Fri, Oct 2, 5:53 PM
Unknown Object (File)
Mon, Sep 28, 7:52 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 74432
Build 71315: arc lint + arc unit