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)
Sun, Oct 11, 2:08 AM
Unknown Object (File)
Fri, Oct 9, 5:59 PM
Unknown Object (File)
Wed, Oct 7, 3:57 AM
Unknown Object (File)
Tue, Oct 6, 2:34 PM
Unknown Object (File)
Mon, Oct 5, 6:32 AM
Unknown Object (File)
Sun, Oct 4, 3:47 PM
Unknown Object (File)
Sat, Oct 3, 11:26 PM
Unknown Object (File)
Wed, Sep 30, 2:21 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