CVE-2026-53010

ksmbd: fix use-after-free in smb2_open during durable reconnect

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.44 % · percentile 39 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_open during durable reconnect In smb2_open, the call to ksmbd_put_durable_fd(fp) drops the reference to the durable file descriptor early during the durable reconnect process. If an error occurs subsequently (eg, ksmbd_iov_pin_rsp fails) or a scavenger accesses the file, it leads to a use-after-free when accessing fp properties (eg fp->create_time). Move the single put to the end of the function below err_out2 so fp stays valid until smb2_open returns.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8df4bcdb0a4232192b2445256c39b787d58ef14d < f0ff7f12398e85b3a11745ff7feab6246f3d75c2 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < 4db3dcac84c2f14a45ae201efb38de1fb1bfc009 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < ce2e164c1c51c3f7813b80f8c926836e896bcbb3 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < 97a0cd55283b4e63fd92804da91c8d9896adcad9 ; affected c8efcc786146a951091588e5fa7e3c754850cb3c < 1baff47b81f94f9231c91236aa511420d0e266b9 ; affected 6.6.32 < 6.6.157
Linux · Linuxaffected 6.9 ; unaffected 0 < 6.9 ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.33 ≤ 6.18.* ; unaffected 7.0.10 ≤ 7.0.*

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