ksmbd: fix race condition between session lookup and expire (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.49 % · centile 42 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
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.
Faiblesses (CWE)
- CWE-362 — Situation de compétition
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2023-57105
- GCVE · GCVE-0-2023-52480
Avis du CERT-FR
- CERTFR-2024-AVI-0333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0301 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.15 < 5.15.145cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.57cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.5.7cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected a6a9601ba995d0fec635324cb9fd8d14f9bea14e < c77fd3e25a51ac92b0f1b347a96eff6a0b4f066f ; affected 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d < a2ca5fd3dbcc665e1169044fa0c9e3eba779202b ; affected ea174a91893956450510945a0c5d1a10b5323656 < 18ced78b0ebccc2d16f426143dc56ab3aad666be ; affected ea174a91893956450510945a0c5d1a10b5323656 < 53ff5cf89142b978b1a5ca8dc4d4425e6a09745f ; affected 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a ; affected 6775ee7ef4b37c521aa4cf3730f54554c4875542 |
| Linux · Linux | affected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.1.57 ≤ 6.1.* ; unaffected 6.5.7 ≤ 6.5.* ; unaffected 6.6 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |