CVE Vulnerabilities

CVE-2022-32478

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Feb 15, 2023 | Modified: Feb 23, 2023
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

An issue was discovered in Insyde InsydeH2O with kernel 5.0 through 5.5. DMA attacks on the IdeBusDxe shared buffer used by SMM and non-SMM code could cause TOCTOU race-condition issues that could lead to corruption of SMRAM and escalation of privileges. This attack can be mitigated using IOMMU protection for the ACPI runtime memory used for the command buffer. This attack can be mitigated by copying the firmware block services data to SMRAM before checking it.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Insydeh2o Insyde 5.0 (including) 5.0.05.09.42 (excluding)
Insydeh2o Insyde 5.1 (including) 5.1.05.17.42 (excluding)
Insydeh2o Insyde 5.2 (including) 5.2.05.27.38 (excluding)
Insydeh2o Insyde 5.3 (including) 5.3.05.36.27 (excluding)
Insydeh2o Insyde 5.4 (including) 5.4.05.44.27 (excluding)

Potential Mitigations

References