Dirtycow Patch - CVE-2016-5195#4
Open
shawnanastasio wants to merge 1 commit into
Open
Conversation
Signed-off-by: Shawn Anastasio <[email protected]>
9hm2
pushed a commit
to 9hm2/android_kernel_huawei_angler
that referenced
this pull request
Jun 8, 2026
…drop Pairs the d11 ucode kick (streams the full unprotected-DATA body into the host lbuf) with an ARM hook that clones the full frame to monitor BEFORE wlc_recvdata drops it. RE found the drop at 0x1a6cfc/0x1a6d00 (ldrh r3,[r6,flar2#4] RxStatus1; tst.w r3,#0x310; bne -> drop) which runs BEFORE the monitor dispatch at 0x1a6d20 -- the copy engine leaves RxStatus1 0x310 bits set so the streamed plaintext frame is dropped pre-monitor. HookPatch4 at 0x1a6cfc calls the firmware's own wlc_monitor(wlc,rxhdr,p,0) for monitor-mode DATA frames about to be dropped; p->len is already the full streamed length (set at 0x1a6caa from the lbuf), so wl_monitor_radiotap copies the whole frame. Original tst/bne still drops it from the normal host RX path (no bogus plaintext injected up the stack).
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.
Patches the Dirty Cow (CVE-2016-5195) privilege escalation kernel exploit for ElementalX-1.00.