{"schema":"threatline.record/2","record":{"id":"CVE-2026-99136","aliases":[],"summary":"dm-crypt: fix a tiny race condition in crypt_dec_pending","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-crypt: fix a tiny race condition in crypt_dec_pending\n\ncrypt_dec_pending reads io->error before calling atomic_dec_and_test.\nAnother context, for example crypt_endio called from an interrupt, may\nset io->error and drop its reference between the read and the\ndecrement. crypt_dec_pending then drops the last reference and completes\nthe bio with the stale status - so a read that failed and was never\ndecrypted, or a write that failed, is reported as successful.\n\nThe read was placed before the decrement by commit b35f8caa0890 (\"dm\ncrypt: wait for endio to complete before destruction\"), because that\ncommit freed dm_crypt_io before calling bio_endio. This is no longer the\ncase, dm_crypt_io lives in the per-bio data now.\n\nRead io->error after atomic_dec_and_test instead. atomic_dec_and_test is\nfully ordered, so no additional barrier is needed.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","source_modified_at":"2026-10-28T10:34:48.558Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"b35f8caa0890169000fec22902290d9a15274cbd","lessThan":"ac5d887ab93592fc5e3605fe30c1d8d232d609b3","status":"affected","versionType":"git"},{"version":"b35f8caa0890169000fec22902290d9a15274cbd","lessThan":"4f16bb982b27b9f5a15301f622c318001fe521f8","status":"affected","versionType":"git"},{"version":"b35f8caa0890169000fec22902290d9a15274cbd","lessThan":"148845aa1921d95ef5dc851c76e6a284f6657df6","status":"affected","versionType":"git"},{"version":"9c8f3fcd3ffd3283cc0971c8919058356f20a963","status":"affected","versionType":"git"},{"version":"2.6.28.9","lessThan":"2.6.29","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","source_modified_at":"2026-10-28T10:34:48.558Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"2.6.29","status":"affected"},{"version":"0","lessThan":"2.6.29","status":"unaffected","versionType":"semver"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","source_modified_at":"2026-10-28T10:34:48.558Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"4f16bb982b27b9f5a15301f622c318001fe521f8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","source_modified_at":"2026-10-28T10:34:48.558Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"148845aa1921d95ef5dc851c76e6a284f6657df6","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","source_modified_at":"2026-10-28T10:34:48.558Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"2.6.29","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T10:34:48.558Z","modified_at":"2026-10-28T10:34:48.558Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99136","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-10-28T10:34:48.558Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/ac5d887ab93592fc5e3605fe30c1d8d232d609b3"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/4f16bb982b27b9f5a15301f622c318001fe521f8"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/148845aa1921d95ef5dc851c76e6a284f6657df6"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T10:34:48.558Z","content_hash":"2c23dc79aa11c8e6669bbf7afed6fab544afaa4e44c5bf04e6e9fa5d08e74e53"}}
