CVE-2024-53148

MEDIUM EPSS 12.4%
Published Dec 24, 20241y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Dec 24, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: Flush partial mappings in error case If some remap_pfn_range() calls succeeded before one failed, we still have buffer pages mapped into the userspace page tables when we drop the buffer reference with comedi_buf_map_put(bm). The userspace mappings are only cleaned up later in the mmap error path. Fix it by explicitly flushing all mappings in our VMA on the error path. See commit 79a61cc3fc04 ("mm: avoid leaving partial pfn mappings around in error case").

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
12.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥2.6.29  –  <5.4.287
linuxlinux_kernel*≥5.5  –  <5.10.231
linuxlinux_kernel*≥5.11  –  <5.15.174
linuxlinux_kernel*≥5.16  –  <6.1.120
linuxlinux_kernel*≥6.2  –  <6.6.64
linuxlinux_kernel*≥6.7  –  <6.11.11
linuxlinux_kernel*≥6.12  –  <6.12.2

References 10

  • git.kernel.org https://git.kernel.org/stable/c/16c507df509113c037cdc0ba642b9ab3389bd26c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/297f14fbb81895f4ccdb0ad25d196786d6461e00
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/57f048c2d205b85e34282a9b0b0ae177e84c2f44
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8797b7712de704dc231f9e821d8eb3b9aeb3a032
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b9322408d83accc8b96322bc7356593206288c56
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c6963a06ce5c61d3238751ada04ee1569663a828
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ce8f9fb651fac95dd41f69afe54d935420b945bd
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/16c507df509113c037cdc0ba642b9ab3389bd26c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/297f14fbb81895f4ccdb0ad25d196786d6461e00
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/57f048c2d205b85e34282a9b0b0ae177e84c2f44
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8797b7712de704dc231f9e821d8eb3b9aeb3a032
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b9322408d83accc8b96322bc7356593206288c56
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c6963a06ce5c61d3238751ada04ee1569663a828
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ce8f9fb651fac95dd41f69afe54d935420b945bd
    Patch