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

CVE-2025-22041
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.69 % · percentile 53 ()
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 ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
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 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < f0eb3f575138b816da74697bd506682574742fcd ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < a8a8ae303a8395cbac270b5b404d85df6ec788f8 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 8ed0e9d2f410f63525afb8351181eea36c80bcf1 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 33cc29e221df7a3085ae413e8c26c4e81a151153 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 15a9605f8d69dc85005b1a00c31a050b8625e1aa
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.134 ≤ 6.1.* ; unaffected 6.6.87 ≤ 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