Skip to content

add CVE-2025-39946_lts_cos#28

Open
d4em0n wants to merge 5 commits into
masterfrom
CVE-2025-39946_lts_cos_2
Open

add CVE-2025-39946_lts_cos#28
d4em0n wants to merge 5 commits into
masterfrom
CVE-2025-39946_lts_cos_2

Conversation

@d4em0n

@d4em0n d4em0n commented Dec 10, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@d4em0n d4em0n force-pushed the CVE-2025-39946_lts_cos_2 branch from 01bce6d to 136b389 Compare December 12, 2025 09:24
@d4em0n d4em0n force-pushed the CVE-2025-39946_lts_cos_2 branch from a656948 to 25f312b Compare December 14, 2025 09:30
- Replace magic numbers with named constants (#defines with comments)
- Break monolithic main() into descriptive functions
- Remove all unused code (DumpHex, PAUSE, commented-out blocks)
- Add @sleep(desc=...) annotations on all sleep() calls
- Add ROP gadget instruction comments and KERNEL_DEFAULT_BASE
- Add struct definitions for pipe_buffer layout offsets
- Move globals to local/function scope where appropriate
- Add MODULE_SYSFS_OPS JOP chain explanation in exploit.md and code comments
- Add KASLR bypass to COS exploit (was missing)
- Fix exploit.md grammar and restructure into numbered steps
@d4em0n d4em0n force-pushed the CVE-2025-39946_lts_cos_2 branch from fb7c22e to f2712dc Compare February 26, 2026 05:49
The 0x180 value is arbitrary, not specifically chosen to match
the kmalloc cache of skb_shinfo->frags. Clarify that AIO pages
are simply freed and later reclaimed by kmalloc allocations.
- Remove unused typedefs (keep only u64) and ARRAY_LEN macro
- Rename pipe_buffer offset defines to follow style guide (PIPE_BUFFER_OFFS_OPS, PIPE_BUFFER_OFFS_FLAGS)
- Fix PIPE_BUF_PRIVATE_OFFSET: value 24 (0x18) is flags, not private (0x20)
- Make ktext local in main() and pass to build_and_send_payload()
- Move listen_vsockfd/listen_vsock_addr to static locals in vsock_pair()
- Rename puaf -> aio_ctx
- Add PAYLOAD_SIZE define
- Remove commented-out code (// #define KASLR_BYPASS_INTEL)
- COS: remove unused unix_fd socketpair, fix outdated header comment
- Add clarifying comment on two-pipe fcntl expansion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant