# CVE-2024-56755: netfs/fscache: Add a memory barrier for FSCACHE\_VOLUME\_CREATING

> 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, CNA) `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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-29T11:30:19.795Z
- **Modified:** 2026-06-17T08:12:54.910Z

## Who should check

- Anyone running Linux \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< ddab02607eed9e415dc62fde421d4329e5345315; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 539fabba965e119b98066fc6ba5257b5eaf4eda2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8beb682cc9a0798a280bbb95e3e41617237090b2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 22f9400a6f3560629478e0a64247b8fcc811a24d
- Anyone running Linux 5.17

## Description

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

netfs/fscache: Add a memory barrier for FSCACHE\_VOLUME\_CREATING

In fscache\_create\_volume(), there is a missing memory barrier between the
bit-clearing operation and the wake-up operation. This may cause a
situation where, after a wake-up, the bit-clearing operation hasn't been
detected yet, leading to an indefinite wait. The triggering process is as
follows:

  \[cookie1\]                \[cookie2\]                  \[volume\_work\]
fscache\_perform\_lookup
  fscache\_create\_volume
                        fscache\_perform\_lookup
                          fscache\_create\_volume
			                        fscache\_create\_volume\_work
                                                  cachefiles\_acquire\_volume
                                                  clear\_and\_wake\_up\_bit
    test\_and\_set\_bit
                            test\_and\_set\_bit
                              goto maybe\_wait
      goto no\_wait

In the above process, cookie1 and cookie2 has the same volume. When cookie1
enters the -no\_wait- process, it will clear the bit and wake up the waiting
process. If a barrier is missing, it may cause cookie2 to remain in the
-wait- process indefinitely.

In commit 3288666c7256 ("fscache: Use clear\_and\_wake\_up\_bit() in
fscache\_create\_volume\_work()"), barriers were added to similar operations
in fscache\_create\_volume\_work(), but fscache\_create\_volume() was missed.

By combining the clear and wake operations into clear\_and\_wake\_up\_bit() to
fix this issue.

## Affected and fixed versions

- Linux: \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< ddab02607eed9e415dc62fde421d4329e5345315; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 539fabba965e119b98066fc6ba5257b5eaf4eda2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8beb682cc9a0798a280bbb95e3e41617237090b2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 22f9400a6f3560629478e0a64247b8fcc811a24d (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 22f9400a6f3560629478e0a64247b8fcc811a24d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56755.md
Affected: Linux >= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, < ddab02607eed9e415dc62fde421d4329e5345315; >= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, < 539fabba965e119b98066fc6ba5257b5eaf4eda2; >= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, < 8beb682cc9a0798a280bbb95e3e41617237090b2; >= bfa22da3ed652aa15acd424…
Fixed in: Linux 539fabba965e119b98066fc6ba5257b5eaf4eda2, Linux 8beb682cc9a0798a280bbb95e3e41617237090b2, Linux 8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6, Linux 22f9400a6f3560629478e0a64247b8fcc811a24d

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

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

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

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

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

Linux \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< ddab02607eed9e415dc62fde421d4329e5345315; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 539fabba965e119b98066fc6ba5257b5eaf4eda2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8beb682cc9a0798a280bbb95e3e41617237090b2; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6; \>= bfa22da3ed652aa15acd4246fa13a0de6dbe4a59, \< 22f9400a6f3560629478e0a64247b8fcc811a24d; Linux 5.17.

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

Yes. Fixed in Linux 539fabba965e119b98066fc6ba5257b5eaf4eda2, Linux 8beb682cc9a0798a280bbb95e3e41617237090b2, Linux 8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6, Linux 22f9400a6f3560629478e0a64247b8fcc811a24d. Upgrade Linux to 22f9400a6f3560629478e0a64247b8fcc811a24d or later.

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

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/ddab02607eed9e415dc62fde421d4329e5345315>
- patch: <https://git.kernel.org/stable/c/539fabba965e119b98066fc6ba5257b5eaf4eda2>
- patch: <https://git.kernel.org/stable/c/8beb682cc9a0798a280bbb95e3e41617237090b2>
- patch: <https://git.kernel.org/stable/c/8cc1df3113cb71a0df2c46dd5b102c9e11c8a8c6>
- patch: <https://git.kernel.org/stable/c/22f9400a6f3560629478e0a64247b8fcc811a24d>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.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-56755>

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