[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091904-CVE-2025-39849-c414@gregkh>
Date: Fri, 19 Sep 2025 17:28:13 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39849: wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
If the ssid->datalen is more than IEEE80211_MAX_SSID_LEN (32) it would
lead to memory corruption so add some bounds checking.
The Linux kernel CVE team has assigned CVE-2025-39849 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1.16 with commit dd43f8f90206054e7da7593de0a334fb2cd0ea88 and fixed in 6.1.151 with commit 8e751d46336205abc259ed3990e850a9843fb649
Issue introduced in 6.3 with commit c38c701851011c94ce3be1ccb3593678d2933fd8 and fixed in 6.6.105 with commit e472f59d02c82b511bc43a3f96d62ed08bf4537f
Issue introduced in 6.3 with commit c38c701851011c94ce3be1ccb3593678d2933fd8 and fixed in 6.12.46 with commit 31229145e6ba5ace3e9391113376fa05b7831ede
Issue introduced in 6.3 with commit c38c701851011c94ce3be1ccb3593678d2933fd8 and fixed in 6.16.6 with commit 5cb7cab7adf9b1e6a99e2081b0e30e9e59d07523
Issue introduced in 6.3 with commit c38c701851011c94ce3be1ccb3593678d2933fd8 and fixed in 6.17-rc5 with commit 62b635dcd69c4fde7ce1de4992d71420a37e51e3
Issue introduced in 6.2.3 with commit bf3c348c5fdcf00a7eeed04a1b83e454d2dca2e5
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39849
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/wireless/sme.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/8e751d46336205abc259ed3990e850a9843fb649
https://git.kernel.org/stable/c/e472f59d02c82b511bc43a3f96d62ed08bf4537f
https://git.kernel.org/stable/c/31229145e6ba5ace3e9391113376fa05b7831ede
https://git.kernel.org/stable/c/5cb7cab7adf9b1e6a99e2081b0e30e9e59d07523
https://git.kernel.org/stable/c/62b635dcd69c4fde7ce1de4992d71420a37e51e3
Powered by blists - more mailing lists