Page MenuHomeFreeBSD

exec: Check for errors when mapping the shared object
ClosedPublic

Authored by markj on Oct 13 2025, 12:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 10:36 PM
Unknown Object (File)
Mon, May 11, 10:16 PM
Unknown Object (File)
Mon, May 11, 10:15 PM
Unknown Object (File)
Mon, May 11, 9:28 PM
Unknown Object (File)
Mon, May 11, 10:56 AM
Unknown Object (File)
Sun, May 10, 3:20 AM
Unknown Object (File)
Sun, May 10, 3:14 AM
Unknown Object (File)
Fri, May 1, 9:29 PM
Subscribers

Details

Summary

In the non-ASLR case, there is no check for an error from
vm_map_fixed(). Restore it, it was dropped in commit 939f0b6323e0a.

Fixes: 939f0b6323e0 ("Implement shared page address randomization")
Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>

Diff Detail

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