ksmbd: fix use-after-free in kerberos authentication (Linux Linux)

CVE-2025-37924
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 24.55 % · centile 98 ()
É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 use-after-free in kerberos authentication Setting sess->user = NULL was introduced to fix the dangling pointer created by ksmbd_free_user. However, it is possible another thread could be operating on the session and make use of sess->user after it has been passed to ksmbd_free_user but before sess->user is set to NULL.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < e34a33d5d7e87399af0a138bb32f6a3e95dd83d2 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < b447463562238428503cfba1c913261047772f90 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < e18c616718018dfc440e4a2d2b94e28fe91b1861 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 28c756738af44a404a91b77830d017bb0c525890 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < e86e9134e1d1c90a960dd57f59ce574d27b9a124
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.138 ≤ 6.1.* ; unaffected 6.6.90 ≤ 6.6.* ; unaffected 6.12.28 ≤ 6.12.* ; unaffected 6.14.6 ≤ 6.14.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD