smb/server: fix refcount leak in smb2_open() (Linux Linux)

CVE-2025-71223
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix refcount leak in smb2_open() When ksmbd_vfs_getattr() fails, the reference count of ksmbd_file must be released.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8df4bcdb0a4232192b2445256c39b787d58ef14d < 2456fde2b137703328f1695f60c68fe488d17e36 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < 39ca11ff158c98fb092176f06047628c54bcf7a1 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < 4665e52bde3b1f8f442895ce7d88fa62a43e48c4 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < f416c556997aa56ec4384c6b6efd6a0e6ac70aa7 ; affected 6.6.32 < 6.6.124
Linux · Linuxaffected 6.9 ; unaffected 0 < 6.9 ; unaffected 6.6.124 ≤ 6.6.* ; unaffected 6.12.70 ≤ 6.12.* ; unaffected 6.18.10 ≤ 6.18.* ; unaffected 6.19 ≤ *

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