CVE-2026-97518: wifi: cfg80211: reject duplicate wiphy cipher suite entries

Published Sep 24, 2026
·
Updated

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

wifi: cfg80211: reject duplicate wiphy cipher suite entries

Duplicate entries in wiphy->ciphersuites 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 iwrange::encodingsize array returned by SIOCGIWRANGE.

Reject duplicate cipher suite entries in wiphyregister() 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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reject duplicate cipher suite entries in wiphy_register() so malformed wiphy descriptions fail early with -EINVAL.

Event History

Sep 24, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
Description

Frequently Asked Questions

1

Which systems are exposed to the affected code path?

The affected consumer is the WEXT compatibility code handling SIOCGIWRANGE. Exposure requires a wireless PHY description containing repeated WEP cipher-suite entries.

2

What condition causes the overflow risk?

Each repeated WEP cipher entry causes the WEXT compatibility code to append another WEP key length. Enough repeated entries can overflow the fixed iw_range::encoding_size array returned by SIOCGIWRANGE.

3

How does the fix prevent the issue?

The fix validates cipher suites during wiphy_register() and rejects duplicate entries with -EINVAL. This prevents malformed wireless PHY descriptions from being registered rather than leaving individual consumers to handle duplicates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203