CVE-2024-53148
comedi: Flush partial mappings in error case
Check your servers for CVE-2024-53148
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-53148 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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").
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before 57f048c2d205b85e34282a9b0b0ae177e84c2f44 affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before b9322408d83accc8b96322bc7356593206288c56 affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before 8797b7712de704dc231f9e821d8eb3b9aeb3a032 affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before 16c507df509113c037cdc0ba642b9ab3389bd26c affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before 9b07fb464eb69a752406e78e62ab3a60bfa7b00d affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before c6963a06ce5c61d3238751ada04ee1569663a828 affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before 297f14fbb81895f4ccdb0ad25d196786d6461e00 affected from ed9eccbe8970f6eedc1b978c157caf1251a896d4, before ce8f9fb651fac95dd41f69afe54d935420b945bd
Other versions: unaffected
|
| Linux |
affected 2.6.29 unaffected before 2.6.29 unaffected from 5.4.287 up to and including 5.4.* unaffected from 5.10.231 up to and including 5.10.* unaffected from 5.15.174 up to and including 5.15.* unaffected from 6.1.120 up to and including 6.1.* unaffected from 6.6.64 up to and including 6.6.* unaffected from 6.11.11 up to and including 6.11.* unaffected from 6.12.2 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-53148 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53148
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-53148
trivy image --scanners vuln IMAGE | grep CVE-2024-53148
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/57f048c2d205b85e34282a9b0b0ae177e84c2f44 git.kernel.org
- https://git.kernel.org/stable/c/b9322408d83accc8b96322bc7356593206288c56 git.kernel.org
- https://git.kernel.org/stable/c/8797b7712de704dc231f9e821d8eb3b9aeb3a032 git.kernel.org
- https://git.kernel.org/stable/c/16c507df509113c037cdc0ba642b9ab3389bd26c git.kernel.org
- https://git.kernel.org/stable/c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d git.kernel.org
- https://git.kernel.org/stable/c/c6963a06ce5c61d3238751ada04ee1569663a828 git.kernel.org
- https://git.kernel.org/stable/c/297f14fbb81895f4ccdb0ad25d196786d6461e00 git.kernel.org
- https://git.kernel.org/stable/c/ce8f9fb651fac95dd41f69afe54d935420b945bd git.kernel.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 lists.debian.org
Source: the record CVE-2024-53148 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse