2084AI Security Observatory

CVE

CVE-2025-22040

CVE-2025-22040HIGH 8.8EPSS 55%

CNA description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session use-after-free in multichannel connection There is a race condition between session setup and ksmbd_sessions_deregister. The session can be freed before the connection is added to channel list of session. This patch check reference count of session before freeing it.

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.23Fixed in 6.12.23
  • ≥ 6.2, < 6.6.87Fixed in 6.6.87
  • ≥ 5.15, < 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

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.