CVE-2024-44992
published high CVSS 3.1 · 7.5smb/client: avoid possible NULL dereference in cifs_free_subrequest()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux69c3c023af25edb5433a2db824d3e7cc328f0183 to < fead60a6d5f84b472b928502a42c419253afe6c1 · 69c3c023af25edb5433a2db824d3e7cc328f0183 to < 74c2ab6d653b4c2354df65a7f7f2df1925a40a51 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.7 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The precondition for the crash — `rdata->server` being NULL while credits are still held — is produced by SMB channel teardown paths (`cifs_chan_skip_or_disable()`, channel reconnect/disable) that are driven by the remote SMB server's responses and multichannel advertisements, so a malicious, compromised, or MITM'd SMB server reached over the network controls the trigger against a mounted client. AC:L - A hostile server controls both sides: it drives the reconnect/multichannel-disable that NULLs the channel and it controls response timing, so it can stall in-flight R/W subrequests to hold credits across the window at will. No memory-layout or victim-state condition outside the attacker's influence is needed. PR:N - A remote SMB server needs no account, credentials, or privileges on the victim client — the reconnect and channel-negotiation behaviour it abuses is part of normal connection maintenance on an established mount. UI:N - Against the common deployment of a persistent SMB mount (fstab/automount on servers, embedded and Android devices), the attacker acts on an already-mounted share with ordinary background readahead and writeback supplying the I/O; no victim action is required at attack time. S:U - The fault occurs in the CIFS client inside the kernel and its consequences stay within that same kernel's security authority; no VM, IOMMU, or sandbox boundary is crossed. C:N - The defect is a dereference of a NULL `server` pointer to reach `server->ops`, which faults immediately; no out-of-bounds or freed memory is read and no data is returned to the attacker. I:N - Nothing is written through the bad pointer — the code path faults on the read of `->ops` before any store, giving no write primitive or control-flow hijack on configurations with the standard non-zero `mmap_min_addr` and SMAP/PAN. A:H - The NULL dereference oopses the kernel in netfs subrequest-completion context, which is frequently a workqueue, killing writeback and rendering the mount unusable; the remote server can trigger it repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 69c3c023af25edb5433a2db824d3e7cc328f0183 to < fead60a6d5f84b472b928502a42c419253afe6c1 (affected · git)69c3c023af25edb5433a2db824d3e7cc328f0183 to < 74c2ab6d653b4c2354df65a7f7f2df1925a40a51 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.7 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
smb/client: avoid possible NULL dereference in cifs_free_subrequest()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b8f70b1cf01a565053f969a7cede46c08db3644483a1c2028069ac1be12b881
- Ingested
- 23 Sep 2026, 08:27:32 UTC
- Source record
- Official CVE record