CVE-2021-47307

published 21 May 2024 · updated 5 Aug 2026

cifs: prevent NULL deref in cifs_compose_mount_options()

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 03313d1c3a2f086bb60920607ab79ac8f8578306, Kernel ae3d181f4e912f51af7776ea165f199b16fc165d, Kernel e58c162789becede894d3e94c0ce6695a2ef5796 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.28, >=2c55608f28444c3f33b10312881384c470ceed56 <03313d1c3a2f086bb60920607ab79ac8f8578306, >=2c55608f28444c3f33b10312881384c470ceed56 <ae3d181f4e912f51af7776ea165f199b16fc165d, >=2c55608f28444c3f33b10312881384c470ceed56 <e58c162789becede894d3e94c0ce6695a2ef5796, >=2c55608f28444c3f33b10312881384c470ceed56 <f7d1fa65e74263d11f90ddd33b4d4cd905a9375903313d1c3a2f086bb60920607ab79ac8f8578306, ae3d181f4e912f51af7776ea165f199b16fc165d, e58c162789becede894d3e94c0ce6695a2ef5796, f7d1fa65e74263d11f90ddd33b4d4cd905a93759

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47307 severity on Zeptric[![CVE-2021-47307](https://zeptric.io/badge/cve/CVE-2021-47307.svg)](https://zeptric.io/cve/CVE-2021-47307)