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.03% · 8.8th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1, 757cc3e9ff1d72d014096399d6e2bf03974d9da1 |
| linux | linux_kernel | 6.6, 6.6, 5.6 |
Exploit Intelligence
- https://git.kernel.org/stable/c/da7ce52a2f6c468946195b116615297d3d113a27 (circl)
- https://git.kernel.org/stable/c/1680c82929bc14d706065f123dab77f2f1293116 (circl)
- https://git.kernel.org/stable/c/60c3e7a00db954947c265b55099c21b216f2a05c (circl)
- https://git.kernel.org/stable/c/1c95574350cd63bc3c5c2fa06658010768f2a0ce (circl)
- https://git.kernel.org/stable/c/f4384b3e54ea813868bb81a861bf5b2406e15d8f (circl)
- TestCaseRule-CVE-2024-26934.yara (github-yara)
- TestCaseRule-CVE-2024-26934.yara (github-yara)
- TestCaseRule-CVE-2024-26934.yara (github-yara)
- TestCaseRule-CVE-2024-26934.yara (github-yara)
- TestCaseRule-CVE-2024-26934.yara (github-yara)
…and 1 more exploits
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-20241465-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241490-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241489-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241454-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241466-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20241480-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242115-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242143-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242147-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242165-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242135-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242139-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242189-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242166-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-20242191-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-20242149-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242207-1 advisory
- https://www.suse.com/support/update/announcement/2024/suse-su-20242216-1 advisory
…and 45 more