13.3 C
London
Wednesday, September 11, 2024

Researchers Uncover New Linux Kernel ‘StackRot’ Privilege Escalation Vulnerability


Jul 06, 2023Ravie LakshmananLinux / Endpoint Safety

Researchers Uncover New Linux Kernel ‘StackRot’ Privilege Escalation Vulnerability

Particulars have emerged a few newly recognized safety flaw within the Linux kernel that would permit a consumer to achieve elevated privileges on a goal host.

Dubbed StackRot (CVE-2023-3269, CVSS rating: 7.8), the flaw impacts Linux variations 6.1 via 6.4. There isn’t any proof that the shortcoming has been exploited within the wild up to now.

“As StackRot is a Linux kernel vulnerability discovered within the reminiscence administration subsystem, it impacts virtually all kernel configurations and requires minimal capabilities to set off,” Peking College safety researcher Ruihan Li stated.

“Nonetheless, it must be famous that maple nodes are freed utilizing RCU callbacks, delaying the precise reminiscence deallocation till after the RCU grace interval. Consequently, exploiting this vulnerability is taken into account difficult.”

Following accountable disclosure on June 15, 2023, it has been addressed in steady variations 6.1.37, 6.3.11, and 6.4.1 as of July 1, 2023, after a two-week effort led by Linus Torvalds.

A proof-of-concept (PoC) exploit and extra technical specifics concerning the bug are anticipated to be made public by the top of the month.

The flaw is basically rooted in a knowledge construction known as maple tree, which was launched in Linux kernel 6.1 as a substitute for red-black tree (rbtree) to handle and retailer digital reminiscence areas (VMAs), a contiguous vary of digital addresses that might be the contents of a file on disk or the reminiscence a program makes use of throughout execution.

UPCOMING WEBINAR

🔐 Privileged Entry Administration: Study How one can Conquer Key Challenges

Uncover completely different approaches to beat Privileged Account Administration (PAM) challenges and stage up your privileged entry safety technique.

Reserve Your Spot

Particularly, it is described as a use-after-free bug that might be exploited by an area consumer to compromise the kernel and escalate their privileges by making the most of the truth that the maple tree “can endure node substitute with out correctly buying the MM write lock.”

“Anyway, I believe I need to truly transfer all of the stack enlargement code to a complete new file of its personal, somewhat than have it break up up between mm/mmap.c and mm/reminiscence.c, however since this should be backported to the preliminary maple tree VMA introduction anyway, I attempted to maintain the patches _fairly_ minimal,” Torvalds famous.

Discovered this text fascinating? Comply with us on Twitter and LinkedIn to learn extra unique content material we publish.



Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here