{"id":"CVE-2024-46774","published":"2024-09-18T07:12:31Z","modified":"2026-05-11T20:36:13Z","title":"powerpc/rtas: Prevent Spectre v1 gadget construction in sys_rtas()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/rtas: Prevent Spectre v1 gadget construction in sys_rtas()\n\nSmatch warns:\n\n  arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential\n  spectre issue 'args.args' [r] (local cap)\n\nThe 'nargs' and 'nret' locals come directly from a user-supplied\nbuffer and are used as indexes into a small stack-based array and as\ninputs to copy_to_user() after they are subject to bounds checks.\n\nUse array_index_nospec() after the bounds checks to clamp these values\nfor speculative execution.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00265,"percentile":0.18764,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d2834ff1d9641a8695a09ea79cd901c7b6d4d05f","tags":[]},{"url":"https://git.kernel.org/stable/c/a262c2dc833f2fe1bd5c53a4d899e7077d3b1da9","tags":[]},{"url":"https://git.kernel.org/stable/c/b137af795399d8b657bad1646c18561530f35ed1","tags":[]},{"url":"https://git.kernel.org/stable/c/1f1feff02e9da0dd0cdb195c428c42b5f9b6c771","tags":[]},{"url":"https://git.kernel.org/stable/c/68d8156480940b79227d58865ec5d2947b9384a8","tags":[]},{"url":"https://git.kernel.org/stable/c/0974d03eb479384466d828d65637814bee6b26d7","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":3.75}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d2834ff1d9641a8695a09ea79cd901c7b6d4d05f",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a262c2dc833f2fe1bd5c53a4d899e7077d3b1da9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b137af795399d8b657bad1646c18561530f35ed1",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1f1feff02e9da0dd0cdb195c428c42b5f9b6c771",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 68d8156480940b79227d58865ec5d2947b9384a8",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0974d03eb479384466d828d65637814bee6b26d7"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-29T14:39:52.775047Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42035","exploited":false,"provenance":"source"}}