PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2022-48935: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48935 affects the Linux kernel's netfilter subsystem, specifically related to the nf_tables component. The vulnerability was discovered and disclosed in August 2024, involving a use-after-free issue in the netfilter flowtable hooks during network namespace exit. This vulnerability affects multiple versions of the Linux kernel, from versions prior to 4.19.316 up to versions before 5.16.12 (NVD).

Technical details

The vulnerability occurs when flowtable hooks are released via nf_tables_flowtable_destroy() before they are properly unregistered, leading to a use-after-free condition. The issue manifests in the nf_hook_entries_grow function at net/netfilter/core.c line 142. The CVSS v3.1 base score for this vulnerability is 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a use-after-free condition in the kernel's network filtering subsystem, potentially causing system crashes or denial of service. The issue specifically affects the netfilter's flow table functionality during network namespace cleanup (Kernel Patch).

Exploitability

The vulnerability requires local access with low privileges to exploit. It can be triggered during network namespace exit operations when using netfilter flow tables. The issue was discovered through automated testing using the syzkaller kernel fuzzing tool (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by modifying the hook unregistration sequence in the netfilter subsystem. The fix ensures that flowtable hooks are unregistered before they are released via nf_tables_flowtable_destroy(). After an RCU grace period, it is guaranteed that no packets can add new entries to the flowtable, making it safe to clean up the remaining entries (Kernel Patch).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-7356HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules
NoYesOct 21, 2026
CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-internal
NoYesOct 18, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-devel-matched
NoYesOct 18, 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