add kernelCTF CVE-2025-40019_lts_cos_mitigation#305
Merged
matrizzo merged 3 commits intogoogle:masterfrom Mar 9, 2026
Merged
Conversation
Collaborator
|
Hey! The reward payout for this submission is blocked on not having a bughunters.google.com submission. Please create a new report there and then ping us so we can pay. Thanks! |
Contributor
Author
|
Hi, we have just made a submission to bughunters.google.com |
Collaborator
|
Thanks! I've issued the (first half of the) payment. |
matrizzo
requested changes
Feb 24, 2026
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/docs/exploit.md
Outdated
Show resolved
Hide resolved
- Rewrite exploit.md with detailed vulnerability description, chained SGL technique (first_rsgl → second_rsgl → tsgl), outlen=0 trick, ctl_buf spray mechanism, and scatterwalk_ffwd traversal explanation - Document 0x9c000 (trampoline_pgd) first-pass PTE with link to CVE-2023-6560 exploit documentation for reference - Update exploit.c comments across all targets to match documentation - Remove unused SO_RCVBUF setsockopt on authenc socket
matrizzo
requested changes
Feb 26, 2026
Collaborator
matrizzo
left a comment
There was a problem hiding this comment.
Hi, thanks for your submission. In general it looks good but there are a few small style issues. Please take a look.
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Outdated
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Outdated
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Outdated
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Outdated
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/cos-121-18867.199.56/exploit.c
Outdated
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/lts-6.12.48/exploit.c
Show resolved
Hide resolved
pocs/linux/kernelctf/CVE-2025-40019_lts_cos_mitigation/exploit/lts-6.12.48/exploit.c
Outdated
Show resolved
Hide resolved
- Add PAGE_SIZE, SCATTERLIST_OFFS_*, PHYS_ADDR_ALIGN_MASK defines - Extract create_aead_tfmfd() helper to deduplicate AEAD socket setup - Make data_buf, unix_sockfd, authenc_opfd local instead of global - Use named constants instead of magic numbers throughout - Add clarifying comments for volatile, root_payload, slab ordering - Remove dead code after while(1) sleep(1)
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.
No description provided.