Wiz Agents & Workflows are here

CVE-2021-47394
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a use-after-free vulnerability (CVE-2021-47394) was discovered in the netfilter nf_tables subsystem. The issue occurs because all get operations are lockless, and the commit_mutex held by nft_rcv_nl_event() is insufficient to prevent parallel GET requests from accessing the table object after synchronize_rcu() (NVD).

Technical details

The vulnerability stems from a race condition in the nf_tables subsystem where parallel GET requests can perform read-accesses to a table object even after synchronize_rcu(). This occurs because the commit_mutex protection is inadequate for preventing concurrent access. The issue manifests as a use-after-free bug detected by KASAN in the memcmp function. The CVSS v3.1 base score is 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

This vulnerability could allow an attacker with local access to cause a use-after-free condition, potentially leading to privilege escalation, information disclosure, or system crashes. The high CVSS score indicates severe potential impacts on system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed by unlinking the table first and storing the table objects in on-stack scratch space. The fix was implemented in kernel commit a499b03bf36b0c2e3b958a381d828678ab0ffc5e and backported in commit f65c73d3aabb87d4353e0bc4a718b5ae8c43fd04. Users should upgrade to a patched kernel version to mitigate this vulnerability (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management