Linux kernel flaw chained with PHP2Shell to root firewalls, Dream says
- Affected
- Linux kernels from
3.9before the fixed stable releases below. All versions and fixes
- Vendor
- Linux
A Linux kernel flaw known as Fragnesia, , lets a local user with low privileges write to the cached copies of read-only files and gain root, Red Hat says. CISA added it to its KEV catalog on Oct 28, saying it can be chained with the PHP2Shell flaws in PHP to implant web shells and run commands as root. Dream said on Oct 26 that attackers used that chain to root 24 firewalls and a firewall management server. Fixed stable kernels include 6.12.91 and 6.18.33.
The kernel’s CVE record says the flaw is in how socket buffers that share memory pages are merged. That can lead the kernel’s IPsec ESP code to decrypt data in place over cached file pages. Red Hat calls it a variant of the Dirty Frag flaw and rates it important. It affects kernels from 3.9 until the fixed stable releases. CISA asks federal agencies to fix it by Oct 31.
Dream says its researchers found the attackers’ tools, target lists and logs on Oct 25. The attackers used a custom PHP2Shell exploit to run commands as an unprivileged user through the firewalls’ exposed management interfaces. They then used Fragnesia to overwrite a login configuration file and become root. Dream hasn’t named the firewall vendor or the affected versions, and says it notified the vendor.
Dream says the attackers found about 19,000 firewalls with exposed management interfaces and picked 240 in the US, Japan, Taiwan and South Korea. Two of the 24 they rooted belonged to a US government-affiliated organization, where the attackers reached an internal firewall management server and went after Active Directory. Dream doesn’t attribute the attacks to a named group, though it lists signs of a Chinese-nexus operation.
- Vendor
- Linux
What to do
2 steps
- 1 Install your Linux distribution’s kernel update for CVE-2026-46300, or a stable kernel at or above the fixed release for its branch, such as 6.12.91 or 6.18.33.
Affected and fixed versions
| Product | Affected | Fixed |
|---|---|---|
| Linux 5.10 | Before 5.10.257 | 5.10.257 |
| Linux 5.15 | Before 5.15.208 | 5.15.208 |
| Linux 6.1 | Before 6.1.174 | 6.1.174 |
| Linux 6.6 | Before 6.6.141 | 6.6.141 |
| Linux 6.12 | Before 6.12.91 | 6.12.91 |
| Linux 6.18 | Before 6.18.33 | 6.18.33 |
| Linux 7.0 | Before 7.0.10 | 7.0.10 |
| Linux 7.1 | Not affected | 7.1 includes the fix |
- Product
- Linux 5.10
- Affected
- Before
5.10.257 - Fixed
5.10.257
- Product
- Linux 5.15
- Affected
- Before
5.15.208 - Fixed
5.15.208
- Product
- Linux 6.1
- Affected
- Before
6.1.174 - Fixed
6.1.174
- Product
- Linux 6.6
- Affected
- Before
6.6.141 - Fixed
6.6.141
- Product
- Linux 6.12
- Affected
- Before
6.12.91 - Fixed
6.12.91
- Product
- Linux 6.18
- Affected
- Before
6.18.33 - Fixed
6.18.33
- Product
- Linux 7.0
- Affected
- Before
7.0.10 - Fixed
7.0.10
- Product
- Linux 7.1
- Affected
- Not affected
- Fixed
7.1includes the fix
Timeline
- May 13The flaw is made public, Red Hat says.
- Oct 23Attackers root a firewall at a US government-affiliated organization, which then crashes, Dream says.
- Oct 24Attackers root a second firewall there and then the internal firewall management server, Dream says.
- Oct 26Dream publishes its research on the attacks.
- Oct 28CISA adds the flaw to KEV.
Sources
- Dream researchPrimary source dreamgroup.com
- CVE recordPrimary source cve.org
- CISA noticePrimary source cisa.gov