5-Year-Old Linux Kernel Vulnerability Allows Unprivileged Attackers to Gain Root Access
A five-year-old Linux kernel flaw lets unprivileged users gain root access, with a working exploit now published for a default Fedora 44 Server install.
Overview
A security flaw in the Linux kernelThe core part of an operating system that manages memory, hardware, and every running program allowed an unprivileged user to gain full root control of a system. The bug, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-31695, existed for nearly five years before researcher Alexander Popov found and fixed it. The issue is a use-after-freeA memory bug where a program keeps using a memory slot after releasing it condition in the virt_wifi driver that occurs when a virtual network device is unregistered at the same time the lower device is freed. This leaves a pointer referring to freed memory, which a later ethtool operation can exploitA piece of code or technique that uses a software flaw to break into or crash a system to bypass security hardening. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend enables local privilege escalationA flaw that lets an attacker who already has a low-level login on a machine gain administrator control, meaning an attacker with a low-privileged shellThe command-line interpreter program that accepts text commands and runs them on an operating system can take over the entire operating systemThe core software on a computer or phone that manages hardware, files, memory, and running apps. Multi-user serversA computer or program on a network that stores data and responds to requests from client devices, CI runners, shared hosting, and containerA lightweight software package that runs an application isolated from other programs on the same host kernel hosts are the highest-risk targets for this specific type of attack.
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.
- 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
- use-after-free
- A memory bug where a program keeps using a memory slot after releasing it. Software makers frequently patch use-after-free bugs because an attacker can fill that freed memory slot with crafted data and trick the program into running malicious code.
- exploit
- 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
- 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
- local privilege escalation
- A flaw that lets an attacker who already has a low-level login on a machine gain administrator control. Unlike a remote flaw that works across the internet, local privilege escalation requires the attacker to get code running on the computer first and then step up to full system rights.
- 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.
- operating system
- The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
- Server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- container
- 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.
- 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.
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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
"The upstream fix is titled..." Found by reading the article; these exact words are in it - Who is affected: "...unprivileged local user..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"5-Year-Old Linux Kernel Vulnerability Allows Unprivileged Attackers to Gain Root Access..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......root control of a system. Tracked as CVE-2026-31695, the bug was found and fixed..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"5-Year-Old Linux Kernel Vulnerability Allows Unprivileged Attackers to Gain Root Access..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"5-Year-Old Linux Kernel Vulnerability Allows Unprivileged Attackers to Gain..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"5-Year-Old Linux Kernel Vulnerability Allows Unprivileged Attackers to Gain..." Found in the headline
How a story is connected to the course, and every objective, week and job role