Description
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: preserve mesh A-MSDU lengths when adding mesh headers A malformed mesh A-MSDU subframe with a declared payload length near 65535 bytes can pass validation against a much shorter aggregate. ieee80211_amsdu_subframe_length() adds the mesh control length to the declared length in a u16, and ieee80211_is_valid_amsdu() stores the result in a u16 local. The sum therefore wraps before either walker compares it with the remaining aggregate length. The decomposer then splits and delivers the malformed aggregate instead of rejecting it. Keep the computed length in unsigned int in both the helper and the validator so oversized subframes cannot wrap. LLM assistance was used to find the bug and review.
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
6e4c0d0460bd32ca9244dff3ba2d2da27235de11 to < aaba219ce3cc04208ae473d9c3747e1355f434a7affected6e4c0d0460bd32ca9244dff3ba2d2da27235de11 to < 62d8467ef206afcad1d7fa09f9e4c302dbc15531affected6e4c0d0460bd32ca9244dff3ba2d2da27235de11 to < d9f3d27e6fc1c699cc2aa2f2e84e15d666fc8df2affected6e4c0d0460bd32ca9244dff3ba2d2da27235de11 to < 9083da9dd3223068237395432323b407012aec1faffected966d5c2c22edcc0ab3d519af39f91a29329c979aaffected6.1.107 to < 6.2affected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected