diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-03-24 15:49:03 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-06-09 10:15:20 +0000 |
| commit | 7ec087fef32a88410488b764b0f5eef68e51175f (patch) | |
| tree | 63f55304061655a771b1fb3bf49f2d0e959eb4ff /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2172c96a1eb495966923ebbbe5965e3158875534 (diff) | |
wifi: mt76: mt7996: fix out-of-bounds array access during hardware restart
During hardware restart, link_id can be IEEE80211_LINK_UNSPECIFIED,
causing an out-of-bounds array access on msta->link[].
Add mt7996_sta_link() and mt7996_sta_link_protected() helper functions
for accessing sta links with proper RCU handling and bounds checking.
Use them for any sta link RCU access.
Reported-by: Chad Monroe <chad@monroe.io>
Link: https://patch.msgid.link/20260324154904.2555603-1-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
