CVE-2025-21955
JSON

8.8high

ksmbd: prevent connection release during oplock break notification

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent connection release during oplock break notification ksmbd_work could be freed when after connection release. Increment r_count of ksmbd_conn to indicate that requests are not finished yet and to not release the connection.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before 8e6508c7ecb1802909f294827eff38f301d0c937, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 09aeab68033161cb54f194da93e51a11aee6144b, from 0626e6641f6b467447c81dd7678a69c66f7746cf before a4261bbc33fbf99b99c80aa3a2c5097611802980, from 0626e6641f6b467447c81dd7678a69c66f7746cf before f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 3aa660c059240e0c795217182cf7df32909dd917, 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 *
CVE List
linux linux_kernelfrom 5.15 before 6.6.84, from 6.7 before 6.12.20, from 6.13 before 6.13.8, 6.14NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent connection release during oplock break notification ksmbd_work could be freed when after connection release. Increment r_count of ksmbd_conn to indicate that requests are not finished yet and to not release the connection.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: impide la liberación de la conexión durante la notificación de interrupción del bloqueo de oplock. ksmbd_work podría liberarse después de la liberación de la conexión. Incremente r_count de ksmbd_conn para indicar que las solicitudes aún no han finalizado y para no liberar la conexión.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21955 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-21955 changed 2026-10-30Public domain