cve.bz

CVE-2024-26787

5.5 mediumEPSS 0.2%Fix available

Medium (5.5). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: mmc: mmci: stm32: fix DMA API overlapping mappings warning Turning on CONFIG_DMA_API_DEBUG_SG results in the following warning: DMA-API: mmci-pl18x 48220000.mmc: cacheline tracking EEXIST, overlapping mappings aren't supported WARNING: CPU: 1 PID: 51 at kernel/dma/debug.c:568 add_dma_entry+0x234/0x2f4 Modules linked in: CPU: 1 PID: 51 Comm: kworker/1:2 Not tainted 6.1.28 #1 Hardware name: STMicroelectronics STM32MP257F-EV1 Evaluation Board (DT) Workqueue: events_freezable mmc_rescan Call trace: add_dma_entry+0x234/0x2f4 debug_dma_map_sg+0x198/0x350 __dma_map_sg_attrs+0xa0/0x110 dma_map_sg_attrs+0x10/0x2c sdmmc_idma_prep_data+0x80/0xc0 mmci_prep_data+0x38/0x84 mmci_start_data+0x108/0x2dc mmci_request+0xe4/0x190 __mmc_start_request+0x68/0x140 mmc_start_request+0x94/0xc0 mmc_wait_for_req+0x70/0x100 mmc_send_tuning+0x108/0x1ac sdmmc_execute_tuning+0x14c/0x210 mmc_execute_tuning+0x48/0xec mmc_sd_init_uhs_card.part.0+0x208/0x464 mmc_sd_init_card+0x318/0x89c mmc_attach_sd+0xe4/0x180 mmc_rescan+0x244/0x320 DMA API debug brings to light leaking dma-mappings as dma_map_sg and dma_unmap_sg are not correctly balanced. If an error occurs in mmci_cmd_irq function, only mmci_dma_error function is called and as this API is not managed on stm32 variant, dma_unmap_sg is never called in this error path.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26787 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26787?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26787?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26787 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-26787

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-26787](https://cve.bz/cve/badge/CVE-2024-26787.svg)](https://cve.bz/cve/CVE-2024-26787)

HTML:

<a href="https://cve.bz/cve/CVE-2024-26787"><img src="https://cve.bz/cve/badge/CVE-2024-26787.svg" alt="CVE-2024-26787"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.20 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.213
Linux5.155.15.152
Linux6.16.1.81
Linux6.66.6.21
Linux6.76.7.9
Linuxlater releases6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian11linux5.10.216-1DSA-5681-1
Debian12linux6.1.82-1DEBIAN-CVE-2024-26787
Debian13, 14linux6.7.9-1DEBIAN-CVE-2024-26787
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-26787
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-26787
Ubuntu20.04:LTSlinux5.4.0-196.216UBUNTU-CVE-2024-26787 USN-7022-1
Ubuntu20.04:LTSlinux-aws5.4.0-1133.143UBUNTU-CVE-2024-26787 USN-7022-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1063.69~20.04.1UBUNTU-CVE-2024-26787 USN-6821-3
Ubuntu20.04:LTSlinux-azure5.4.0-1138.145UBUNTU-CVE-2024-26787 USN-7022-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1065.74~20.04.1UBUNTU-CVE-2024-26787
Ubuntu20.04:LTSlinux-bluefield5.4.0-1093.100UBUNTU-CVE-2024-26787 USN-7022-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1137.146UBUNTU-CVE-2024-26787 USN-7022-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1062.70~20.04.1UBUNTU-CVE-2024-26787 USN-6820-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-26787
Ubuntu20.04:LTSlinux-gkeop5.4.0-1100.104UBUNTU-CVE-2024-26787 USN-7022-1
52 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_141-150500.11.5.1SUSE-SU-2024:1663-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_131-150500.11.3.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-docs, kernel-source, kernel-obs-build5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-syms5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
SUSELinux Enterprise Module for Public Cloud 15 SP5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
SUSEReal Time Module 15 SP5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 5 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
Alpaquita23linux-lts6.1.81-r0BELL-CVE-2024-26787
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-26787

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26787.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON