CVE-2023-52679
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52679 is a double free vulnerability discovered in the Linux kernel's ofparsephandlewithargs_map function. The vulnerability was disclosed on May 17, 2024, affecting Linux kernel versions from 4.17 through 6.x. The issue occurs in the function's inner loop that iterates through map entries, where it incorrectly assumes the value of 'new' is NULL on the first iteration of the inner loop (NVD).

Technical details

The vulnerability exists in the ofparsephandlewithargsmap() function where the inner loop that iterates through map entries calls ofnode_put(new) to free a reference acquired by the previous iteration. The function incorrectly assumes that the value of 'new' is NULL on the first iteration of the inner loop. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially lead to a double free condition in the Linux kernel, which could result in memory corruption, system crashes, or potential privilege escalation. The high CVSS score indicates significant potential impact on system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed by setting 'new' to NULL after its value is assigned to 'cur' in all iterations of the outer loop. The fix has been implemented in various Linux kernel versions, and patches have been released for affected distributions. Debian has addressed this in version 5.10.209-2~deb10u1 for Debian 10 and version 4.19.316-1 (Debian LTS, Debian LTS).

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