Page MenuHomeFreeBSD

pf: Make sure that pfi_update_status() always zeros counters
ClosedPublic

Authored by markj on Jun 29 2022, 3:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 2:27 AM
Unknown Object (File)
Dec 11 2024, 2:20 PM
Unknown Object (File)
Dec 11 2024, 1:28 PM
Unknown Object (File)
Nov 29 2024, 10:28 AM
Unknown Object (File)
Nov 16 2024, 4:10 AM
Unknown Object (File)
Nov 16 2024, 3:20 AM
Unknown Object (File)
Oct 2 2024, 10:36 PM
Unknown Object (File)
Oct 2 2024, 9:17 PM

Details

Summary

pfi_update_status() can return early if the status interface doesn't
exist. But in this case pf_getstatus() was copying uninitialized stack
memory into the output nvlist.

Reported by: Jenkins (KMSAN job)

Diff Detail

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