CVE-2026-97518

Summary

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

wifi: cfg80211: reject duplicate wiphy cipher suite entries

Duplicate entries in wiphy->cipher_suites do not describe any additional capability, but cfg80211 currently accepts them and leaves individual consumers to deal with them.

One such consumer is the WEXT compatibility code, which appends a WEP key length for each WEP cipher entry it sees. Repeated WEP entries can therefore overflow the fixed iw_range::encoding_size array returned by SIOCGIWRANGE.

Reject duplicate cipher suite entries in wiphy_register() instead. This keeps the cipher suite invariant in one place and makes malformed wiphy descriptions fail early with -EINVAL, rather than relying on a single cfg80211 user to handle duplicates correctly.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1305f8b925fe92edf5fec183588dfc7db719180baffected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4cbb2360f4d8c29e67bc7a8bf6ba0ae096583923affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7187d145d9042b037e4f10538f70cf95e380219faffected
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