CVE-2022-49698
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2022-49698) was identified in the netfilter component where a bottom-half (BH) interrupt might occur while updating per-CPU rnd_state from user context, specifically in the local_out path. This issue was discovered when a bug report showed smp_processor_id() being called in preemptible code by the nginx process, with the caller being nft_ng_random_eval in the nft_numgen module (Kernel Git).

Technical details

The vulnerability stems from the use of prandom (pseudo-random number generator) in netfilter's implementation. The issue occurs specifically in the nft_meta and nft_numgen components where per-CPU rnd_state updates could conflict with bottom-half interrupts. The bug manifests when smp_processor_id() is called in preemptible code, which is not safe and can lead to race conditions (Kernel Git).

Impact

The vulnerability could potentially lead to race conditions in the Linux kernel's netfilter subsystem, affecting network packet filtering operations. This could impact systems using netfilter for network traffic management, particularly those running nginx with specific netfilter configurations (Kernel Git).

Mitigation and workarounds

The issue has been fixed by replacing the prandom implementation with get_random_u32(). This solution avoids the need for local prandom state and leverages the random driver, which has been the underlying implementation since the commit d4150779e60f ("random32: use real rng for non-deterministic randomness"). The fix addresses both the nft_meta and nft_numgen components (Kernel Git).

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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-nvidia-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle-6.14
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-devel
NoYesJan 14, 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