CVE-2024-35893
Linux Kernel vulnerability analysis and mitigation

Overview

A kernel information leak vulnerability (CVE-2024-35893) was discovered in the Linux kernel's network scheduler component. The issue was found by syzbot in the tcfskbmoddump() function, which was copying four bytes from kernel stack to user space. The vulnerability exists due to a four-byte hole in 'struct tc_skbmod' structure that needed to be cleared before filling fields (Kernel Git).

Technical details

The vulnerability occurs in the net/sched/actskbmod.c file where tcfskbmoddump() function fails to properly initialize a structure before copying it to userspace. The issue stems from uninitialized memory in 'struct tcskbmod' being exposed when copying data between kernel and user space. Specifically, bytes 188-191 of a 248-byte memory region starting at kernel address ffff888117697680 were being copied to user address 00007ffe56d855f0 without proper initialization (Kernel Git).

Impact

This vulnerability allows an attacker to read uninitialized kernel memory (kernel stack), potentially exposing sensitive information from the kernel space to user space applications (Kernel Git).

Mitigation and workarounds

The issue has been fixed by adding proper structure initialization using memset() before filling the fields. The fix was implemented in the Linux kernel and has been backported to various stable kernel versions. Users should update their kernel to a patched version that includes the fix (Kernel Git, Debian LTS).

Community reactions

The vulnerability has been acknowledged and patched by major Linux distributions including Debian, which included the fix in their security updates. Red Hat has also incorporated the fix in their Enterprise Linux updates (Red Hat).

Additional resources


SourceThis report was generated using AI

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