---
id: CVE-2024-43871
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  devres: Fix memory leakage caused by driver API devm_free_percpu()

  It will cause memory leakage when use driver API devm_free_percpu()
  to free memory allocated by devm…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  devres: Fix memory leakage caused by driver API devm_free_percpu()

  It will cause memory leakage when use driver API devm_free_percpu()
  to free memory allocated by devm…
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-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.10, < 4.19.320'
  - 'linux_kernel >= 4.20, < 5.4.282'
  - 'linux_kernel >= 5.5, < 5.10.224'
  - 'linux_kernel >= 5.11, < 5.15.165'
  - 'linux_kernel >= 5.16, < 6.1.103'
  - 'linux_kernel >= 6.2, < 6.6.44'
  - 'linux_kernel >= 6.7, < 6.10.3'
patched:
  - linux_kernel 6.10.3
published: '2024-08-21'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:48.340'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-43871'
references:
  - url: 'https://git.kernel.org/stable/c/3047f99caec240a88ccd06197af2868da1af6a96'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3dcd0673e47664bc6c719ad47dadac6d55d5950d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/700e8abd65b10792b2f179ce4e858f2ca2880f85'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/95065edb8ebb27771d5f1e898eef6ab43dc6c87c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b044588a16a978cd891cb3d665dd7ae06850d5bf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b67552d7c61f52f1271031adfa7834545ae99701'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bd50a974097bb82d52a458bd3ee39fb723129a0c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ef56dcdca8f2a53abc3a83d388b8336447533d85'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00239
epssPercentile: 0.14937
ingestedAt: '2026-10-15T03:30:12.736Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:06:19.881196Z'
---

## Overview

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

devres: Fix memory leakage caused by driver API devm_free_percpu()

It will cause memory leakage when use driver API devm_free_percpu()
to free memory allocated by devm_alloc_percpu(), fixed by using
devres_release() instead of devres_destroy() within devm_free_percpu().

## Affected

- `linux_kernel >= 4.10, < 4.19.320`
- `linux_kernel >= 4.20, < 5.4.282`
- `linux_kernel >= 5.5, < 5.10.224`
- `linux_kernel >= 5.11, < 5.15.165`
- `linux_kernel >= 5.16, < 6.1.103`
- `linux_kernel >= 6.2, < 6.6.44`
- `linux_kernel >= 6.7, < 6.10.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.10.3`
