CVE-2025-21653
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability has been discovered in the Linux kernel's network scheduler flow classifier (cls_flow) component, identified as CVE-2025-21653. The issue was discovered by syzbot and reported on January 19, 2025. The vulnerability stems from an unvalidated TCA_FLOW_RSHIFT attribute, which allows right-shifting a 32-bit integer with undefined behavior for large shift values (NVD).

Technical details

The vulnerability occurs in net/sched/cls_flow.c at line 329:23, where a shift-out-of-bounds condition can be triggered. The issue manifests when the shift exponent exceeds the size limit for a 32-bit type (u32). In the reported case, a shift exponent of 9445 was used, which is significantly larger than the maximum allowed value of 31 bits for a 32-bit integer (Kernel Commit).

Impact

When exploited, this vulnerability can lead to undefined behavior in the Linux kernel's network traffic classification system. The issue affects the kernel's ability to properly handle network packet classification, potentially impacting network traffic management and quality of service features (NVD).

Exploitability

The vulnerability can be triggered through the network scheduler interface by providing an invalid TCA_FLOW_RSHIFT attribute value. The issue was discovered during automated testing and has been confirmed to be reproducible in kernel version 6.13.0-rc3 (Kernel Commit).

Mitigation and workarounds

The vulnerability has been fixed by implementing proper validation of the TCA_FLOW_RSHIFT attribute. The fix involves adding a maximum value constraint of 31 (BITS_PER_U32 - 1) to the attribute using NLA_POLICY_MAX. This patch has been merged into the mainline kernel and is being backported to stable kernel versions (Kernel Commit).

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-74576HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-6.17
NoYesAug 15, 2026
CVE-2026-74578HIGH7.1
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesAug 16, 2026
CVE-2026-74579LOW3.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesAug 17, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • perf
NoNoAug 21, 2026
CVE-2026-74577NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 15, 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