CVE-2022-3586
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2022-3586) was discovered in the Linux kernel's networking code, specifically in the sch_sfb enqueue function. The vulnerability was identified on October 19, 2022, affecting the way the socket buffer (SKB) cb field was handled after the SKB had been enqueued and freed into a child qdisc (NVD, Debian).

Technical details

The vulnerability occurs in the sch_sfb enqueue function where it incorrectly assumes the SKB is still alive after being enqueued into a child qdisc. The issue specifically manifests when using the data in the SKB cb field in the increment_qlen() routine after enqueue. This becomes particularly problematic when sch_cake is used as a child of sfb with GSO splitting mode enabled, leading to the original SKB being split into segments and freed (Linux Commit).

Impact

This vulnerability allows a local, unprivileged user to crash the system, causing a denial of service. Additionally, it may lead to the disclosure of sensitive information from the kernel (Ubuntu, Debian LTS).

Mitigation and workarounds

The issue has been fixed by copying the sfb cb data to the stack before enqueueing the SKB, and using this stack copy in increment_qlen() instead of the SKB pointer itself. The fix was implemented in the Linux kernel through commit 9efd23297cca (Linux Commit). Various Linux distributions have released patches, including Ubuntu and Debian, which have provided security updates for affected versions (Debian LTS).

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
  • kernel-64k-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug
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