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
F115891385: D30771.diff
Wed, Apr 30, 2:09 AM
F115870150: D30771.diff
Tue, Apr 29, 7:52 PM
Unknown Object (File)
Mon, Apr 21, 1:07 PM
Unknown Object (File)
Sun, Apr 20, 9:55 AM
Unknown Object (File)
Mar 8 2025, 11:37 PM
Unknown Object (File)
Feb 24 2025, 5:46 PM
Unknown Object (File)
Feb 17 2025, 4:40 PM
Unknown Object (File)
Feb 10 2025, 6:47 PM
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