CVE-2026-93784

Summary

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: validate IEs in cfg80211_wext_siwgenie()

The KASAN allocation trace shows that a malformed IE buffer is stored via SIOCSIWGENIE (cfg80211_wext_siwgenie()) without any validation. The crash trace shows that a subsequent SIOCSIWESSID triggers a connection attempt which calls cfg80211_sme_get_conn_ies() to process the stored IE buffer, causing:

  • An out-of-bounds read in skip_ie() which reads ies[pos+1] (the length byte) past the end of the 1-byte buffer.

  • An integer underflow in the memcpy size argument when offs returned by ieee80211_ie_split() exceeds ies_len, causing unsigned subtraction to wrap to SIZE_MAX and triggering a fortify panic.

Fix this by validating the IE buffer in cfg80211_wext_siwgenie() before storing it.

[drop unnecessary ie_len check, update commit message]

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c970879e03b23a27df42caf7ba506485a165fb96affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 01cc395cecfaa73134d39fb9a401d9605d8bb2c5affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a2f5286ca4f304d3fd469f01b96b518608912a5caffected
LinuxLinux0 < 6.12.111affected
LinuxLinux0 < 6.18.53affected
LinuxLinux6.12.111 <= 6.12.*unaffected
LinuxLinux6.18.53 <= 6.18.*unaffected
LinuxLinux7.2 <= *unaffected

Weaknesses

References