Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails (Linux Linux)

CVE-2024-36913
CRITICAL 9.3

At a glance

Source
NVD
EPSS
EPSS 0.66 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails In CoCo VMs 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. VMBus code could free decrypted pages if set_memory_encrypted()/decrypted() fails. Leak the pages if this happens.

Weaknesses (CWE)

  • CWE-1258 — Exposure of Sensitive System Information Due to Uncleared Debug Information

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f2f136c05fb6093818a3b3fefcba46231ac66a62 < 7f2afcbfe4f6b6047b5f68db5067b7321e5be125 ; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 < 6123a4e8e25bd40cf44db14694abac00e6b664e6 ; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 < e813a0fc2e597146e9cebea61ced9c796d4e308f ; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 < 03f5a999adba062456c8c818a683beb1b498983a
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.143 ≤ 6.1.* ; unaffected 6.6.31 ≤ 6.6.* ; unaffected 6.8.10 ≤ 6.8.* ; unaffected 6.9 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD