14-Year-Old Linux Kernel Flaw Lets Local Users Gain Root Access and Escape Containers
A Linux kernel flaw allows local users to gain root access and escape containers by exploiting unsafe concurrent writes in the cryptographic interface.
Overview
A security flaw that has existed in the Linux kernelThe core part of an operating system that manages memory, hardware, and every running program for 14 years allows a local user to gain root access and escape a Docker container. The bug is located in the AF_ALG userspace cryptographic interface and involves unsafe concurrent writes to a socket used for operations like AESThe standard symmetric cipher today, with 128, 192 or 256-bit keys encryptionScrambling readable data with a mathematical key so only someone with the right key can read it. Muhammad Alifa Ramdhan of STAR Labs discovered the issue in 2025 while auditing code for Google's kernelCTF program. The researcher and colleague Bing-Jhong Billy Jheng demonstrated that the bug could be used to create a reliable local privilege-escalationA flaw that lets an attacker who already has a low-level login on a machine gain administrator control exploit. The kernelCTF submission received a reward of $113,337, and CISA has listed CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2025-39964 among vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend reported as exploitedA piece of code or technique that uses a software flaw to break into or crash a system in the wild. This vulnerability affects any system running the unpatched Linux kernel where an unprivileged local process can access the cryptographic interface.
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.
- AES
- The standard symmetric cipher today, with 128, 192 or 256-bit keys. From laptop disk encryption and wireless networks to HTTPS traffic, AES is the workhorse cipher that protects everyday data, and even ransomware gangs use it to lock victims' files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
- encryption
- Scrambling readable data with a mathematical key so only someone with the right key can read it. Online services use encryption to protect credit card numbers in transit, while ransomware gangs use the same math to lock a company's files until a ransom is paid. Security+ objective 1.4 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.
- 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
- 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
- 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.
- root privileges
- 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.
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- 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.
- attack surface
- All the places where an attacker could try to enter, probe, or extract data from a system. Every open network port, public website, cloud login page, and third-party plugin adds to an organization's attack surface, so defenders shut down services they do not need. Security+ objective 3.2 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.
- Kind of story: Vulnerability and patch
"Linux kernel vulnerability can let a local attacker escalate to root privileges..." Found by reading the article; these exact words are in it - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"......host. The flaw in Linux's AF_ALG userspace cryptographic interface stems from unsafe concurrent writes to..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"14-Year-Old Linux Kernel Flaw Lets Local Users Gain Root Access and..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......same socket used for operations like AES encryption and decryption." Found in the opening sentences - Security+ 3.1 Compare and contrast security implications of different architecture models.
"......and, in a proof-of-concept environment, escape a Docker container to compromise the underlying host. The..." Found in the opening sentences - Security+ 3.3 Compare and contrast concepts and strategies to protect data.
"......same socket used for operations like AES encryption and decryption." Found in the opening sentences - Security+ 3.4 Explain the importance of resilience and recovery in security architecture.
"......same socket used for operations like AES encryption and decryption." Found in the opening sentences - Security+ 5.1 Summarize elements of effective security governance.
"......same socket used for operations like AES encryption and decryption." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"A 14-year-old Linux kernel vulnerability can let a local attacker escalate to..." Found in the opening sentences - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"......the same socket used for operations like AES encryption and decryption." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"14-Year-Old Linux Kernel Flaw Lets Local Users Gain Root..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"14-Year-Old Linux Kernel Flaw Lets Local Users Gain Root..." Found in the headline
How a story is connected to the course, and every objective, week and job role