ACPI: RISC-V: Check acpi_get_handle() status in riscv_acpi_add_prt_dep()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ACPI: RISC-V: Check acpi_get_handle() status in riscv_acpi_add_prt_dep()
In riscv_acpi_add_prt_dep(), the acpi_get_handle() call can fail which would leave link_handle uninitialized.
Fix it by checking the acpi_get_handle() return status and skip the entry if it fails.
From the CVE record · Linux
In the Linux kernel’s RISC-V ACPI code, acpi_get_handle() can fail in riscv_acpi_add_prt_dep(), leaving link_handle uninitialized. The input does not describe an attacker-controlled impact or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel on RISC-V systems should check their kernel versions; affected versions are not specified.