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)
Fri, Nov 1, 4:24 PM
Unknown Object (File)
Tue, Oct 29, 12:50 PM
Unknown Object (File)
Oct 9 2024, 12:32 AM
Unknown Object (File)
Oct 1 2024, 7:43 PM
Unknown Object (File)
Sep 29 2024, 7:44 PM
Unknown Object (File)
Sep 28 2024, 3:42 PM
Unknown Object (File)
Sep 9 2024, 3:36 AM
Unknown Object (File)
Sep 8 2024, 10:25 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