Re: CVE-2024-27410: wifi: nl80211: reject iftype change with mesh ID change

From: Siddh Raman Pant
Date: Wed May 22 2024 - 08:29:21 EST


On Fri, 17 May 2024 13:52:02 +0200, Greg Kroah-Hartman wrote:
> 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.
>
> [...]
>
> The Linux kernel CVE team has assigned CVE-2024-27410 to this issue.

This does not apply to versions below 6.0, as the union was not backported.
The fix commit mentioned is incorrect, it should be 7b0a0e3c3a88.

Thanks,
Siddh

Attachment: signature.asc
Description: This is a digitally signed message part