Skip to main content
Network Thinking Solutions Logo

CVE-2025-21945

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one.

All CVEs
CVE-2025-21945Published 4/1/2025

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one.

Vendor advisory
CVSS8.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.

Published
4/1/2025
Last modified
7/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 6.1.131

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.83

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.19

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.7

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 410ce35a2ed6d0e114132bba29af49b69880c8c7

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8573571060ca466cbef2c6f03306b2cc7b883506

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a0609097fd10d618aed4864038393dd75131289e

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 636e021646cf9b52ddfea7c809b018e91f2188cb

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 84d2d1641b71dec326e8736a749b7ee76a9599fc

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.