Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2024-46774
HistorySep 18, 2024 - 8:15 a.m.

CVE-2024-46774

2024-09-1808:15:05
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
linux kernel
vulnerability
cve-2024-46774
spectre
powerpc
rtas
smatch
array index nospec

EPSS

0

Percentile

9.6%

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

powerpc/rtas: Prevent Spectre v1 gadget construction in sys_rtas()

Smatch warns:

arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
spectre issue ‘args.args’ [r] (local cap)

The ‘nargs’ and ‘nret’ locals come directly from a user-supplied
buffer and are used as indexes into a small stack-based array and as
inputs to copy_to_user() after they are subject to bounds checks.

Use array_index_nospec() after the bounds checks to clamp these values
for speculative execution.

EPSS

0

Percentile

9.6%

Related for NVD:CVE-2024-46774