CVE-2026-99136

dm-crypt: fix a tiny race condition in crypt_dec_pending

  • High 7.0

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.

Key facts

Published
28 Oct 2026
Last changed
31 Oct 2026
Assigned by
Linux
EPSS
0.122% likely to be exploited in the next 30 days, higher than 2.037% of CVEs (scores for 16 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.0CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 445a6883f46d3ab1ff545199a8cc1d5834936d3f (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 6f82e86471c92fd874f2630c9a6af887f4ed1a77 (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 6ac8546df1f8a2b1ca7f6d67c269057a99fbbf8c (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 056bf8322e39a48026df352d6227ec03dd8cd032 (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding d9d7069bb79139271b54dc477f07e242c445de6b (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding ac5d887ab93592fc5e3605fe30c1d8d232d609b3 (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 4f16bb982b27b9f5a15301f622c318001fe521f8 (affected)
  • b35f8caa0890169000fec22902290d9a15274cbd up to but excluding 148845aa1921d95ef5dc851c76e6a284f6657df6 (affected)
  • 9c8f3fcd3ffd3283cc0971c8919058356f20a963 (affected)
  • 2.6.28.9 up to but excluding 2.6.29 (affected)
LinuxLinux
  • Default status: affected
  • 2.6.29 (affected)
  • 0 up to but excluding 2.6.29 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.161 up to and including 6.6.* (unaffected)
  • 6.12.115 up to and including 6.12.* (unaffected)
  • 6.18.59 up to and including 6.18.* (unaffected)
  • 7.2.13 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 28 Oct 2026 Published

References