8.8high
ksmbd: add refcnt to ksmbd_conn struct
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.62% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add refcnt to ksmbd_conn struct When sending an oplock break request, opinfo->conn is used, But freed ->conn can be used on multichannel. This patch add a reference count to the ksmbd_conn struct so that it can be freed when it is no longer used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf before 18f06bacc197d4ac9b518ad1c69999bc3d83e7aa, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 9fd3cde4628bcd3549ab95061f2bab74d2ed4f3b, from 0626e6641f6b467447c81dd7678a69c66f7746cf before e9dac92f4482a382e8c0fe1bc243da5fc3526b0c, from 0626e6641f6b467447c81dd7678a69c66f7746cf before ee426bfb9d09b29987369b897fe9b6485ac2be27, 5.15 Not affected: before 5.15, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.3 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | before 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.3 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add refcnt to ksmbd_conn struct When sending an oplock break request, opinfo->conn is used, But freed ->conn can be used on multichannel. This patch add a reference count to the ksmbd_conn struct so that it can be freed when it is no longer used.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: agregar refcnt a la estructura ksmbd_conn Al enviar una solicitud de interrupción de oplock, se utiliza opinfo->conn, pero freed ->conn se puede utilizar en multicanal. Este parche agrega un recuento de referencia a la estructura ksmbd_conn para que se pueda liberar cuando ya no se utiliza.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-49988 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-49988 changed 2026-08-04 | Public domain |