Page MenuHomeFreeBSD

LinuxKPI: 802.11: initalize lsta to NULL in linuxkpi_ieee80211_rx()
ClosedPublic

Authored by bz on Jun 5 2024, 10:38 PM.
Tags
None
Referenced Files
F175391881: D45507.id139540.diff
Sat, Oct 10, 12:51 PM
Unknown Object (File)
Tue, Sep 22, 2:37 PM
Unknown Object (File)
Tue, Sep 15, 12:32 AM
Unknown Object (File)
Sep 10 2026, 5:41 PM
Unknown Object (File)
Sep 10 2026, 3:31 PM
Unknown Object (File)
Sep 10 2026, 1:26 PM
Unknown Object (File)
Sep 8 2026, 1:35 AM
Unknown Object (File)
Sep 7 2026, 7:18 PM

Details

Summary

The logic following this new assignment in some cases may not set lsta
but the later tracing is checking for it to be != NULL.
with lsta not initialized that check may not hold up and later we would
dereference lsta->state and possibly panic.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 58078
Build 54966: arc lint + arc unit