CVE-2022-50433
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 3881ee0b1edce0ece72d24b7c74f46b73bd6dcba < 11497fd69cd2282538ec6eb4cda1d16fc061233d | affected |
| Linux | Linux | 3881ee0b1edce0ece72d24b7c74f46b73bd6dcba < 4b017e59f01097f19b938f6dc4dc2c4720701610 | affected |
| Linux | Linux | 6.0 | affected |
| Linux | Linux | 0 < 6.0 | unaffected |
| Linux | Linux | 6.0.4 <= 6.0.* | unaffected |
| Linux | Linux | 6.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/11497fd69cd2282538ec6eb4cda1d16fc061233d
- https://git.kernel.org/stable/c/4b017e59f01097f19b938f6dc4dc2c4720701610
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.