CVE-2023-53047
published high CVSS 3.1 · 7.8tee: amdtee: fix race condition in amdtee_open_session
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < f632a90f8e39db39b322107b9a8d438b826a7f4f · 757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < 02b296978a2137d7128151c542e84dc96400bc00 · 757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < a63cce9393e4e7dbc5af82dc87e68cb321cb1a78 · 757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < b3ef9e6fe09f1a132af28c623edcf4d4f39d9f35 · 757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < f8502fba45bd30e1a6a354d9d898bc99d1a11e6d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.177 through 5.10.* (unaffected · semver) · 5.15.105 through 5.15.* (unaffected · semver) · 6.1.22 through 6.1.* (unaffected · semver) · 6.2.9 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.0.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-284.131.1.el9_2 | RHSA-2025:14003 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tee: amdtee: fix race condition in amdtee_open_session There is a potential race condition in amdtee_open_session that may lead to use-after-free. For instance, in amdtee_open_session() after sess->sess_mask is set, and before setting: sess->session_info[i] = session_info; if amdtee_close_session() closes this same session, then 'sess' data structure will be released, causing kernel panic when 'sess' is accessed within amdtee_open_session(). The solution is to set the bit sess->sess_mask as the last step in amdtee_open_session().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached via local TEE ioctls (TEE_IOC_OPEN_SESSION / TEE_IOC_CLOSE_SESSION) on /dev/tee*, not via network packet processing or adjacent-link protocols. AC:L - The attacker drives both sides of the race with concurrent open/close ioctls on the same context; after one successful open the ta_handle is known and further session IDs are computable, and the window spans the slow TEE firmware open call. PR:L - tee_open/ioctl paths have no capability checks; access depends on /dev/tee* permissions, which are commonly 0660 root:tee and usable by unprivileged processes in the tee group (or equivalent Android/embedded TEE clients). UI:N - Exploitation requires only the attacker's own open/close ioctl sequence; no separate victim action is needed. S:U - This is a host-kernel use-after-free enabling privilege escalation within the same OS security authority, not a VM escape or IOMMU/sandbox boundary cross. C:H - The race frees struct amdtee_session while open_session still accesses it; that UAF can be turned into an arbitrary kernel read via heap reuse. I:H - The same UAF of the session object enables heap spraying and write/control-flow primitives for integrity compromise or code execution. A:H - The commit documents kernel panic on the freed sess access, and UAFs reliably cause oops/panic even when not fully exploited.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < f632a90f8e39db39b322107b9a8d438b826a7f4f (affected · git)757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < 02b296978a2137d7128151c542e84dc96400bc00 (affected · git)757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < a63cce9393e4e7dbc5af82dc87e68cb321cb1a78 (affected · git)757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < b3ef9e6fe09f1a132af28c623edcf4d4f39d9f35 (affected · git)757cc3e9ff1d72d014096399d6e2bf03974d9da1 to < f8502fba45bd30e1a6a354d9d898bc99d1a11e6d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.177 through 5.10.* (unaffected · semver)5.15.105 through 5.15.* (unaffected · semver)6.1.22 through 6.1.* (unaffected · semver)6.2.9 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/02b296978a2137d7128151c542e84dc96400bc00
- https://git.kernel.org/stable/c/a63cce9393e4e7dbc5af82dc87e68cb321cb1a78
- https://git.kernel.org/stable/c/b3ef9e6fe09f1a132af28c623edcf4d4f39d9f35
- https://git.kernel.org/stable/c/f632a90f8e39db39b322107b9a8d438b826a7f4f
- https://git.kernel.org/stable/c/f8502fba45bd30e1a6a354d9d898bc99d1a11e6d
Provider assertions
1Linux · cna
tee: amdtee: fix race condition in amdtee_open_session
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc49bb2b11616e641e59a68b3124cf719722ccc203b210159d5a894741b89bc9
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record