CVE-2024-35939 Affecting kernel-rt-debug-modules-extra package, versions <0:4.18.0-553.27.1.rt7.368.el8_10


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-KERNELRTDEBUGMODULESEXTRA-8364059
  • published9 Nov 2024
  • disclosed19 May 2024

Introduced: 19 May 2024

CVE-2024-35939  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 kernel-rt-debug-modules-extra to version 0:4.18.0-553.27.1.rt7.368.el8_10 or higher.
This issue was patched in RLSA-2024:8870.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-debug-modules-extra package and not the kernel-rt-debug-modules-extra package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1