VDB

CVE-2023-52503

CVE-2023-52503 PUBLISHED CVSS 7 HIGH

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.

EPSS 0.03% · 8.8th percentile

Risk Scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.03%
8.8th percentile

Affected Products

VendorProductVersions
LinuxLinux757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1
linuxlinux_kernel6.6, 6.6, 5.6

Timeline

  • Jan 21, 1970 Security Advisory
  • Mar 2, 2024 CVE Published
  • Mar 3, 2024 EPSS Score
  • Mar 29, 2024 EPSS Score
  • Apr 25, 2024 EPSS Score
  • May 21, 2024 EPSS Score
  • Jun 17, 2024 EPSS Score
  • Jul 13, 2024 EPSS Score
  • Aug 9, 2024 EPSS Score
  • Sep 4, 2024 EPSS Score
  • Oct 1, 2024 EPSS Score
  • Oct 5, 2024 Coalition ESS Score

References

…and 45 more

Open in Interactive Console →
$ Console Community · 100/wk Open console ›