CVE-2025-40285
smb/server: fix possible refcount leak in smb2_sess_setup()
02 Description
smb/server: fix possible refcount leak in smb2_sess_setup()
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.41% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 35.0% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Deferred. NVD last modified this record on 2026-10-15.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
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-12-06 21:51Z10 MO AGO
- Last updated
- 2026-08-05 12:09Z2 MO AGO
- Reserved
- 2025-04-16
- Assigning CNA
- Linux
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- No CWE assigned
- Data version
- 5.2
- Document digest
- a37c61a1a3b82518d3443e5dcb085c2c2535f2938049abd63be9b63abe8fde99
05 Affected products
06 References
- git.kernel.orghttps://git.kernel.org/stable/c/6fc935f798d44a8eb8a5e6659198399fbf57b981
- git.kernel.orghttps://git.kernel.org/stable/c/e671f9bb97805771380c98de944e2ceab6949188
- git.kernel.orghttps://git.kernel.org/stable/c/dcc51dfe6ff26b52cac106865a172ac982d78401
- git.kernel.orghttps://git.kernel.org/stable/c/d37b2c81c83d6c0d5ca582f4fe73c672983f9e0d
- git.kernel.orghttps://git.kernel.org/stable/c/379510a815cb2e64eb0a379cb62295d6ade65df0
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.63-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 6.17.9-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-1050.53~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-1052.55~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-106.106~22.04.1
- linux-ibm No fix yet
- linux-ibm-6.8 Fixed in 6.8.0-1049.49~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-106.106.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-106.106
- linux-aws Fixed in 6.8.0-1050.53
- linux-aws-6.14 No fix yet
- linux-aws-6.17 Fixed in 6.17.0-1007.7~24.04.1
- linux-azure Fixed in 6.8.0-1051.57
- linux-azure-6.11 No fix yet
- linux-azure-6.14 No fix yet
- linux-azure-fde Fixed in 6.8.0-1058.65
- linux-azure-fde-6.14 No fix yet
- linux-azure-nvidia No fix yet
- linux-azure-nvidia-6.14 No fix yet
- linux-gcp Fixed in 6.8.0-1052.55
- linux-gcp-6.11 No fix yet
- linux-gcp-6.14 No fix yet
- linux-gcp-6.17 Fixed in 6.17.0-1008.8~24.04.1
- linux-gke Fixed in 6.8.0-1048.53
- linux-gkeop Fixed in 6.8.0-1035.38
- linux-hwe-6.11 No fix yet
- linux-hwe-6.14 No fix yet
- linux-ibm Fixed in 6.8.0-1049.49
- linux-lowlatency Fixed in 6.8.0-106.106.1
- linux-lowlatency-hwe-6.11 No fix yet
- linux-nvidia Fixed in 6.8.0-1049.52
- linux-nvidia-6.11 No fix yet
- linux-nvidia-6.17 Fixed in 6.17.0-1008.8
- linux-nvidia-lowlatency Fixed in 6.8.0-1049.52.1
- linux-nvidia-tegra Fixed in 6.8.0-1020.20
- linux-oem-6.11 No fix yet
- linux-oem-6.14 No fix yet
- linux-oem-6.17 Fixed in 6.17.0-1011.11
- linux-oem-6.8 No fix yet
- linux-oracle Fixed in 6.8.0-1047.48
- linux-oracle-6.14 No fix yet
- linux-oracle-6.17 Fixed in 6.17.0-1007.7~24.04.1
- linux-raspi Fixed in 6.8.0-1050.54
- linux-raspi-realtime No fix yet
- linux-realtime No fix yet
- linux-riscv No fix yet
- linux-riscv-6.14 No fix yet
- linux-xilinx Fixed in 6.8.0-1028.29
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- linux Fixed in 6.17.0-14.14
- linux-aws Fixed in 6.17.0-1007.7
- linux-azure Fixed in 6.17.0-1008.8
- linux-azure-fde No fix yet
- linux-gcp Fixed in 6.17.0-1007.7
- linux-oracle Fixed in 6.17.0-1007.7
- linux-raspi Fixed in 6.17.0-1008.8
- linux-realtime Fixed in 6.17.0-1006.7
- linux-riscv Fixed in 6.17.0-14.14.1
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-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-1050.53+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 6.8.0-1052.58+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 6.8.0-106.106+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 6.8.0-1052.55+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-1045.46~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-2040.41Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime Fixed in 6.8.1-1045.46Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime-6.14 No fix yet
- linux-realtime-6.17 Fixed in 6.17.0-1006.7~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.