CVE-2024-44992CWE-476

CVE-2024-44992

High · published September 5, 2024

CVSS v3.1
7.5
EPSS
0%
Percentile
36.7
In the wild
Unconfirmed
What it is

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

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

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,

add_credits_and_wake_if() will call rdata->server->ops->add_credits().

This will cause NULL dereference problem. Add a check for 'rdata->server'

to avoid NULL dereference.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00435 · 36.7th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2024-09-05T00:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.10, < 6.10.76.10.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 04 SEP 19:54Z
    smb/client: avoid possible NULL dereference in cifs_free_subrequest()
    cvelistv5