# CVE-2025-37796: wifi: at76c50x: fix use after free access in at76\_disconnect

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-01T13:07:27.694Z
- **Modified:** 2026-06-17T09:15:27.390Z

## Who should check

- Anyone running Linux \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 3c619aec1f538333b56746d2f796aab1bca5c9a5; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 5e7df74745700f059dc117a620e566964a2e8f2c; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 7ca513631fa6ad3011b8b9197cdde0f351103704; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< a9682bfef2cf3802515a902e964d774e137be1b9; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 152721cbae42713ecfbca6847e0f102ee6b19546; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da
- Anyone running Linux 3.17

## 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.

## Affected and fixed versions

- Linux: \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 3c619aec1f538333b56746d2f796aab1bca5c9a5; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 5e7df74745700f059dc117a620e566964a2e8f2c; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 7ca513631fa6ad3011b8b9197cdde0f351103704; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< a9682bfef2cf3802515a902e964d774e137be1b9; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 152721cbae42713ecfbca6847e0f102ee6b19546; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37796. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37796.md
Affected: Linux >= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, < c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6; >= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, < 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f; >= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, < 3c619aec1f538333b56746d2f796aab1bca5c9a5; >= 29e20aa6c6aff35c81d4da2…
Fixed in: Linux 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f, Linux 3c619aec1f538333b56746d2f796aab1bca5c9a5, Linux 5e7df74745700f059dc117a620e566964a2e8f2c, Linux 7ca513631fa6ad3011b8b9197cdde0f351103704, Linux 152721cbae42713ecfbca6847e0f102ee6b19546, Linux 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37796 being exploited?

There is no confirmed exploitation: CVE-2025-37796 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37796?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37796?

Linux \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 3c619aec1f538333b56746d2f796aab1bca5c9a5; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 5e7df74745700f059dc117a620e566964a2e8f2c; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 7ca513631fa6ad3011b8b9197cdde0f351103704; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< a9682bfef2cf3802515a902e964d774e137be1b9; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 152721cbae42713ecfbca6847e0f102ee6b19546; \>= 29e20aa6c6aff35c81d4da2e2cd516dadb569061, \< 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da; Linux 3.17.

### Is there a fix for CVE-2025-37796?

Yes. Fixed in Linux 6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f, Linux 3c619aec1f538333b56746d2f796aab1bca5c9a5, Linux 5e7df74745700f059dc117a620e566964a2e8f2c, Linux 7ca513631fa6ad3011b8b9197cdde0f351103704, Linux 152721cbae42713ecfbca6847e0f102ee6b19546, Linux 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da. Upgrade Linux to 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da or later.

### How do I check if I'm affected by CVE-2025-37796?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c731cdfddcf1be1590d5ba8c9b508f98e3a2b3d6>
- patch: <https://git.kernel.org/stable/c/6e4ab3e574c2a335b40fa1f70d1c54fcb58ab33f>
- patch: <https://git.kernel.org/stable/c/3c619aec1f538333b56746d2f796aab1bca5c9a5>
- patch: <https://git.kernel.org/stable/c/5e7df74745700f059dc117a620e566964a2e8f2c>
- patch: <https://git.kernel.org/stable/c/7ca513631fa6ad3011b8b9197cdde0f351103704>
- patch: <https://git.kernel.org/stable/c/a9682bfef2cf3802515a902e964d774e137be1b9>
- patch: <https://git.kernel.org/stable/c/152721cbae42713ecfbca6847e0f102ee6b19546>
- patch: <https://git.kernel.org/stable/c/27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37796>

HTML: <https://flawdb.com/CVE-2025-37796> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37796>
