CVE-2023-52480ksmbd: fix race condition between session lookup and expire
- 9.8CriticalCVSS base score
- 0.49%Exploitation in 30 daysEPSS · top 57% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix race condition between session lookup and expire Thread A + Thread B ksmbd_session_lookup | smb2_sess_setup sess = xa_load | | | xa_erase(&conn->sessions, sess->id); | | ksmbd_session_destroy(sess) --> kfree(sess) | // UAF! | sess->last_active = jiffies | + This patch add rwsem to fix race condition between ksmbd_session_lookup and ksmbd_expire_session.
Timeline
ID reserved
By Linux
- 9 days later
· 9 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.49% · top 57% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected a6a9601ba995d0fec635324cb9fd8d14f9bea14e – < c77fd3e25a51ac92b0f1b347a96eff6a0b4f066f
- affected 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d – < a2ca5fd3dbcc665e1169044fa0c9e3eba779202b
- affected ea174a91893956450510945a0c5d1a10b5323656 – < 18ced78b0ebccc2d16f426143dc56ab3aad666be
- affected ea174a91893956450510945a0c5d1a10b5323656 – < 53ff5cf89142b978b1a5ca8dc4d4425e6a09745f
- affected 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a
- affected 6775ee7ef4b37c521aa4cf3730f54554c4875542
- affected 6.1.29 – < 6.1.57
- affected 6.2.16 – < 6.3
- affected 6.3.2 – < 6.4
- affected 6.4
- unaffected < 6.4
- unaffected 6.1.57 – ≤ 6.1.*
- unaffected 6.5.7 – ≤ 6.5.*
- unaffected 6.6 – ≤ *
References
References4
- https://git.kernel.org/stable/c/c77fd3e25a51ac92b0f1b347a96eff6a0b4f066f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a2ca5fd3dbcc665e1169044fa0c9e3eba779202b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/18ced78b0ebccc2d16f426143dc56ab3aad666be (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/53ff5cf89142b978b1a5ca8dc4d4425e6a09745f (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-57105 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-52480)Record last updated .