CVE-2024-44992

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-44992
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-44992.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-44992
Downstream
Published
2024-09-04T20:15:08Z
Modified
2024-09-18T01:00:21Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

smb/client: avoid possible NULL dereference in cifsfreesubrequest()

Clang static checker (scan-build) warning: cifsglob.h:line 890, column 3 Access to field 'ops' results in a dereference of a null pointer.

Commit 519be989717c ("cifs: Add a tracepoint to track credits involved in R/W requests") adds a check for 'rdata->server', and let clang throw this warning about NULL dereference.

When 'rdata->credits.value != 0 && rdata->server == NULL' happens, addcreditsandwakeif() will call rdata->server->ops->add_credits(). This will cause NULL dereference problem. Add a check for 'rdata->server' to avoid NULL dereference.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.10.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}