Page MenuHomeFreeBSD

ktrace: Handle negative array sizes in ktrstructarray
ClosedPublic

Authored by markj on May 26 2021, 6:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 5 2024, 12:25 PM
Unknown Object (File)
Sep 27 2024, 3:52 AM
Unknown Object (File)
Sep 27 2024, 3:52 AM
Unknown Object (File)
Sep 27 2024, 3:44 AM
Unknown Object (File)
Sep 26 2024, 2:04 AM
Unknown Object (File)
Sep 22 2024, 6:34 PM
Unknown Object (File)
Sep 10 2024, 9:00 AM
Unknown Object (File)
Sep 4 2024, 5:39 AM
Subscribers

Details

Summary

ktrstructarray() may be used to create copies of kevent(2) change and
event arrays. It is called before parameter validation is done and so
should check for bogus array lengths before allocating a copy.

Reported by: syzkaller

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39474
Build 36363: arc lint + arc unit