Remote kernel crash via NULL DFS referral node
Published May 21, 2024 · Updated Aug 5, 2026
NULL pointer dereference in CIFS in Linux 2.6.28 through 5.13.4 allows remote attackers to crash the kernel via DFS referrals. During DFS referral handling, cifs_compose_mount_options() passes ref->node_name to cifs_build_devname() without checking whether the optional field is NULL, causing a kernel oops or panic. Reachability requires the CIFS client to mount or follow a referral from an attacker-controlled or compromised SMB/DFS server; the published impact is limited to availability.
Summary
What happened
NULL pointer dereference in CIFS in Linux 2.6.28 through 5.13.4 allows remote attackers to crash the kernel via DFS referrals. During DFS referral handling, cifs_compose_mount_options() passes ref->node_name to cifs_build_devname() without checking whether the optional field is NULL, causing a kernel oops or panic. Reachability requires the CIFS client to mount or follow a referral from an attacker-controlled or compromised SMB/DFS server; the published impact is limited to availability.
The record
- CVE
- CVE-2021-47307
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.28
- Affected versionversion=2c55608f28444c3f33b10312881384c470ceed56 <03313d1c3a2f086bb60920607ab79ac8f8578306
- Affected versionversion=2c55608f28444c3f33b10312881384c470ceed56 <ae3d181f4e912f51af7776ea165f199b16fc165d
- Affected versionversion=2c55608f28444c3f33b10312881384c470ceed56 <e58c162789becede894d3e94c0ce6695a2ef5796
- Affected versionversion=2c55608f28444c3f33b10312881384c470ceed56 <f7d1fa65e74263d11f90ddd33b4d4cd905a93759
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo