CVE-2026-99136

dm-crypt: fix a tiny race condition in crypt_dec_pending

7.0 high EPSS 0.16%

Published 28 Oct 2026 Updated 31 Oct 2026 CNA: Linux

Check your servers for CVE-2026-99136

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99136 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

dm-crypt: fix a tiny race condition in crypt_dec_pending

crypt_dec_pending reads io->error before calling atomic_dec_and_test. Another context, for example crypt_endio called from an interrupt, may set io->error and drop its reference between the read and the decrement. crypt_dec_pending then drops the last reference and completes the bio with the stale status - so a read that failed and was never decrypted, or a write that failed, is reported as successful.

The read was placed before the decrement by commit b35f8caa0890 ("dm crypt: wait for endio to complete before destruction"), because that commit freed dm_crypt_io before calling bio_endio. This is no longer the case, dm_crypt_io lives in the per-bio data now.

Read io->error after atomic_dec_and_test instead. atomic_dec_and_test is fully ordered, so no additional barrier is needed.

Severity (CVSS)

7.0 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.47% of all scored CVEs. Scores of 28 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 445a6883f46d3ab1ff545199a8cc1d5834936d3f
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 6f82e86471c92fd874f2630c9a6af887f4ed1a77
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 6ac8546df1f8a2b1ca7f6d67c269057a99fbbf8c
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 056bf8322e39a48026df352d6227ec03dd8cd032
affected from b35f8caa0890169000fec22902290d9a15274cbd, before d9d7069bb79139271b54dc477f07e242c445de6b
affected from b35f8caa0890169000fec22902290d9a15274cbd, before ac5d887ab93592fc5e3605fe30c1d8d232d609b3
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 4f16bb982b27b9f5a15301f622c318001fe521f8
affected from b35f8caa0890169000fec22902290d9a15274cbd, before 148845aa1921d95ef5dc851c76e6a284f6657df6
affected 9c8f3fcd3ffd3283cc0971c8919058356f20a963
affected from 2.6.28.9, before 2.6.29
Other versions: unaffected
Linux
affected 2.6.29
unaffected before 2.6.29
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.161 up to and including 6.6.*
unaffected from 6.12.115 up to and including 6.12.*
unaffected from 6.18.59 up to and including 6.18.*
unaffected from 7.2.13 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99136 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99136

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99136
trivy image --scanners vuln IMAGE | grep CVE-2026-99136

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99136 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.