Cybersecurity news

Jessica Doner

Back to the list

New Linux pedit COW Exploit Allows Attackers to Gain System Root Access

Cyber Security News,

A Linux kernel flaw lets local attackers gain root access by corrupting the page cache through the pedit component.

Vulnerabilities and patches

Overview

A newly disclosed vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in the Linux kernelThe core part of an operating system that manages memory, hardware, and every running program allows unprivileged local attackers to gain full root accessThe highest administrator permission level on a system, with unrestricted control over all files and programs on several major distributions. The flaw, dubbed packet_edit_meme, combines a Copy-on-Write page-cache corruption bug with the net/sched subsystem's act_pedit component. It was introduced in kernel commit 899ee91156e5 and affects Linux kernel versions v5.18 through v7.1-rc6, with a patch released in v7.1-rc7. The attack works by spawning a user namespaceA named boundary that keeps variable names, package names, or container resources separate from each other child process with CAP_NET_ADMIN capabilities, which is reachable by unprivileged users on systems where unprivileged user namespaces are enabled by default. The exploit then overwrites the page-cached ELF entry point of the setuid-root binaryBase 2, where each byte is written as 8 ones and zeros /bin/su to inject shellcodeRaw machine instructions injected during an exploit to open a command shell or download malware that delivers a root shellThe command-line interpreter program that accepts text commands and runs them on an operating system. RHEL and Debian are immediately vulnerable with no flags required, while Ubuntu 24.04.4 is vulnerable but Ubuntu 26.04 is not.

Terms in this story

vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
kernel
The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
Root Access
The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
namespace
A named boundary that keeps variable names, package names, or container resources separate from each other. Operating systems use namespaces to isolate containers so a program inside one container sees only its own files and processes, not those of the host server.
binary
Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
shellcode
Raw machine instructions injected during an exploit to open a command shell or download malware. When an attacker exploits a buffer overflow, they often place compact shellcode into memory so the hijacked program immediately connects back to their server.
shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
privileges
The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
patched
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
attack chain
The full sequence of steps an intruder takes from initial break-in to final goal. Incident reports map out the full attack chain, such as a phishing email that drops a loader, steals domain credentials, and finally deploys ransomware across servers.
privilege escalation
A flaw or trick that lets a low-level user account gain administrator control over a system. After breaking into a regular guest or employee account, an attacker uses privilege escalation to gain full system rights and disable security tools. Security+ objective 2.4 lists the term
exploitation
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related