[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050122-CVE-2025-37796-d6f9@gregkh>
Date: Thu, 1 May 2025 15:07:43 +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-37796: wifi: at76c50x: fix use after free access in at76_disconnect
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: at76c50x: fix use after free access in at76_disconnect
The memory pointed to by priv is freed at the end of at76_delete_device
function (using ieee80211_free_hw). But the code then accesses the udev
field of the freed object to put the USB device. This may also lead to a
memory leak of the usb device. Fix this by using udev from interface.
The Linux kernel CVE team has assigned CVE-2025-37796 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 6.1.135 with commit 5e7df74745700f059dc117a620e566964a2e8f2c
Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 6.6.88 with commit 7ca513631fa6ad3011b8b9197cdde0f351103704
Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 6.12.25 with commit a9682bfef2cf3802515a902e964d774e137be1b9
Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 6.14.4 with commit 152721cbae42713ecfbca6847e0f102ee6b19546
Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 6.15-rc3 with commit 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da
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-37796
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:
drivers/net/wireless/atmel/at76c50x-usb.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/5e7df74745700f059dc117a620e566964a2e8f2c
https://git.kernel.org/stable/c/7ca513631fa6ad3011b8b9197cdde0f351103704
https://git.kernel.org/stable/c/a9682bfef2cf3802515a902e964d774e137be1b9
https://git.kernel.org/stable/c/152721cbae42713ecfbca6847e0f102ee6b19546
https://git.kernel.org/stable/c/27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da
Powered by blists - more mailing lists