Skip to content
Noroxi
CVE-2023-52503· NVD / CVE Program· CNA Linux

tee: amdtee: fix use-after-free vulnerability in amdtee_close_session

Noroxi assessment

Priority: Monitor (action score 28/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 1680c82929bc14d706065f123dab77f2f1293116, 1c95574350cd63bc3c5c2fa06658010768f2a0ce, 60c3e7a00db954947c265b55099c21b216f2a05c.
  • Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 1680c82929bc14d706065f123dab77f2f1293116, 1c95574350cd63bc3c5c2fa06658010768f2a0ce, 60c3e7a00db954947c265b55099c21b216f2a05c or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: tee: amdtee: fix use-after-free vulnerability in amdtee_close_session There is a potential race condition in amdtee_close_session that may cause use-after-free in amdtee_open_session. For instance, if a session has refcount == 1, and one thread tries to free this session via: kref_put(&sess->refcount, destroy_session); the reference count will get decremented, and the next step would be to call destroy_session(). However, if in another thread, amdtee_open_session() is called before destroy_session() has completed execution, alloc_session() may return 'sess' that will be freed up later in destroy_session() leading to use-after-free in amdtee_open_session. To fix this issue, treat decrement of sess->refcount and removal of 'sess' from session list in destroy_session() as a critical section, so that it is executed atomically.

HighCVSS 7.0 · v3.1—No exploit Fix available
Published
Mar 2, 2024
Updated
Aug 5, 2026
EPSS
0.2% · 16th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.0
CNA · Linux
7.8
0.8 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-52503

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.6 and later · before 5.10.199
  • linux linux kernel5.11 and later · before 5.15.136
  • linux linux kernel5.16 and later · before 6.1.59
  • linux linux kernel6.2 and later · before 6.5.8
  • linux linux kernel6.6

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.6affected
    • 5.10.199 and later · up to and including 5.10.*not affected · semver
    • 757cc3e9ff1d72d014096399d6e2bf03974d9da1 and later · before da7ce52a2f6c468946195b116615297d3d113a27affected · git
    • 757cc3e9ff1d72d014096399d6e2bf03974d9da1 and later · before 1680c82929bc14d706065f123dab77f2f1293116affected · git
    • 757cc3e9ff1d72d014096399d6e2bf03974d9da1 and later · before 60c3e7a00db954947c265b55099c21b216f2a05caffected · git
    • 757cc3e9ff1d72d014096399d6e2bf03974d9da1 and later · before 1c95574350cd63bc3c5c2fa06658010768f2a0ceaffected · git
    • 757cc3e9ff1d72d014096399d6e2bf03974d9da1 and later · before f4384b3e54ea813868bb81a861bf5b2406e15d8faffected · git
    • before 5.6not affected · semver
    • 5.15.136 and later · up to and including 5.15.*not affected · semver
    • 6.1.59 and later · up to and including 6.1.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.64-16.1.64-1
Debian:13linuxbefore 6.5.8-16.5.8-1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.7.16.4.0-150600.23.7.1
openSUSE:Leap 15.6kernel-64kbbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
openSUSE:Leap 15.6kernel-azurebefore 6.4.0-150600.8.5.46.4.0-150600.8.5.4
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
openSUSE:Leap 15.6kernel-defaultbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
openSUSE:Leap 15.6kernel-default-basebefore 6.4.0-150600.23.7.3.150600.12.2.76.4.0-150600.23.7.3.150600.12.2.7
openSUSE:Leap 15.6kernel-docsbefore 6.4.0-150600.23.7.46.4.0-150600.23.7.4
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
openSUSE:Leap 15.6kernel-obs-buildbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.7.16.4.0-150600.23.7.1
openSUSE:Leap 15.6kernel-rtbefore 6.4.0-150600.10.5.16.4.0-150600.10.5.1
openSUSE:Leap 15.6kernel-rt_debugbefore 6.4.0-150600.10.5.16.4.0-150600.10.5.1
openSUSE:Leap 15.6kernel-sourcebefore 6.4.0-150600.23.7.26.4.0-150600.23.7.2
openSUSE:Leap 15.6kernel-source-azurebefore 6.4.0-150600.8.5.46.4.0-150600.8.5.4
openSUSE:Leap 15.6kernel-source-rtbefore 6.4.0-150600.10.5.16.4.0-150600.10.5.1
openSUSE:Leap 15.6kernel-symsbefore 6.4.0-150600.23.7.16.4.0-150600.23.7.1
openSUSE:Leap 15.6kernel-syms-azurebefore 6.4.0-150600.8.5.16.4.0-150600.8.5.1
openSUSE:Leap 15.6kernel-syms-rtbefore 6.4.0-150600.10.5.16.4.0-150600.10.5.1
openSUSE:Leap 15.6kernel-zfcpdumpbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1before 1-150600.13.3.71-150600.13.3.7
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_1before 1-150600.1.5.11-150600.1.5.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kbbefore 6.4.0-150600.23.7.36.4.0-150600.23.7.3

+18

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now

Published before and after this one in the same product

  • ← EarlierCVE-2023-52501Mar 2, 2024 · ring-buffer: Do not attempt to read past "commit"
    28Monitor
  • ← EarlierCVE-2023-52502Mar 2, 2024 · net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    35Monitor
  • Later →CVE-2023-52504Mar 2, 2024 · x86/alternatives: Disable KASAN in apply_alternatives()
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux1680c82929bc14d706065f123dab77f2f1293116Vendor (CNA)
Linux Linux1c95574350cd63bc3c5c2fa06658010768f2a0ceVendor (CNA)
Linux Linux60c3e7a00db954947c265b55099c21b216f2a05cVendor (CNA)
Linux Linuxda7ce52a2f6c468946195b116615297d3d113a27Vendor (CNA)
Linux Linuxf4384b3e54ea813868bb81a861bf5b2406e15d8fVendor (CNA)
debian:linux6.1.64-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.4.0-150600.23.7.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-64kb6.4.0-150600.23.7.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.5.4 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-debug6.4.0-150600.23.7.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default6.4.0-150600.23.7.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default-base6.4.0-150600.23.7.3.150600.12.2.7 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-docs6.4.0-150600.23.7.4 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-kvmsmall6.4.0-150600.23.7.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-obs-build6.4.0-150600.23.7.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-obs-qa6.4.0-150600.23.7.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.5.4 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.5.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:kernel-64kb6.4.0-150600.23.7.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-azure6.4.0-150600.8.5.4 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-default6.4.0-150600.23.7.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-default-base6.4.0-150600.23.7.3.150600.12.2.7 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-docs6.4.0-150600.23.7.4 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_11-150600.13.3.7 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-obs-build6.4.0-150600.23.7.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-source6.4.0-150600.23.7.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-source-azure6.4.0-150600.8.5.4 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-syms6.4.0-150600.23.7.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-syms-azure6.4.0-150600.8.5.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-zfcpdump6.4.0-150600.23.7.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

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

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records