CVE-2021-47307

cifs: prevent NULL deref in cifs_compose_mount_options()

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: August 4, 2026 at 04:06 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: prevent NULL deref in cifs_compose_mount_options() The optional @ref parameter might contain an NULL node_name, so prevent dereferencing it in cifs_compose_mount_options(). Addresses-Coverity: 1476408 ("Explicit null dereferenced")

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.1352.6.28 ≤ v < 5.10.532.6.28 ≤ v < 5.13.52.6.28 ≤ v < 5.142.6.28 ≤ v < 5.4.1355.11 ≤ v < 5.13.55.5 ≤ v < 5.10.532.6.282c55608f28444c3f33b10312881384c470ceed56
Vendor states this is fixed in 03313d1c3a2f086bb60920607ab79ac8f8578306 (fixed)
Vendor states this is fixed in ae3d181f4e912f51af7776ea165f199b16fc165d (fixed)
Vendor states this is fixed in e58c162789becede894d3e94c0ce6695a2ef5796 (fixed)
Vendor states this is fixed in f7d1fa65e74263d11f90ddd33b4d4cd905a93759 (fixed)
Vendor states this is fixed in 2.6.28 (unaffected)
Vendor states this is fixed in 5.10.53 (unaffected)
Vendor states this is fixed in 5.13.5 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.135 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03313d1c3a2f086bb60920607ab79ac8f8578306
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae3d181f4e912f51af7776ea165f199b16fc165d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e58c162789becede894d3e94c0ce6695a2ef5796
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f7d1fa65e74263d11f90ddd33b4d4cd905a93759

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card