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)
Jan 14 2024, 10:05 AM
Unknown Object (File)
Dec 23 2023, 10:38 AM
Unknown Object (File)
Nov 24 2023, 2:29 PM
Unknown Object (File)
Nov 22 2023, 7:30 PM
Unknown Object (File)
Nov 22 2023, 7:22 PM
Unknown Object (File)
Nov 13 2023, 10:09 PM
Unknown Object (File)
Sep 27 2023, 12:28 AM
Unknown Object (File)
Jul 28 2023, 5:15 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