# CVE-2025-21967: ksmbd: fix use-after-free in ksmbd_free_work_struct

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-04-01T15:47:02.364Z
- Modified: 2026-10-30T13:17:55.010Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free in ksmbd_free_work_struct

->interim_entry of ksmbd_work could be deleted after oplock is freed.
We don't need to manage it with linked list. The interim request could be
immediately sent whenever a oplock break wait is needed.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before ffe0909010b21df8f948d624ad00cf14dd856721; from 0626e6641f6b467447c81dd7678a69c66f7746cf before fb776765bfc21d5e4ed03bb3d4406c2b86ff1ac3; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 62746ae3f5414244a96293e3b017be637b641280; from 0626e6641f6b467447c81dd7678a69c66f7746cf before eb51f6f59d19b92f6fe84d3873f958495ab32f0a; from 0626e6641f6b467447c81dd7678a69c66f7746cf before bb39ed47065455604729404729d9116868638d31; 5.15 (not affected: before 5.15; from 6.1.191 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.15 before 6.6.84; from 6.7 before 6.12.20; from 6.13 before 6.13.8; 6.14

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ffe0909010b21df8f948d624ad00cf14dd856721>
- <https://git.kernel.org/stable/c/fb776765bfc21d5e4ed03bb3d4406c2b86ff1ac3> (patch)
- <https://git.kernel.org/stable/c/62746ae3f5414244a96293e3b017be637b641280> (patch)
- <https://git.kernel.org/stable/c/eb51f6f59d19b92f6fe84d3873f958495ab32f0a> (patch)
- <https://git.kernel.org/stable/c/bb39ed47065455604729404729d9116868638d31> (patch)

## Sources

- CVE List: [CVE-2025-21967](https://www.cve.org/CVERecord?id=CVE-2025-21967), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-21967](https://nvd.nist.gov/vuln/detail/CVE-2025-21967), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-21967 · Whole record: https://cve.day/CVE-2025-21967.json · Rebuilt by cve.day 2026-11-25T22:58:55.913Z
