# CVE-2024-49988: ksmbd: add refcnt to ksmbd_conn 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.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:31.845Z
- Modified: 2026-08-05T11:40:55.820Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3

## 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/18f06bacc197d4ac9b518ad1c69999bc3d83e7aa> (patch)
- <https://git.kernel.org/stable/c/9fd3cde4628bcd3549ab95061f2bab74d2ed4f3b> (patch)
- <https://git.kernel.org/stable/c/e9dac92f4482a382e8c0fe1bc243da5fc3526b0c> (patch)
- <https://git.kernel.org/stable/c/ee426bfb9d09b29987369b897fe9b6485ac2be27> (patch)

## Sources

- CVE List: [CVE-2024-49988](https://www.cve.org/CVERecord?id=CVE-2024-49988), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49988](https://nvd.nist.gov/vuln/detail/CVE-2024-49988), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49988 · Whole record: https://cve.day/CVE-2024-49988.json · Rebuilt by cve.day 2026-11-25T22:58:47.079Z
