CVEvulnerability
CVE-2025-21945
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-04-01
- Last modified
- 2026-07-30
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
Description
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.
Affected configurations
• linux linux kernel (>= 5.15 < 6.1.131)
• linux linux kernel (>= 6.2 < 6.6.83)
• linux linux kernel (>= 6.7 < 6.12.19)
• linux linux kernel (>= 6.13 < 6.13.7)
• linux linux kernel 6.14
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 Patch
- https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb Patch
- https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc Patch
- https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 Patch
- https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org