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)
Nov 24 2025, 8:22 AM
Unknown Object (File)
Nov 19 2025, 10:51 PM
Unknown Object (File)
Nov 19 2025, 10:49 PM
Unknown Object (File)
Nov 19 2025, 10:49 PM
Unknown Object (File)
Nov 19 2025, 10:48 PM
Unknown Object (File)
Nov 6 2025, 11:39 PM
Unknown Object (File)
Nov 6 2025, 1:39 AM
Unknown Object (File)
Nov 1 2025, 5:33 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
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 39916
Build 36805: arc lint + arc unit