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)
Mon, Dec 2, 9:13 PM
Unknown Object (File)
Nov 7 2024, 1:38 AM
Unknown Object (File)
Nov 7 2024, 1:25 AM
Unknown Object (File)
Nov 6 2024, 11:46 PM
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
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable