{"id":"CVE-2024-44992","summary":"smb/client: avoid possible NULL dereference in cifs_free_subrequest()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/client: avoid possible NULL dereference in cifs_free_subrequest()\n\nClang static checker (scan-build) warning:\n\tcifsglob.h:line 890, column 3\n\tAccess to field 'ops' results in a dereference of a null pointer.\n\nCommit 519be989717c (\"cifs: Add a tracepoint to track credits involved in\nR/W requests\") adds a check for 'rdata-\u003eserver', and let clang throw this\nwarning about NULL dereference.\n\nWhen 'rdata-\u003ecredits.value != 0 && rdata-\u003eserver == NULL' happens,\nadd_credits_and_wake_if() will call rdata-\u003eserver-\u003eops-\u003eadd_credits().\nThis will cause NULL dereference problem. Add a check for 'rdata-\u003eserver'\nto avoid NULL dereference.","modified":"2026-04-02T12:18:38.358070Z","published":"2024-09-04T19:54:38.878Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44992.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/74c2ab6d653b4c2354df65a7f7f2df1925a40a51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fead60a6d5f84b472b928502a42c419253afe6c1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44992.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44992"},{"type":"PACKAGE","url":"https://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":"69c3c023af25edb5433a2db824d3e7cc328f0183"},{"fixed":"fead60a6d5f84b472b928502a42c419253afe6c1"},{"fixed":"74c2ab6d653b4c2354df65a7f7f2df1925a40a51"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-44992.json"}}],"schema_version":"1.7.5"}