Page MenuHomeFreeBSD

ppp: Don't fetch a non-existent variadic argument
ClosedPublic

Authored by jhb on May 20 2026, 7:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 12:47 AM
Unknown Object (File)
Fri, Oct 9, 1:07 AM
Unknown Object (File)
Wed, Oct 7, 4:15 AM
Unknown Object (File)
Mon, Sep 28, 2:19 PM
Unknown Object (File)
Sat, Sep 26, 8:05 AM
Unknown Object (File)
Fri, Sep 25, 12:45 AM
Unknown Object (File)
Sep 13 2026, 12:38 AM
Unknown Object (File)
Sep 11 2026, 6:24 PM
Subscribers

Details

Summary

Only fetch the optional mode argument to ID0open to pass to open(2) if
O_CREAT is present in the flags argument. It is UB to fetch an
argument that doesn't exist. On CHERI this UB results in a fault.

Obtained from: CheriBSD
Sponsored by: AFRL, DARPA

Diff Detail

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