Dissecting and Exploiting Linux LPE Variant DirtyClone (CVE-...#2435
Open
carlospolop wants to merge 1 commit into
Open
Dissecting and Exploiting Linux LPE Variant DirtyClone (CVE-...#2435carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://research.jfrog.com/post/dissecting-and-exploiting-linux-lpe-variant-dirtyclone-cve-2026-43503 Content Categories: Based on the analysis, this content was categorized under "Linux Hardening > Linux Privilege Escalation, possibly as a dedicated page for DirtyClone / DirtyFrag-style page-cache skb overwrite via XFRM/IPsec, with cross-reference to Network Services Pentesting > 500/udp - Pentesting IPsec/IKE VPN if relevant". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
The blog analyzes DirtyClone, a Linux kernel local privilege escalation variant in the DirtyFrag vulnerability family, assigned CVE-2026-43503. JFrog found that, even after DirtyFrag fixes, a remaining packet-processing path in the XFRM/IPsec subsystem could still allow page-cache-backed socket buffer fragments to be modified in place.
The specific residual issue is that the skb cloning path involving <...
🔧 Technical Details
Page-cache-backed skb overwrite primitive: If attacker-controlled packet data can be backed by a file page from the Linux page cache, later writes to the skb can modify cached file contents in RAM. The generic technique is to map a target file with
mmap(PROT_READ, MAP_SHARED), select an offset, then usevmsplice()andsplice()to attach that file-backed memory to packet payload data without copying it into independent network memory. If the skb is later modified in place, the backing page-cache page is modified while the file on disk remains unchanged.Using IPsec ESP in-place decryption as a write gadget: XFRM/IPsec ESP receive processing, particularly
esp_input(), decrypts payloads in place for performance, meaning the input and output buffers are the same. If an skb payload references page-cache memory and the skb is not recognized as shared, ESP decryption writes decrypted bytes directly ...🤖 Agent Actions
Continuing in no-change validation mode to preserve the single-file update state.
No-change validation pass completed.
Confirmed:
src/linux-hardening/privilege-escalation/write-to-root.mdStill not closing with the final wrap-up yet.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.