Page MenuHomeFreeBSD

[UPSTREAM] vis(3) avoid out-of-bounds stack buffer reads
ClosedPublic

Authored by arichardson on Jun 15 2021, 12:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 16, 8:32 PM
Unknown Object (File)
Mon, Mar 9, 5:41 PM
Unknown Object (File)
Tue, Mar 3, 6:32 PM
Unknown Object (File)
Tue, Mar 3, 2:26 PM
Unknown Object (File)
Sat, Feb 28, 2:19 AM
Unknown Object (File)
Wed, Feb 25, 6:30 PM
Unknown Object (File)
Feb 8 2026, 3:16 AM
Unknown Object (File)
Feb 8 2026, 12:11 AM
Subscribers

Details

Summary

I found this while running kdump(1) on a CheriBSD system due to a
capability length violation when printing the /etc/libmap.conf read()
system call: it crashed immediately after printing the first line.

Found by: CHERI

Test Plan

No longer crashes with this change

Diff Detail

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