Back

HIGH

efi: ssdt: Don't free memory if ACPI table was loaded successfully

Published Oct 1, 2025

Description

Amadeusz reports KASAN use-after-free errors introduced by commit 3881ee0b1edc ("efi: avoid efivars layer when loading SSDTs from variables"). The problem appears to be that the memory that holds the new ACPI table is now freed unconditionally, instead of only when the ACPI core reported a failure to load the table.

So let's fix this, by omitting the kfree() on success.

Affected products

Remediation

No remediation recorded yet.

References (8)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Oct 1, 2025
Updated May 11, 2026
Reserved Sep 17, 2025
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Oct 1, 2025
ENISA EUVD
Assigner Linux
Published Oct 1, 2025
Updated May 11, 2026
Exploited since n/a
EUVD-2025-32848