---
id: CVE-2026-97518
title: |-
  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…
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…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    1305f8b925fe92edf5fec183588dfc7db719180b
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    4cbb2360f4d8c29e67bc7a8bf6ba0ae096583923
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    7187d145d9042b037e4f10538f70cf95e380219f
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-09-24'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T06:16:37.827'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97518'
references:
  - url: 'https://git.kernel.org/stable/c/1305f8b925fe92edf5fec183588dfc7db719180b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4cbb2360f4d8c29e67bc7a8bf6ba0ae096583923'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7187d145d9042b037e4f10538f70cf95e380219f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97518.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97518'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540382'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97518'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97518'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97518.mbox
  - url: 'https://git.kernel.org/stable/c/d12e92e72db914e1ea777c6f246f6be75985438e'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00157
epssPercentile: 0.04782
ingestedAt: '2026-09-24T16:47:15.859Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-787
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97518.json)
