| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37796: wifi: at76c50x: fix use after free access in at76_disconnect |
| |
| 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 5.4.293 with commit c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6 |
| Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 5.10.237 with commit 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f |
| Issue introduced in 3.17 with commit 29e20aa6c6aff35c81d4da2e2cd516dadb569061 and fixed in 5.15.181 with commit 3c619aec1f538333b56746d2f796aab1bca5c9a5 |
| 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 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/c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6 |
| https://git.kernel.org/stable/c/6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f |
| https://git.kernel.org/stable/c/3c619aec1f538333b56746d2f796aab1bca5c9a5 |
| 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 |