smb: client: fix missed ses refcounting (Linux Linux)

CVE-2023-54076
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.46 % · centile 39 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missed ses refcounting Use new cifs_smb_ses_inc_refcount() helper to get an active reference of @ses and @ses->dfs_root_ses (if set). This will prevent @ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses() and thus potentially causing an use-after-free bug.

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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 8e3554150d6c80a84b3cb046615d1a0e943811dc < eb382196e6f6e05cfafdab797840e5a96c6e7bf0 ; affected 8e3554150d6c80a84b3cb046615d1a0e943811dc < bf99f6be2d20146942bce6f9e90a0ceef12cbc1e ; affected f30d226bcc9f0e2d97b4a6e94c43a28148fbeab6 ; affected c082c3be0f96e759ff2e361d929832fda0b93851 ; affected 6.2.15 < 6.3 ; affected 6.3.2 < 6.4
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.4.7 ≤ 6.4.* ; unaffected 6.5 ≤ *

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