wifi: cfg80211: reject duplicate wiphy cipher suite entries
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.
CVE-2026-97518
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97518
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2ab658f9ce218ae93b3d2db2b3fe68bfefb81196",
"lessThan": "d12e92e72db914e1ea777c6f246f6be75985438e",
"versionType": "git"
},
{
"status": "affected",
"version": "2ab658f9ce218ae93b3d2db2b3fe68bfefb81196",
"lessThan": "1305f8b925fe92edf5fec183588dfc7db719180b",
"versionType": "git"
},
{
"status": "affected",
"version": "2ab658f9ce218ae93b3d2db2b3fe68bfefb81196",
"lessThan": "4cbb2360f4d8c29e67bc7a8bf6ba0ae096583923",
"versionType": "git"
},
{
"status": "affected",
"version": "2ab658f9ce218ae93b3d2db2b3fe68bfefb81196",
"lessThan": "7187d145d9042b037e4f10538f70cf95e380219f",
"versionType": "git"
}
],
"programFiles": [
"net/wireless/core.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.32"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.32",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/wireless/core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97518
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48771 · Revision 1
- Added to Heist Feed
- Publisher date