StackRot – New Linux kernel Privilege Escalation Vulnerability

A security flaw has been identified in the Linux kernel called “stockRot” (CVE-2023-3269). This vulnerability grants attackers access to the kernel and the ability to elevate their privileges.

It has been discovered that “Stack Rot,” a vulnerability in stack expansion, is present in Linux kernel versions 6.1 to 6.4.

The stack is a section of memory that operates on a LIFO (last-in-first-out) principle, which means that data such as your local variables and function calls are appended to or removed from the stack in reverse chronological order.

Vulnerability in Memory Management

There is a vulnerability in the memory management subsystem of the Linux kernel that can impact almost all kernel configurations. It can be triggered with minimal capabilities.

The maple tree, responsible for managing virtual memory areas, can undergo node replacement without properly acquiring the MM write lock, leading to use-after-free issues.

The Maple Tree is a B-Tree data type that is optimized for storing non-overlapping ranges; the maple tree is composed of maple nodes.

The StackRot vulnerability has been present in the Linux kernel since version 6.1 when the VMA tree structure was changed from red-black trees to maple trees.

“However, it should be noted that maple nodes are freed using RCU callbacks, delaying the actual memory deallocation until after the RCU grace period. Consequently, exploiting this vulnerability is considered challenging”, the researcher said.

Peking University security researcher Ruihan Li said no publicly available exploits target use-after-free-by-RCU (UAFBR) bugs.

He also added that this flaw could be exploited in the environment provided by Google kCTF VRP.

Patch Released

The flaw was fixed during the merge window for Linux kernel 6.5; the fix was merged into Linus’ tree.

The patches applied to o stable kernels (6.1.37, 6.3.11, and 6.4.1), effectively resolving the “Stack Rot” bug on July 1st.

“AI-based email security measures Protect your business From Email Threats!” – .

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Google Unveils New Intelligent, Real-Time Protections for Android Users

Google has once again raised the bar for mobile security by introducing two new AI-powered…

18 hours ago

Chinese National Faces 20 Years of Jail Time for Laundering Millions in Crypto

Daren Li, 41, a dual citizen of China and St. Kitts and Nevis, and a…

18 hours ago

Google to Issue CVEs for Critical Cloud Vulnerabilities

Google Cloud has announced a significant step forward in its commitment to transparency and security…

20 hours ago

GitLab Patches Critical Flaws Leads to Unauthorized Access to Kubernetes Cluster

GitLab has rolled out critical security updates to address multiple vulnerabilities in its Community Edition…

21 hours ago

Windows 0-Day Exploited in Wild with Single Right Click

A newly discovered zero-day vulnerability, CVE-2024-43451, has been actively exploited in the wild, targeting Windows systems…

22 hours ago

Automating Identity and Access Management for Modern Enterprises

Keeping track of who has access and managing their permissions has gotten a lot more…

2 days ago