---
id: CVE-2024-35805
title: |-
  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 loo…
summary: |-
  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 loo…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-667
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.4.274
  - 'linux_kernel >= 5.5, < 5.10.215'
  - 'linux_kernel >= 5.11, < 5.15.154'
  - 'linux_kernel >= 5.16, < 6.1.84'
  - 'linux_kernel >= 6.2, < 6.6.24'
  - 'linux_kernel >= 6.7, < 6.7.12'
  - 'linux_kernel >= 6.8, < 6.8.3'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.3
published: '2024-05-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:46.540'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-35805'
references:
  - url: 'https://git.kernel.org/stable/c/116562e804ffc9dc600adab6326dde31d72262c7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3d47eb405781cc5127deca9a14e24b27696087a1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5f4ad4d0b0943296287313db60b3f84df4aad683'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6e7132ed3c07bd8a6ce3db4bb307ef2852b322dc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9759ff196e7d248bcf8386a7451d6ff8537a7d9c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e50f83061ac250f90710757a3e51b70a200835e2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e7d4cff57c3c43fdd72342c78d4138f509c7416e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fa5c055800a7fd49a36bbb52593aca4ea986a366'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/116562e804ffc9dc600adab6326dde31d72262c7'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3d47eb405781cc5127deca9a14e24b27696087a1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/5f4ad4d0b0943296287313db60b3f84df4aad683'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/6e7132ed3c07bd8a6ce3db4bb307ef2852b322dc'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/9759ff196e7d248bcf8386a7451d6ff8537a7d9c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e50f83061ac250f90710757a3e51b70a200835e2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e7d4cff57c3c43fdd72342c78d4138f509c7416e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/fa5c055800a7fd49a36bbb52593aca4ea986a366'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00181
epssPercentile: 0.07325
ingestedAt: '2026-10-15T03:30:12.679Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T15:42:41.586817Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.4.274`
- `linux_kernel >= 5.5, < 5.10.215`
- `linux_kernel >= 5.11, < 5.15.154`
- `linux_kernel >= 5.16, < 6.1.84`
- `linux_kernel >= 6.2, < 6.6.24`
- `linux_kernel >= 6.7, < 6.7.12`
- `linux_kernel >= 6.8, < 6.8.3`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.3`
