# CVE-2022-50433: efi: ssdt: Don't free memory if ACPI table was loaded successfully

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2025-10-01T11:42:11.444Z
- Modified: 2026-11-05T21:16:58.617Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

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

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3881ee0b1edce0ece72d24b7c74f46b73bd6dcba before 11497fd69cd2282538ec6eb4cda1d16fc061233d; from 3881ee0b1edce0ece72d24b7c74f46b73bd6dcba before 4b017e59f01097f19b938f6dc4dc2c4720701610; 6.0 (not affected: before 6.0; from 6.0.4 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 6.0 before 6.0.4; 6.1

## References

- <https://git.kernel.org/stable/c/11497fd69cd2282538ec6eb4cda1d16fc061233d> (patch)
- <https://git.kernel.org/stable/c/4b017e59f01097f19b938f6dc4dc2c4720701610> (patch)

## Sources

- CVE List: [CVE-2022-50433](https://www.cve.org/CVERecord?id=CVE-2022-50433), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50433](https://nvd.nist.gov/vuln/detail/CVE-2022-50433), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50433 · Whole record: https://cve.day/CVE-2022-50433.json · Rebuilt by cve.day 2026-11-25T22:58:21.216Z
