CVE-2026-46300: Linux Kernel Privilege Escalation via Shared Fragment Handling
CVE-2026-46300 is a high-severity vulnerability in the Linux kernel that allows for unintended modification of page-cache-backed data. This flaw can be chained with other vulnerabilities to achieve privilege escalation, implant PHP webshells, and execute commands as root. Active exploitation has been observed in the wild, notably by IoT malware families like KATARU and Mirai.
| Domain | bins.sh |
| IP | 160.191.242.92 |
| SHA256 | cc76bc218627279ecb4d0ce74ad2651e9db9e3e843e35d6569576e056e3a9218 |
| SHA256 | 13382c16e2401b07451577b46e634b8031ec254d98b876e59692b5fa22abc1d4 |
| SHA256 | 6fbae3505ae0d638b820165c572d548ce92dda71e82dc47e8efe13f30617f35f |
| SHA256 | 9d87e6615c810907443ebd5e915f3b35099c3b5c6b6c684637138a7f8ec9cebc |
| SHA256 | 9d7cd4948a1fcbaeadc425752fce9a933bd6fc41eeede030dffd7b99b3bc51d5 |
Overview
CVE-2026-46300 is a high-severity vulnerability in the Linux kernel affecting how shared fragments are handled during socket buffer coalescing. This flaw can lead to unintended modification of page-cache-backed data, specifically allowing ESP input processing to decrypt shared fragments in place. When chained with other vulnerabilities, this can enable privilege escalation, the implantation of PHP webshells, and arbitrary command execution as root, posing a significant threat to Linux-based systems, including IoT devices.
Technical Analysis
The vulnerability stems from a missing initialization of a variable within the skb_try_coalesce() function. When skb_try_coalesce() transfers paged fragments from one socket buffer (@from) to another (@to), it fails to preserve the SKBFL_SHARED_FRAG marker if @from had it set. This breaks an invariant relied upon by later in-place writers, particularly ESP input processing. Consequently, ESP input checks skb_has_shared_frag() and, if the marker is missing, incorrectly determines that an uncloned nonlinear skb can skip skb_cow_data(), leading to in-place decryption over page-cache backed fragments.
This unintended modification of page-cache-backed data can be leveraged for privilege escalation. The NVD record explicitly states that this vulnerability can be chained with CVE-2026-109618 and CVE-2026-109619 to implant PHP webshells and execute commands as root.
- CVSS 3.1 Score: 7.8 (High)
- CVSS Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weaknesses:
CWE-787(Out-of-bounds Write),CWE-456(Missing Initialization of a Variable),CWE-123(Write-what-where Condition) - Affected Versions:
- Linux kernel versions
>= 3.9and<= 5.10.257 - Linux kernel versions
>= 5.11and< 5.15.208 - Linux kernel versions
>= 5.16and< 6.1.174 - Linux kernel versions
>= 6.2and< 6.6.141 - Linux kernel versions
>= 6.7and< 6.12.91 - Linux kernel versions
>= 6.13and< 6.18.33 - Linux kernel versions
>= 6.19and< 7.0.10 - Linux kernel version
7.1
- Linux kernel versions
Detection
Direct detection of the kernel vulnerability exploitation itself can be challenging from user-space logs. However, the post-exploitation activities described (webshells, root command execution) provide clear detection opportunities.
- Suspicious File Writes: Monitor web server directories (
/var/www/,/srv/www/,/usr/share/nginx/html/, etc.) for the creation or modification of.phpfiles by unusual processes or with suspicious content (e.g., base64 encoded strings,eval()functions). Utilizeauditdlogs forPATHevents related to file creation/modification. - Privileged Process Execution: Look for
sh,bash,php,python, orperlbeing executed with root privileges (UID 0) by unexpected parent processes or in unusual contexts. This is particularly relevant if the parent process is a network service or a process that should not typically spawn shells. Monitorauditdlogs forSYSCALLevents related toexecve. - Network Activity: Monitor for unusual outbound connections from compromised systems, especially those indicative of botnet activity (e.g., DDoS attacks, C2 communications) if linked to malware families like KATARU or Mirai.
Sigma Detection Rules
Linux Webshell Creation in Web Directories
title: Linux Webshell Creation in Web Directories
id: 752a1b3e-f1c3-4d0a-b8e7-2c9f0e1d4a3b
status: experimental
description: Detects the creation or modification of .php files in common web server directories, indicative of webshell deployment after exploitation.
logsource:
product: linux
service: auditd
detection:
selection:
type: 'PATH'
name|endswith:
- '.php'
- '.phtml'
- '.phar'
# Common web server root directories
directory|contains:
- '/var/www/'
- '/srv/www/'
- '/usr/share/nginx/html/'
- '/var/www/html/'
- '/var/www/htdocs/'
condition: selection
level: high
Linux Suspicious Root Command Execution
title: Linux Suspicious Root Command Execution
id: 9e0c3f1a-5b6d-4e7c-8a2b-1d0f2e3c4b5a
status: experimental
description: Detects execution of common shell or scripting interpreters with root privileges, which could indicate successful privilege escalation.
logsource:
product: linux
service: auditd
detection:
selection:
type: 'SYSCALL'
a0|contains:
- '/bin/sh'
- '/bin/bash'
- '/usr/bin/php'
- '/usr/bin/python'
- '/usr/bin/perl'
uid: '0' # Root user
condition: selection
level: high
Mitigations
- Apply Kernel Patches: Immediately update Linux kernel to a version that includes the fix for
CVE-2026-46300. Refer to the provided kernel Git references for specific patch details. - Regular System Updates: Ensure all Linux-based systems, including IoT devices, are kept up-to-date with the latest security patches from their respective distributions.
- Principle of Least Privilege: Restrict user and process privileges to the absolute minimum required to perform their functions.
- Network Segmentation: Isolate critical systems and IoT devices on separate network segments to limit lateral movement in case of compromise.
- Web Server Hardening: Implement strong web server security configurations, including disabling unnecessary PHP functions, restricting write access to web directories, and using Web Application Firewalls (WAFs).
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-46300
- https://git.kernel.org/stable/c/2f2b16022a2e10ca7bccfb98db5ed2ec0f72641c
- https://git.kernel.org/stable/c/3599e6b3cc1ada96883d496a50a210d3afbb6987
- https://git.kernel.org/stable/c/3884358a9286b17f389a72b1426fc4547c23c111
- https://git.kernel.org/stable/c/3bd9e113d50034db99d7ef69fd8e5242d15e414a
- https://git.kernel.org/stable/c/760e1addc27ba1a7beb4a0a7e8b3e9ec49e7a34e
- https://git.kernel.org/stable/c/78bf6b6bb19541d19fbda6242e7cfe2c682763c0
- https://git.kernel.org/stable/c/9d3e5fd19fe1063bf607219e8562fbd567b8e8d5
- https://git.kernel.org/stable/c/f84eca5817390257cef78013d0112481c503b4a3
- https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits
- https://ltna.com.au/cyber
Indicators of Compromise
| Type | Value | Description |
|---|---|---|
| SHA256 | 13382c16e2401b07451577b46e634b8031ec254d98b876e59692b5fa22abc1d4 |
KATARU ARM32 payload hash (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| SHA256 | 6fbae3505ae0d638b820165c572d548ce92dda71e82dc47e8efe13f30617f35f |
KATARU ARM32 payload hash (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| SHA256 | 9d7cd4948a1fcbaeadc425752fce9a933bd6fc41eeede030dffd7b99b3bc51d5 |
KATARU AMD64 payload hash (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| SHA256 | 9d87e6615c810907443ebd5e915f3b35099c3b5c6b6c684637138a7f8ec9cebc |
KATARU ARM32 payload hash (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| SHA256 | cc76bc218627279ecb4d0ce74ad2651e9db9e3e843e35d6569576e056e3a9218 |
KATARU loader hash (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| IP Address | 160.191.242.92 |
KATARU Telnet brute force and C2 IP (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
| Domain | bins.sh |
Domain for fetching per-architecture payloads (via https://www.nozominetworks.com/blog/kataru-iot-malware-adopts-public-lpe-exploits) |
MITRE ATT&CK
T1068— Exploitation for Privilege EscalationT1505.003— Web ShellT1059— Command and Scripting InterpreterT1110.001— Password GuessingT1498.001— Direct Network FloodT1053.003— CronT1082— System Information DiscoveryT1499.002— Service Exhaustion FloodT1106— Native APIT1016— System Network Configuration DiscoveryT1059.004— Unix ShellT1562.001— Disable or Modify ToolsT1027— Obfuscated Files or InformationT1573.002— Asymmetric CryptographyT1095— Non-Application Layer ProtocolT1037.004— RC ScriptsT1543.002— Systemd ServiceT1105— Ingress Tool Transfer
Generated by
gemini-2.5-flash ·2,776 input / 2,315 output tokens ·
Reviewed and approved by a human analyst before publication