CVE-2023-52503
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.26% · 17.4th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1 |
| linux | linux_kernel | 6.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
- https://www.suse.com/support/update/announcement/2024/suse-su-20242165-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242183-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242208-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242216-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242184-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242121-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242164-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242163-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242148-1 advisory
- https://git.kernel.org/stable/c/da7ce52a2f6c468946195b116615297d3d113a27 url
- https://git.kernel.org/stable/c/1680c82929bc14d706065f123dab77f2f1293116 url
- https://git.kernel.org/stable/c/1c95574350cd63bc3c5c2fa06658010768f2a0ce url
- https://git.kernel.org/stable/c/f4384b3e54ea813868bb81a861bf5b2406e15d8f url
- https://git.kernel.org/stable/c/60c3e7a00db954947c265b55099c21b216f2a05c url
- https://nvd.nist.gov/vuln/detail/CVE-2023-52503 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242221-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242217-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241644-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241645-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242948-1 advisory
…and 45 more