Description
In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: reject oversized EMA RNR lists nl80211_parse_rnr_elems() stores the parsed element count in a u8-backed cfg80211_rnr_elems::cnt field and uses that count to size the flexible array allocation. Reject nested NL80211_ATTR_EMA_RNR_ELEMS input once the count reaches 255, before incrementing it again. This keeps the parser aligned with the data structure it fills and matches the existing bound check used by nl80211_parse_mbssid_elems().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
56189d7bc30531def6b999f27940ee43c6ff2569 to < fc0ec2fc02dfe52c5821f36fbccf6a45df43f508affecteddbbb27e183b1568d5a907ace1cd144b0709ea52a to < 688fcac7054abc680c0eef753f2bb772cfaf8cf7affecteddbbb27e183b1568d5a907ace1cd144b0709ea52a to < 30c3fa80f423613efdda3deca4af52ff7d20e4e2affecteddbbb27e183b1568d5a907ace1cd144b0709ea52a to < 265c07c09c837621730d35f02975207a1224bf05affecteddbbb27e183b1568d5a907ace1cd144b0709ea52a to < ecbf3c45add30a0857414e156bdb9c79906f0ff6affecteddbbb27e183b1568d5a907ace1cd144b0709ea52a to < 4cd92957e8f8cc4ebfe8a5d4203c14c592fde6b1affected6.1.160 to < 6.1.176affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.1.176 to ≤ 6.1.*unaffected6.6.143 to ≤ 6.6.*unaffected6.12.94 to ≤ 6.12.*unaffected6.18.36 to ≤ 6.18.*unaffected7.0.13 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/fc0ec2fc02dfe52c5821f36fbccf6a45df43f508 ↗
- https://git.kernel.org/stable/c/688fcac7054abc680c0eef753f2bb772cfaf8cf7 ↗
- https://git.kernel.org/stable/c/30c3fa80f423613efdda3deca4af52ff7d20e4e2 ↗
- https://git.kernel.org/stable/c/265c07c09c837621730d35f02975207a1224bf05 ↗
- https://git.kernel.org/stable/c/ecbf3c45add30a0857414e156bdb9c79906f0ff6 ↗
- https://git.kernel.org/stable/c/4cd92957e8f8cc4ebfe8a5d4203c14c592fde6b1 ↗