CVE-2024-27410
JSON

7.8high

wifi: nl80211: reject iftype change with mesh ID change

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 before 930e826962d9f01dcd2220176134427358d112f2, from 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 before 177d574be4b58f832354ab1ef5a297aa0c9aa2df, from 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 before a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838, from 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 before f78c1375339a291cba492a70eaf12ec501d28a8e, 7a53ad13c09150076b7ddde96c2dfc5622c90b45, from 5.19.2 before 5.20, 6.0
Not affected: before 6.0, from 6.1.81 up to 6.1.*, from 6.6.21 up to 6.6.*, from 6.7.9 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 5.19.2 before 6.1.81, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8NVD
debian debian_linux10.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: wifi: nl80211: rechazar cambio de tipo con cambio de ID de malla Actualmente es posible cambiar el ID de malla cuando la interfaz aún no está en modo malla, al mismo tiempo que se cambia a modo malla. Esto lleva a una sobrescritura de datos en la unión wdev->u para el tipo de interfaz que tiene actualmente, causando que cfg80211_change_iface() haga cosas incorrectas al cambiar. Probablemente podríamos permitir configurar una interfaz para malla mientras configuramos la ID de malla al mismo tiempo haciendo un orden diferente de operaciones aquí, pero en realidad no hay ningún espacio de usuario que vaya a hacer esto, así que simplemente no permita cambios en iftype al configurar la ID de malla.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27410 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-27410 changed 2026-08-04Public domain