ksmbd: fix use-after-free in __smb2_lease_break_noti() (Linux Linux)

CVE-2025-37777
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.37 % · centile 31 ()
É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 __smb2_lease_break_noti() Move tcp_transport free to ksmbd_conn_free. If ksmbd connection is referenced when ksmbd server thread terminates, It will not be freed, but conn->tcp_transport is freed. __smb2_lease_break_noti can be performed asynchronously when the connection is disconnected. __smb2_lease_break_noti calls ksmbd_conn_write, which can cause use-after-free when conn->ksmbd_transport is already freed.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/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 < 1da8bd9a10ecd718692732294d15fd801c0eabb5 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < e59796fc80603bcd8569d4d2e10b213c1918edb4 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.6.101 ≤ 6.6.* ; unaffected 6.12.26 ≤ 6.12.* ; unaffected 6.14.4 ≤ 6.14.* ; unaffected 6.15 ≤ *

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