ACPI: RISC-V: Fix riscv_acpi_add_prt_dep() loop handling
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3a56321d0aceee2a0bd80d23366401c131ff8350, Kernel 3fd86a5d6facb6618f63a76d499f28007cef878f, Kernel 41652ca8c6ff2b77b9780cbbb2f20f1551b9ff80 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ACPI: RISC-V: Fix riscv_acpi_add_prt_dep() loop handling The loop in riscv_acpi_add_prt_dep() includes error conditions that are handled in a dubious - if not outright wrong - way, by continuining the loop (which skips and misses the entry pointer update to point to the next entry). Rewrite the loop as a for loop (that handles the continuation correctly) and wrap the condition and update statements using helper functions to make it cleaner.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.12, >=1b173cc4bfcdcf4a49927952ba3a445c5b293723 <3a56321d0aceee2a0bd80d23366401c131ff8350, >=1b173cc4bfcdcf4a49927952ba3a445c5b293723 <3fd86a5d6facb6618f63a76d499f28007cef878f, >=1b173cc4bfcdcf4a49927952ba3a445c5b293723 <41652ca8c6ff2b77b9780cbbb2f20f1551b9ff80, >=1b173cc4bfcdcf4a49927952ba3a445c5b293723 <c9729ced165d6c5b57d99141b6632bb8711efec9 | 3a56321d0aceee2a0bd80d23366401c131ff8350, 3fd86a5d6facb6618f63a76d499f28007cef878f, 41652ca8c6ff2b77b9780cbbb2f20f1551b9ff80, c9729ced165d6c5b57d99141b6632bb8711efec9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket