CVE-2024-49988

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49988
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49988.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49988
Downstream
Related
Published
2024-10-21T18:02:31.845Z
Modified
2025-11-28T02:35:51.945617Z
Summary
ksmbd: add refcnt to ksmbd_conn struct
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49988.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
18f06bacc197d4ac9b518ad1c69999bc3d83e7aa
Fixed
9fd3cde4628bcd3549ab95061f2bab74d2ed4f3b
Fixed
e9dac92f4482a382e8c0fe1bc243da5fc3526b0c
Fixed
ee426bfb9d09b29987369b897fe9b6485ac2be27

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.6.55
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.14
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.3