# CVE-2024-56700: media: wl128x: Fix atomicity violation in fmc\_send\_cmd()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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-29)
- **CWE:** CWE-476
- **Published:** 2024-12-28T09:46:22.770Z
- **Modified:** 2026-06-17T08:12:46.647Z

## Who should check

- Anyone running Linux \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d16109c9fdc1b8cea4fe63b42e06e926c3f68990; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 3c818ad07e964bca3d27adac1e1f50e1e3c9180e; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d7408a052aa1b4f6fb6f1c7a8877b84017a07ac9; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ed228b74d8a500380150965d5becabf9a1e33141; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 372dc9509122e5d45d4c12978e31c3c7d00aaca4; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 2e63c908de357048180516b84740ed62dac0b269; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 80a3b2ee01eecf22dfa06968b3cde92c691dea10; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ca59f9956d4519ab18ab2270be47c6b8c6ced091
- Anyone running Linux 2.6.39

## Description

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

media: wl128x: Fix atomicity violation in fmc\_send\_cmd()

Atomicity violation occurs when the fmc\_send\_cmd() function is executed
simultaneously with the modification of the fmdev-\>resp\_skb value.
Consider a scenario where, after passing the validity check within the
function, a non-null fmdev-\>resp\_skb variable is assigned a null value.
This results in an invalid fmdev-\>resp\_skb variable passing the validity
check. As seen in the later part of the function, skb = fmdev-\>resp\_skb;
when the invalid fmdev-\>resp\_skb passes the check, a null pointer
dereference error may occur at line 478, evt\_hdr = (void \*)skb-\>data;

To address this issue, it is recommended to include the validity check of
fmdev-\>resp\_skb within the locked section of the function. This
modification ensures that the value of fmdev-\>resp\_skb does not change
during the validation process, thereby maintaining its validity.

This possible bug is found by an experimental static analysis tool
developed by our team. This tool analyzes the locking APIs
to extract function pairs that can be concurrently executed, and then
analyzes the instructions in the paired functions to identify possible
concurrency bugs including data races and atomicity violations.

## Affected and fixed versions

- Linux: \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d16109c9fdc1b8cea4fe63b42e06e926c3f68990; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 3c818ad07e964bca3d27adac1e1f50e1e3c9180e; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d7408a052aa1b4f6fb6f1c7a8877b84017a07ac9; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ed228b74d8a500380150965d5becabf9a1e33141; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 372dc9509122e5d45d4c12978e31c3c7d00aaca4; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 2e63c908de357048180516b84740ed62dac0b269; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 80a3b2ee01eecf22dfa06968b3cde92c691dea10; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ca59f9956d4519ab18ab2270be47c6b8c6ced091 (cvelist)
- Linux: 2.6.39 (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-2024-56700. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56700.md
Affected: Linux >= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, < d16109c9fdc1b8cea4fe63b42e06e926c3f68990; >= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, < 3c818ad07e964bca3d27adac1e1f50e1e3c9180e; >= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, < d7408a052aa1b4f6fb6f1c7a8877b84017a07ac9; >= e8454ff7b9a4d56f02c095b…
Fixed in: Linux 3c818ad07e964bca3d27adac1e1f50e1e3c9180e, Linux 372dc9509122e5d45d4c12978e31c3c7d00aaca4, Linux 378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8, Linux 2e63c908de357048180516b84740ed62dac0b269, Linux 80a3b2ee01eecf22dfa06968b3cde92c691dea10

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-2024-56700 being exploited?

There is no confirmed exploitation: CVE-2024-56700 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-29).

### How serious is CVE-2024-56700?

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

### Which versions are affected by CVE-2024-56700?

Linux \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d16109c9fdc1b8cea4fe63b42e06e926c3f68990; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 3c818ad07e964bca3d27adac1e1f50e1e3c9180e; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< d7408a052aa1b4f6fb6f1c7a8877b84017a07ac9; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ed228b74d8a500380150965d5becabf9a1e33141; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 372dc9509122e5d45d4c12978e31c3c7d00aaca4; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 2e63c908de357048180516b84740ed62dac0b269; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< 80a3b2ee01eecf22dfa06968b3cde92c691dea10; \>= e8454ff7b9a4d56f02c095bff12d3c92ef4c7fa6, \< ca59f9956d4519ab18ab2270be47c6b8c6ced091; Linux 2.6.39.

### Is there a fix for CVE-2024-56700?

Yes. Fixed in Linux 3c818ad07e964bca3d27adac1e1f50e1e3c9180e, Linux 372dc9509122e5d45d4c12978e31c3c7d00aaca4, Linux 378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8, Linux 2e63c908de357048180516b84740ed62dac0b269, Linux 80a3b2ee01eecf22dfa06968b3cde92c691dea10. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56700?

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/d16109c9fdc1b8cea4fe63b42e06e926c3f68990>
- patch: <https://git.kernel.org/stable/c/3c818ad07e964bca3d27adac1e1f50e1e3c9180e>
- patch: <https://git.kernel.org/stable/c/d7408a052aa1b4f6fb6f1c7a8877b84017a07ac9>
- patch: <https://git.kernel.org/stable/c/ed228b74d8a500380150965d5becabf9a1e33141>
- patch: <https://git.kernel.org/stable/c/372dc9509122e5d45d4c12978e31c3c7d00aaca4>
- patch: <https://git.kernel.org/stable/c/378ce4e08ca2b1ac7bbf1d57b68643ca4226c5f8>
- patch: <https://git.kernel.org/stable/c/2e63c908de357048180516b84740ed62dac0b269>
- patch: <https://git.kernel.org/stable/c/80a3b2ee01eecf22dfa06968b3cde92c691dea10>
- patch: <https://git.kernel.org/stable/c/ca59f9956d4519ab18ab2270be47c6b8c6ced091>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.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-2024-56700>

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