CVE-2024-36946
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36946 is a vulnerability discovered in the Linux kernel's Phonet protocol implementation, specifically in the rtmphonetnotify() function's socket buffer (skb) allocation. The vulnerability was disclosed on May 30, 2024, affecting various versions of the Linux kernel. The issue involves incorrect memory allocation for network message components (NVD).

Technical details

The vulnerability stems from an incorrect calculation of buffer size in the rtmphonetnotify() function. The fillroute() function stores three components in the skb: struct rtmsg, RTADST (u8), and RTAOIF (u32). The fix involves modifying the allocation size to use NLMSGALIGN(sizeof(struct rtmsg)) + nlatotalsize(1) + nlatotalsize(4) instead of the previously incorrect sizeof(struct ifaddrmsg) calculation (Kernel Commit).

Impact

According to security assessments, successful exploitation of this vulnerability could lead to addition or modification of data or Denial of Service (DoS). The vulnerability has been assigned a CVSS v3.1 score of 7.1 (HIGH) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been patched in various Linux kernel versions. Multiple distributions have released updates to address this issue, including Ubuntu which has fixed it in versions 6.8.0-40.40 for 24.04 LTS, 5.15.0-118.128 for 22.04 LTS, and other supported releases (Ubuntu Security). Users are advised to update their systems to the latest available kernel version that includes the fix.

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