Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

dma-direct: Leak pages on dma_set_decrypted() failure

CVSS 3.1 9.3 CRITICALCheck source for fixed versionsKEV status unknown

cve-program · CVE-2024-35939

Published

In the Linux kernel, the following vulnerability has been resolved: dma-direct: Leak pages on dma_set_decrypted() failure On TDX it is possible for the untrusted host to cause set_memory_encrypted() or set_memory_decrypted() to fail such that an error is returned and the resulting memory is shared. Callers need to take care to handle these errors to avoid returning decrypted (shared) memory to the page allocator, which could lead to functional or security issues. DMA could free decrypted/shared pages if dma_set_decrypted() fails. This should be a rare case. Just leak the pages in this case instead of freeing them.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-35939

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/dma/direct.c"
                    ],
                    "versions": [
                        {
                            "version": "56fccf21d1961a06e2a0c96ce446ebf036651062",
                            "lessThan": "4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "56fccf21d1961a06e2a0c96ce446ebf036651062",
                            "lessThan": "4031b72ca747a1e6e9ae4fa729e765b43363d66a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "56fccf21d1961a06e2a0c96ce446ebf036651062",
                            "lessThan": "b57326c96b7bc7638aa8c44e12afa2defe0c934c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "56fccf21d1961a06e2a0c96ce446ebf036651062",
                            "lessThan": "b9fa16949d18e06bdf728a560f5c8af56d2bdcaf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "91c7b0407ca6a62c095d265f76926b67bf66c026",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.7.7",
                            "lessThan": "5.8",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/dma/direct.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.86",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.27",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8.6",
                            "lessThanOrEqual": "6.8.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.9",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 03:08 UTC · 274 of 275 readable · 269 fully read · documentation 469/469 current