ksmbd: fix null pointer dereference in alloc_preauth_hash() (Linux Linux)

CVE-2025-22037
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 69.51 % · centile 99 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in alloc_preauth_hash() The Client send malformed smb2 negotiate request. ksmbd return error response. Subsequently, the client can send smb2 session setup even thought conn->preauth_info is not allocated. This patch add KSMBD_SESS_NEED_SETUP status of connection to ignore session setup request if smb2 negotiate phase is not complete.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < 2d3461d6ae74ebdcd4d65128c855198649bcadcd ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < cce57cd8c5dead24127cf2308fdd60fcad2d6ba6 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < b8eb243e670ecf30e91524dd12f7260dac07d335 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.107 ≤ 6.6.* ; unaffected 6.12.23 ≤ 6.12.* ; unaffected 6.13.11 ≤ 6.13.*

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