# CVE-2024-35805: dm snapshot: fix lockup in dm_exception_table_exit

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-05-17T13:23:13.554Z
- Modified: 2026-10-15T01:17:46.540Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

dm snapshot: fix lockup in dm_exception_table_exit

There was reported lockup when we exit a snapshot with many exceptions.
Fix this by adding "cond_resched" to the loop that frees the exceptions.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e7d4cff57c3c43fdd72342c78d4138f509c7416e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9759ff196e7d248bcf8386a7451d6ff8537a7d9c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 116562e804ffc9dc600adab6326dde31d72262c7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3d47eb405781cc5127deca9a14e24b27696087a1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e50f83061ac250f90710757a3e51b70a200835e2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fa5c055800a7fd49a36bbb52593aca4ea986a366; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5f4ad4d0b0943296287313db60b3f84df4aad683; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6e7132ed3c07bd8a6ce3db4bb307ef2852b322dc; 2.6.12 (not affected: before 2.6.12; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.84; from 6.2 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/e7d4cff57c3c43fdd72342c78d4138f509c7416e> (patch)
- <https://git.kernel.org/stable/c/9759ff196e7d248bcf8386a7451d6ff8537a7d9c> (patch)
- <https://git.kernel.org/stable/c/116562e804ffc9dc600adab6326dde31d72262c7> (patch)
- <https://git.kernel.org/stable/c/3d47eb405781cc5127deca9a14e24b27696087a1> (patch)
- <https://git.kernel.org/stable/c/e50f83061ac250f90710757a3e51b70a200835e2> (patch)
- <https://git.kernel.org/stable/c/fa5c055800a7fd49a36bbb52593aca4ea986a366> (patch)
- <https://git.kernel.org/stable/c/5f4ad4d0b0943296287313db60b3f84df4aad683> (patch)
- <https://git.kernel.org/stable/c/6e7132ed3c07bd8a6ce3db4bb307ef2852b322dc> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35805](https://www.cve.org/CVERecord?id=CVE-2024-35805), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35805](https://nvd.nist.gov/vuln/detail/CVE-2024-35805), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35805 · Whole record: https://cve.day/CVE-2024-35805.json · Rebuilt by cve.day 2026-11-25T22:58:40.518Z
