Bug 2313122 (CVE-2024-46774) - CVE-2024-46774 kernel: powerpc/rtas: Prevent Spectre v1 gadget construction in sys_rtas()
Summary: CVE-2024-46774 kernel: powerpc/rtas: Prevent Spectre v1 gadget construction i...
Keywords:
Status: NEW
Alias: CVE-2024-46774
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2313229
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-18 08:22 UTC by OSIDB Bzimport
Modified: 2026-10-23 03:38 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-18 08:22:32 UTC
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.

Comment 3 harryy 2026-02-04 04:01:37 UTC Comment hidden (spam)
Comment 4 Wesley Goodman 2026-10-23 03:38:05 UTC
I totally get how tricky it can be to navigate kernel vulnerabilities like CVE-2024-46774! It reminds me of when I was debugging my own system and kept running into security issues. What are your thoughts on the best practices for preventing these kinds of exploits? https://apacitation-generator.com


Note You need to log in before you can comment on or make changes to this bug.