# CVE-2025-38157: wifi: ath9k\_htc: Abort software beacon handling if disabled

> 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-07-03T08:35:59.734Z
- **Modified:** 2026-11-05T21:18:11.883Z

## Who should check

- Anyone running Linux \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< e5ce9df1d68094d37360dbd9b09289d42fa21e54; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 0281c19074976ec48f0078d50530b406ddae75bc; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 7ee3fb6258da8c890a51b514f60d7570dc703605; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 40471b23147c86ea3ed97faee79937c618250bd0; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5482ef9875eaa43f0435e14570e1193823de857e; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ee5ee646385f5846dcbc881389f3c44a197c402a; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5a85c21f812e02cb00ca07007d88acdd42d08c46; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ac4e317a95a1092b5da5b9918b7118759342641c
- Anyone running Linux 3.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath9k\_htc: Abort software beacon handling if disabled

A malicious USB device can send a WMI\_SWBA\_EVENTID event from an
ath9k\_htc-managed device before beaconing has been enabled. This causes
a device-by-zero error in the driver, leading to either a crash or an
out of bounds read.

Prevent this by aborting the handling in ath9k\_htc\_swba() if beacons are
not enabled.

## Affected and fixed versions

- Linux: \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< e5ce9df1d68094d37360dbd9b09289d42fa21e54; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 0281c19074976ec48f0078d50530b406ddae75bc; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 7ee3fb6258da8c890a51b514f60d7570dc703605; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 40471b23147c86ea3ed97faee79937c618250bd0; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5482ef9875eaa43f0435e14570e1193823de857e; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ee5ee646385f5846dcbc881389f3c44a197c402a; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5a85c21f812e02cb00ca07007d88acdd42d08c46; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ac4e317a95a1092b5da5b9918b7118759342641c (cvelist)
- Linux: 3.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38157.md
Affected: Linux >= 832f6a18fc2aead14954c081ece03b7a5b425f81, < e5ce9df1d68094d37360dbd9b09289d42fa21e54; >= 832f6a18fc2aead14954c081ece03b7a5b425f81, < 0281c19074976ec48f0078d50530b406ddae75bc; >= 832f6a18fc2aead14954c081ece03b7a5b425f81, < 7ee3fb6258da8c890a51b514f60d7570dc703605; >= 832f6a18fc2aead14954c08…
Fixed in: Linux 0281c19074976ec48f0078d50530b406ddae75bc, Linux 7ee3fb6258da8c890a51b514f60d7570dc703605, Linux 40471b23147c86ea3ed97faee79937c618250bd0, Linux 5482ef9875eaa43f0435e14570e1193823de857e, Linux 5a85c21f812e02cb00ca07007d88acdd42d08c46

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-38157 being exploited?

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

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

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

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

Linux \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< e5ce9df1d68094d37360dbd9b09289d42fa21e54; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 0281c19074976ec48f0078d50530b406ddae75bc; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 7ee3fb6258da8c890a51b514f60d7570dc703605; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 40471b23147c86ea3ed97faee79937c618250bd0; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5482ef9875eaa43f0435e14570e1193823de857e; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ee5ee646385f5846dcbc881389f3c44a197c402a; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< 5a85c21f812e02cb00ca07007d88acdd42d08c46; \>= 832f6a18fc2aead14954c081ece03b7a5b425f81, \< ac4e317a95a1092b5da5b9918b7118759342641c; Linux 3.0.

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

Yes. Fixed in Linux 0281c19074976ec48f0078d50530b406ddae75bc, Linux 7ee3fb6258da8c890a51b514f60d7570dc703605, Linux 40471b23147c86ea3ed97faee79937c618250bd0, Linux 5482ef9875eaa43f0435e14570e1193823de857e, Linux 5a85c21f812e02cb00ca07007d88acdd42d08c46. No fix listed yet: follow the vendor advisory.

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

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/e5ce9df1d68094d37360dbd9b09289d42fa21e54>
- patch: <https://git.kernel.org/stable/c/0281c19074976ec48f0078d50530b406ddae75bc>
- patch: <https://git.kernel.org/stable/c/7ee3fb6258da8c890a51b514f60d7570dc703605>
- patch: <https://git.kernel.org/stable/c/40471b23147c86ea3ed97faee79937c618250bd0>
- patch: <https://git.kernel.org/stable/c/5482ef9875eaa43f0435e14570e1193823de857e>
- patch: <https://git.kernel.org/stable/c/ee5ee646385f5846dcbc881389f3c44a197c402a>
- patch: <https://git.kernel.org/stable/c/5a85c21f812e02cb00ca07007d88acdd42d08c46>
- patch: <https://git.kernel.org/stable/c/ac4e317a95a1092b5da5b9918b7118759342641c>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.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-38157>

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