CVE Database›Document archive›CVE-2022-48730

CVE-2022-48730

kernel: dma-buf: heaps: Fix potential spectre v1 gadget

Loading…

Severity

Low

Red Hat Product Security

5.1

CVSS 3.1

Review impact separately from score.

Published · June 20, 2024

Updated · November 21, 2025

Description

In the Linux kernel, the following vulnerability has been resolved:

dma-buf: heaps: Fix potential spectre v1 gadget

It appears like nr could be a Spectre v1 gadget as it's supplied by a user and used as an array index. Prevent the contents of kernel memory from being leaked to userspace via speculative execution by using array_index_nospec.

[sumits: added fixes and cc: stable tags]

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.1
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L

CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')