CVE-2025-37899
ksmbd: fix use-after-free in session logoff
02 Description
ksmbd: fix use-after-free in session logoff
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.88% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 58.9% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-07-30.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-05-20 15:21Z1 YR AGO
- Last updated
- 2026-08-05 11:58Z2 MO AGO
- Reserved
- 2025-04-16
- Assigning CNA
- Linux
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- fbe772b603c7157322135d8a6db8b3e5a29debd5585ab7193654d992bf0d6322
05 Affected products
06 References
- git.kernel.orghttps://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- git.kernel.orghttps://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342
- git.kernel.orghttps://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f
- git.kernel.orghttps://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43
- git.kernel.orghttps://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b
- sean.heelan.iohttps://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/
- news.ycombinator.comhttps://news.ycombinator.com/item?id=44081338
07 Fixed in
Debian 12
- linux Fixed in 6.1.159-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 6.12.29-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 6.12.29-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.4 No fix yet
- linux-gkeop-5.4 No fix yet
- linux-hwe No fix yet
- linux-hwe-edge No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux-aws-5.11 No fix yet
- linux-aws-5.13 No fix yet
- linux-aws-5.8 No fix yet
- linux-azure-5.11 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.8 No fix yet
- linux-azure-fde No fix yet
- linux-gcp-5.11 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.8 No fix yet
- linux-gke No fix yet
- linux-gke-5.15 No fix yet
- linux-gkeop No fix yet
- linux-gkeop-5.15 No fix yet
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.8 No fix yet
- linux-intel-5.13 No fix yet
- linux-oem-5.10 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.14 No fix yet
- linux-oem-5.6 No fix yet
- linux-oracle-5.11 No fix yet
- linux-oracle-5.13 No fix yet
- linux-oracle-5.8 No fix yet
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.11 No fix yet
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux No fix yet
- linux-allwinner-5.19 No fix yet
- linux-aws No fix yet
- linux-aws-5.19 No fix yet
- linux-aws-6.2 No fix yet
- linux-aws-6.5 No fix yet
- linux-aws-6.8 Fixed in 6.8.0-1047.50~22.04.1
- linux-azure No fix yet
- linux-azure-5.19 No fix yet
- linux-azure-6.2 No fix yet
- linux-azure-6.5 No fix yet
- linux-azure-6.8 Fixed in 6.8.0-1051.57~22.04.1
- linux-azure-fde No fix yet
- linux-azure-fde-5.19 No fix yet
- linux-azure-fde-6.2 No fix yet
- linux-azure-fde-6.8 Fixed in 6.8.0-1058.65~22.04.1
- linux-gcp No fix yet
- linux-gcp-5.19 No fix yet
- linux-gcp-6.2 No fix yet
- linux-gcp-6.5 No fix yet
- linux-gcp-6.8 Fixed in 6.8.0-1048.51~22.04.1
- linux-gke No fix yet
- linux-gkeop No fix yet
- linux-hwe-5.19 No fix yet
- linux-hwe-6.2 No fix yet
- linux-hwe-6.5 No fix yet
- linux-hwe-6.8 Fixed in 6.8.0-101.101~22.04.1
- linux-ibm No fix yet
- linux-ibm-6.8 Fixed in 6.8.0-1045.45~22.04.1
- linux-intel-iot-realtime No fix yet
- linux-intel-iotg No fix yet
- linux-kvm No fix yet
- linux-lowlatency No fix yet
- linux-lowlatency-hwe-5.19 No fix yet
- linux-lowlatency-hwe-6.2 No fix yet
- linux-lowlatency-hwe-6.5 No fix yet
- linux-lowlatency-hwe-6.8 Fixed in 6.8.0-101.101.1~22.04.1
- linux-nvidia No fix yet
- linux-nvidia-6.2 No fix yet
- linux-nvidia-6.5 No fix yet
20 further packages in Ubuntu 22.04 LTS not shown (first 40 listed).
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux Fixed in 6.8.0-101.101
- linux-aws Fixed in 6.8.0-1047.50
- linux-aws-6.14 Fixed in 6.14.0-1009.9~24.04.1
- linux-azure Fixed in 6.8.0-1051.57
- linux-azure-6.11 No fix yet
- linux-azure-fde Fixed in 6.8.0-1058.65
- linux-azure-nvidia No fix yet
- linux-gcp Fixed in 6.8.0-1048.51
- linux-gcp-6.11 No fix yet
- linux-gcp-6.14 Fixed in 6.14.0-1011.11~24.04.1
- linux-gke Fixed in 6.8.0-1044.49
- linux-gkeop Fixed in 6.8.0-1031.34
- linux-hwe-6.11 No fix yet
- linux-ibm Fixed in 6.8.0-1045.45
- linux-intel No fix yet
- linux-lowlatency Fixed in 6.8.0-101.101.1
- linux-lowlatency-hwe-6.11 No fix yet
- linux-nvidia Fixed in 6.8.0-1047.50
- linux-nvidia-6.11 No fix yet
- linux-nvidia-lowlatency Fixed in 6.8.0-1047.50.1
- linux-nvidia-tegra Fixed in 6.8.0-1020.20
- linux-oem-6.11 No fix yet
- linux-oem-6.14 Fixed in 6.14.0-1007.7
- linux-oem-6.8 No fix yet
- linux-oracle Fixed in 6.8.0-1044.45
- linux-oracle-6.14 Fixed in 6.14.0-1009.9~24.04.1
- linux-raspi Fixed in 6.8.0-1048.52
- linux-raspi-realtime No fix yet
- linux-realtime No fix yet
- linux-riscv No fix yet
- linux-riscv-6.14 Fixed in 6.14.0-24.24.1~24.04.1
- linux-xilinx Fixed in 6.8.0-1024.25
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- linux-azure-fde No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 22.04 LTS
- linux-bluefield No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 24.04 LTS
- linux-bluefield Fixed in 6.8.0-1017.21
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- linux-aws-5.15 No fix yet
- linux-azure-5.15 No fix yet
- linux-azure-fde-5.15 No fix yet
- linux-gcp-5.15 No fix yet
- linux-hwe-5.15 No fix yet
- linux-ibm-5.15 No fix yet
- linux-intel-iotg-5.15 No fix yet
- linux-lowlatency-hwe-5.15 No fix yet
- linux-nvidia-tegra-5.15 No fix yet
- linux-oracle-5.15 No fix yet
- linux-riscv-5.15 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-preview 22.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 22.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 24.04 LTS
- linux-aws-fips Fixed in 6.8.0-1047.50+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 6.8.0-1047.53+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 6.8.0-101.101+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 6.8.0-1048.51+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
- linux-realtime-6.8 Fixed in 6.8.1-1042.43~22.04.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 24.04 LTS
- linux-raspi-realtime Fixed in 6.8.0-2038.39Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime Fixed in 6.8.1-1042.43Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime-6.14 Fixed in 6.14.0-1010.10~24.04.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.