Vulnerability in Linux

CVE-2022-48730

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]

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS 0.003, 17.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions c02a81fba74fe3488ad6b08bfb5a1329005418f8, 5.6, 0
  • Linux Kernel — versions 5.17

Weakness classification (CWE)

References