# CVE-2026-99256: dm cache: fix issue with background work locking

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-11-03T11:25:14.077Z
- **Modified:** 2026-11-03T12:17:32.437Z

## Who should check

- Anyone running Linux \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 0c7a8cad7c96012a9157a189649e569d0390f384; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< f5db935d257023c3ef410bd39163b949b0e5a55d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 8433fd005c25fd127021f67c9144a879fb585572; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 2f2cfa16dd0f4179bb988139dd37d00a42324f6c; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 73df2ff409f3db95029982fe3656329568e3715d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 104f09e02038b0fc6bbb718b3976af029e15c1d0; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< bc9781c0247de107876f32929f1637db93a42b34
- Anyone running Linux 4.12

## Description

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

dm cache: fix issue with background work locking

dm cache used a rw\_semaphore for background\_work\_lock. Write locks on
rw\_semaphores have strict owner semantics, but there was no guarantee
that the process that locked background\_work\_lock was the same process
that unlocked it. This can be easily seen using a kernel compiled with
CONFIG\_DEBUG\_RWSEMS. Given a dm cache device \<cache\>, run: 'dmsetup
suspend \<cache\> && dmsetup resume \<cache\>'. This will trigger a kernel
warning:

DEBUG\_RWSEMS\_WARN\_ON((rwsem\_owner(sem) != current) && !rwsem\_test\_oflags(sem, RWSEM\_NONSPINNABLE))

triggered by cache\_resume(). To fix this, switch from a rw\_semaphore to
a spinlock and a wait queue. dm cache already has a wait queue and
associated counter, migration\_wait and nr\_allocated\_migrations, that was
getting woken up when background work was getting completed, but wasn't
actually used by anything. This is replaced by the background\_work queue
and counter.

## Affected and fixed versions

- Linux: \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 0c7a8cad7c96012a9157a189649e569d0390f384; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< f5db935d257023c3ef410bd39163b949b0e5a55d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 8433fd005c25fd127021f67c9144a879fb585572; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 2f2cfa16dd0f4179bb988139dd37d00a42324f6c; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 73df2ff409f3db95029982fe3656329568e3715d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 104f09e02038b0fc6bbb718b3976af029e15c1d0; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< bc9781c0247de107876f32929f1637db93a42b34 (cvelist)
- Linux: 4.12 (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-2026-99256. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99256.md
Affected: Linux >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 0c7a8cad7c96012a9157a189649e569d0390f384; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < f5db935d257023c3ef410bd39163b949b0e5a55d; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4; >= b29d4986d0da1a27cd35917…
Fixed in: Linux 0c7a8cad7c96012a9157a189649e569d0390f384, Linux 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4, Linux 8433fd005c25fd127021f67c9144a879fb585572, Linux 2f2cfa16dd0f4179bb988139dd37d00a42324f6c, Linux 73df2ff409f3db95029982fe3656329568e3715d, Linux 104f09e02038b0fc6bbb718b3976af029e15c1d0

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-2026-99256 being exploited?

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

### How serious is CVE-2026-99256?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99256?

Linux \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 0c7a8cad7c96012a9157a189649e569d0390f384; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< f5db935d257023c3ef410bd39163b949b0e5a55d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 8433fd005c25fd127021f67c9144a879fb585572; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 2f2cfa16dd0f4179bb988139dd37d00a42324f6c; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 73df2ff409f3db95029982fe3656329568e3715d; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 104f09e02038b0fc6bbb718b3976af029e15c1d0; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< bc9781c0247de107876f32929f1637db93a42b34; Linux 4.12.

### Is there a fix for CVE-2026-99256?

Yes. Fixed in Linux 0c7a8cad7c96012a9157a189649e569d0390f384, Linux 6290507ecc0dd6dd40759729cbbbd49b1d2a63c4, Linux 8433fd005c25fd127021f67c9144a879fb585572, Linux 2f2cfa16dd0f4179bb988139dd37d00a42324f6c, Linux 73df2ff409f3db95029982fe3656329568e3715d, Linux 104f09e02038b0fc6bbb718b3976af029e15c1d0. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99256?

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

- other: <https://git.kernel.org/stable/c/0c7a8cad7c96012a9157a189649e569d0390f384>
- other: <https://git.kernel.org/stable/c/f5db935d257023c3ef410bd39163b949b0e5a55d>
- other: <https://git.kernel.org/stable/c/6290507ecc0dd6dd40759729cbbbd49b1d2a63c4>
- other: <https://git.kernel.org/stable/c/8433fd005c25fd127021f67c9144a879fb585572>
- other: <https://git.kernel.org/stable/c/2f2cfa16dd0f4179bb988139dd37d00a42324f6c>
- other: <https://git.kernel.org/stable/c/73df2ff409f3db95029982fe3656329568e3715d>
- other: <https://git.kernel.org/stable/c/104f09e02038b0fc6bbb718b3976af029e15c1d0>
- other: <https://git.kernel.org/stable/c/bc9781c0247de107876f32929f1637db93a42b34>

## 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-2026-99256>

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