CVE
CVE-2025-22041
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.14, < 6.14.2Fixed in 6.14.2
- ≥ 6.13, < 6.13.11Fixed in 6.13.11
- ≥ 6.7, < 6.12.13Fixed in 6.12.13
- ≥ 6.2, < 6.6.87Fixed in 6.6.87
- < 6.1.134Fixed in 6.1.134
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/15a9605f8d69dc85005b1a00c31a050b8625e1aa · Patch
- git.kernel.org/stable/c/33cc29e221df7a3085ae413e8c26c4e81a151153 · Patch
- git.kernel.org/stable/c/8ed0e9d2f410f63525afb8351181eea36c80bcf1 · Patch
- git.kernel.org/stable/c/a8a8ae303a8395cbac270b5b404d85df6ec788f8 · Patch
- git.kernel.org/stable/c/ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b · Patch
- git.kernel.org/stable/c/f0eb3f575138b816da74697bd506682574742fcd · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.