CVE Database›Document archive›CVE-2023-53047

CVE-2023-53047

kernel: tee: amdtee: fix race condition in amdtee_open_session

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · May 2, 2025

Updated · August 5, 2026

Description

A use-after-free vulnerability was found in the AMD TEE driver in the Linux kernel. The flaw occurs from a race condition in the amdtee_open_session() function, where the session is marked as active in sess->sess_mask before the corresponding sess structure is fully initialized. If a parallel thread invokes amdtee_close_session() during this window of time, it can lead to the structure being freed prematurely. This can lead to system instability, a denial of service, or remote code execution.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-826 · Premature Release of Resource During Expected Lifetime