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)
Oct 2 2024, 10:36 PM
Unknown Object (File)
Oct 2 2024, 9:17 PM
Unknown Object (File)
Sep 30 2024, 6:04 AM
Unknown Object (File)
Sep 30 2024, 3:54 AM
Unknown Object (File)
Sep 28 2024, 1:19 AM
Unknown Object (File)
Sep 27 2024, 4:24 AM
Unknown Object (File)
Sep 26 2024, 5:59 PM
Unknown Object (File)
Sep 23 2024, 3:22 AM

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