AI-Found Linux Kernel Flaw Gives Local Users Root, and Can Break a Guest Out to the Host
A flaw in Linux lets local users gain root access and lets virtual machines hijack the host system.
Overview
A security flaw in the Linux kernelThe core part of an operating system that manages memory, hardware, and every running program, named Vghost, allows a local user to read and write kernel memory and gain rootThe highest administrator permission level on a system, with unrestricted control over all files and programs access. This vulnerability affects nearly a decade of kernel versions and was discovered by Tencent Zhuque Lab. The bug exists in the vhost subsystem, which speeds up network and input/output for virtual machinesA software-emulated computer that runs its own operating system inside a shared physical server and containersA lightweight software package that runs an application isolated from other programs on the same host kernel. It occurs because the system fails to re-check memory addresses when certain commands change the ring's size or location. This failure allows an untrusted virtual machine to write to the host's memory and hijack the program running the virtual machine. The flaw has been present in the code for about nine years due to two separate changes made in 2017 and 2020.
Terms in this story
- 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
- 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.
- virtual machine
- A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
- containers
- A lightweight software package that runs an application isolated from other programs on the same host kernel. Cloud teams package web services inside containers so they start in seconds, and security stories warn about container escape bugs that let an attacker break out onto the host server.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- exploited
- 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
- deterministic
- The same input always gives the same hash. Because a hash algorithm is deterministic, defenders anywhere in the world can hash the same malware file and get the exact same fingerprint to block on their computers. From the CYBR 101 room CYBR 101: What is a hash?
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 The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker 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.
- Kind of story: Vulnerability and patch
"...a flaw in linuxs vhost subsystem lets a local user read and write kernel memory at will..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"AI-Found Linux Kernel Flaw Gives Local Users Root, and Can Break..." Found in the headline - Security+ 3.1 Compare and contrast security implications of different architecture models.
"......a decade of kernel versions. In one virtualization setup, it lets an untrusted virtual machine..." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"AI-Found Linux Kernel Flaw Gives Local Users Root, and..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"AI-Found Linux Kernel Flaw Gives Local Users..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"AI-Found Linux Kernel Flaw Gives Local Users Root, and..." Found in the headline
How a story is connected to the course, and every objective, week and job role