CVE-2024-27410

wifi: nl80211: reject iftype change with mesh ID change

State
Published
Severity
7.8 High
Published
May 17, 2024
Updated
Aug 5, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to before 930e826962d9f01dcd2220176134427358d112f2Affected
  • 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to before 177d574be4b58f832354ab1ef5a297aa0c9aa2dfAffected
  • 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to before a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838Affected
  • 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1 to before f78c1375339a291cba492a70eaf12ec501d28a8eAffected
  • 7a53ad13c09150076b7ddde96c2dfc5622c90b45Affected
  • 5.19.2 to before 5.20Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.81 through 6.1.*Not affected
  • 6.6.21 through 6.6.*Not affected
  • 6.7.9 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.