VDB

CVE-2025-40286

CVE-2025-40286 PUBLISHED

smb/server: fix possible memory leak in smb2_read()

Reported by linux · Published December 6, 2025

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible memory leak in smb2_read() Memory leak occurs when ksmbd_vfs_read() fails. Fix this by adding the missing kvfree().

EPSS 0.20% · 9.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxf1305587731886da37a214cda812ade246c653b0, bfda5422a16651d0bf864ec468b1c216e1b10d91, 0797c6cf3b857cc229ab2bc69552938dcd738d78

Risk scores

EPSS Score
0.20%
9.7th percentile

Affected products

VendorProductVersions
LinuxLinuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
LinuxLinux5.15, 0, 6.1.159
LinuxLinux*, 6.17.9, 6.18
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • Dec 6, 2025 CVE Published
  • Dec 7, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (166 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (169 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40286
vulnetix vdb fixes CVE-2025-40286

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40286/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›