CVE-2024-27410
published high CVSS 3.1 · 7.8wifi: nl80211: reject iftype change with mesh ID change
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < 930e826962d9f01dcd2220176134427358d112f2 · 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < 177d574be4b58f832354ab1ef5a297aa0c9aa2df · 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838 · 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < f78c1375339a291cba492a70eaf12ec501d28a8e · 7a53ad13c09150076b7ddde96c2dfc5622c90b45 · 5.19.2 to < 5.20 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.81 through 6.1.* (unaffected · semver) · 6.6.21 through 6.6.* (unaffected · semver) · 6.7.9 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Debian | buster | linux | Advisory build | 4.19.316-1 | DLA-3840-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: reject iftype change with mesh ID change It's currently possible to change the mesh ID when the interface isn't yet in mesh mode, at the same time as changing it into mesh mode. This leads to an overwrite of data in the wdev->u union for the interface type it currently has, causing cfg80211_change_iface() to do wrong things when switching. We could probably allow setting an interface to mesh while setting the mesh ID at the same time by doing a different order of operations here, but realistically there's no userspace that's going to do this, so just disallow changes in iftype when setting mesh ID.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered entirely through local interfaces — an nl80211 generic-netlink `NL80211_CMD_SET_INTERFACE` message to plant the corrupted length, then a local `SIOCGIWESSID` ioctl or `NL80211_CMD_GET_INTERFACE` to weaponize it. No radio frames or remote peer data are involved. AC:L - Exploitation is fully deterministic: a single netlink message containing `NL80211_ATTR_IFTYPE=MESH_POINT`, a ≥5-byte `NL80211_ATTR_MESH_ID`, and `NL80211_ATTR_4ADDR=1` on a down ADHOC interface reliably sets `wdev->u.ibss.ssid_len` to an attacker-chosen value and returns before the sanitizing memset. There is no race, no memory-layout dependency, and no condition outside the attacker's control. PR:L - `NL80211_CMD_SET_INTERFACE` is gated by `GENL_UNS_ADMIN_PERM`, the user-namespace-aware CAP_NET_ADMIN check, which an unprivileged user obtains via `unshare -Urn`; `mac80211_hwsim`'s radio-creation command is namespace-aware in the same way, giving a wiphy inside that namespace. The weaponizing steps (`SIOCGIWESSID`, `NL80211_CMD_GET_INTERFACE`) require no privileges at all. UI:N - The attacker performs every step — creating/selecting the interface, setting it to ADHOC while down, sending the malformed SET_INTERFACE, and issuing the read. No victim action is required. S:U - The type-confused write and the resulting heap overflow stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The corrupted `ibss.ssid_len` (up to 255) causes up to ~223 bytes past the 32-byte SSID buffer to be copied to userspace via `NL80211_ATTR_SSID` and via the `SIOCGIWESSID` `copy_to_user()` from a 32-byte slab object, disclosing adjacent kernel memory including `wdev->links[]` heap pointers — well beyond a "few bytes" bounded read. I:H - `cfg80211_ibss_wext_giwessid()` performs an unchecked `memcpy` of up to 255 bytes into the 32-byte `kzalloc` buffer allocated by `ioctl_standard_iw_point()`, giving an out-of-bounds slab write of up to 223 bytes with partially attacker-influenced content — a classic heap-corruption primitive. A:H - The out-of-bounds write smashes adjacent kmalloc-32 objects, producing KASAN BUG reports, slab corruption and kernel panics; on mesh-capable wiphys the same bug additionally triggers a `WARN_ONCE` in `check_sdata_in_driver()` via a spurious `drv_leave_ibss()` on a down interface, which panics under `panic_on_warn`.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < 930e826962d9f01dcd2220176134427358d112f2 (affected · git)7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < 177d574be4b58f832354ab1ef5a297aa0c9aa2df (affected · git)7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838 (affected · git)7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to < f78c1375339a291cba492a70eaf12ec501d28a8e (affected · git)7a53ad13c09150076b7ddde96c2dfc5622c90b45 (affected · git)5.19.2 to < 5.20 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.81 through 6.1.* (unaffected · semver)6.6.21 through 6.6.* (unaffected · semver)6.7.9 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/063715c33b4c37587aeca2c83cf08ead0c542995
- https://git.kernel.org/stable/c/0cfbb26ee5e7b3d6483a73883f9f6157bca22ec9
- https://git.kernel.org/stable/c/177d574be4b58f832354ab1ef5a297aa0c9aa2df
- https://git.kernel.org/stable/c/930e826962d9f01dcd2220176134427358d112f2
- https://git.kernel.org/stable/c/99eb2159680af8786104dac80528acd5acd45980
- https://git.kernel.org/stable/c/a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838
- https://git.kernel.org/stable/c/d38d31bbbb9dc0d4d71a45431eafba03d0bc150d
- https://git.kernel.org/stable/c/f78c1375339a291cba492a70eaf12ec501d28a8e
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Provider assertions
3Linux · cna
wifi: nl80211: reject iftype change with mesh ID change
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6bfde39210f9eccb1b51c8c9824f5d6e71256c882f429d60197f21a775700f32
- Ingested
- 23 Sep 2026, 08:20:47 UTC
- Source record
- Official CVE record