Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPresent crafted NTFS image on 64KB-page host
-
DeliveryUser mounts/reads compressed file
-
ExploitTrigger u16 sub-block offset wrap in ntfs_decompress
-
ExecutionNegative-length memset overruns kernel page
-
ImpactKernel memory corruption and crash
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires a Linux kernel built with a 64 KiB page size (PAGE_SIZE 0x10000); the description states the u16 only overflows 'once PAGE_SIZE reaches 0x10000', so the common 4 KiB-page x86_64 default is NOT affected - this is the primary limiting factor. It also requires the read-only in-kernel NTFS driver to decompress an attacker-crafted compressed NTFS image (a malicious filesystem must be mounted and a compressed file read, matching UI:R), and local access to present that media to the victim. On an affected 64 KiB-page build the trigger is deterministic and cheap per the description (fifteen 11-byte sub-blocks advance *dest_ofs to 0xf000, the sixteenth wraps), with no further special configuration needed. |
| Impact | This is an out-of-bounds kernel write caused by a 16-bit integer truncation in the Linux read-only NTFS driver's ntfs_decompress(): do_sb_start/do_sb_end are u16 but must hold values up to PAGE_SIZE+0xfff, so on kernels built with 64 KiB pages (PAGE_SIZE 0x10000) do_sb_end wraps from 0x10000 to 0 and a short sub-block's zero-fill computes a negative nr_bytes, making memset() run for ~1.8e19 bytes. The signals diverge sharply: the provided CVSS is 7.8 HIGH (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and a patch is available (vuln.today priority 'this_week'), but EPSS is only 0.18% (8th percentile), there is no CISA KEV listing, and no public exploit is referenced - consistent with a low-probability, config-gated local bug rather than a widely-exploited remote flaw. The decisive limiter, stated directly in the description, is that the overflow only occurs 'once PAGE_SIZE reaches 0x10000'; the common x86_64 default of 4 KiB pages never truncates, so the realistic at-risk population is 64 KiB-page builds (some arm64/ppc64 configs) that also process attacker-supplied NTFS media. Treat as a real but niche local DoS / potential memory-corruption issue - patch on the normal 'this week' cadence rather than as an emergency, and verify your own kernels' PAGE_SIZE to gauge actual exposure. |
| Exploit ScenarioDerived | An attacker supplies a crafted NTFS image containing a compressed file whose decompression stream uses sixteen small symbol-token sub-blocks; on a victim kernel built with 64 KiB pages, reading that file drives *dest_ofs to 0xf000 and wraps the u16 do_sb_end to 0, so the zero-fill memset is invoked with a negative (huge unsigned) length and overruns kernel memory. This yields at minimum a kernel crash (DoS) and potentially broader heap corruption. No public PoC or exploit code is referenced in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Out-of-bounds write in the Linux kernel's read-only NTFS driver lets a local attacker who can mount a crafted compressed NTFS image trigger a massive memset() during decompression on kernels built with 64 KiB pages. The flaw is a 16-bit truncation: do_sb_end wraps from 0x10000 to 0 when the last sub-block of a page begins at 0xf000, so the zero-fill length becomes negative and the kernel writes far beyond the destination page, with high impact to confidentiality, integrity and availability as assessed. Affected systems require the 64 KiB page size; the common 4 KiB-page x86_64 configuration is not affected, and no public exploit or CISA KEV entry was identified at time of analysis (EPSS 0.18%).
RemediationAI
Vendor-released patch: Linux 7.3.6 and 7.4-rc1, corresponding to the stable commits https://git.kernel.org/stable/c/389ab01cff8a352c46cb137ef382d5eab4c0bbf9 and https://git.kernel.org/stable/c/d45f99f816c9e40cf89b93b90396b1503eda1e47, with the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-139258. Updating the kernel to a fixed version is the remediation identified in the available sources; no separate workaround is specified. The fix widens do_sb_start and do_sb_end to int in ntfs_decompress(), removing the 64 KiB-page wraparound. Administrators of affected 64 KiB-page kernels should apply the stable update for their branch; no fixed version should be inferred for branches other than those listed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ntfs_decompress() decompresses NTFS compressed data into a destination page and tracks the current sub-block with u16 do_sb_start and do_sb_end. Because *dest_ofs is a page offset masked with ~PAGE_MASK and NTFS_SB_SIZE is 0x1000, do_sb_end must represent up to PAGE_SIZE + 0xfff; once PAGE_SIZE is 0x10000 the value for a sub-block starting at 0xf000 wraps from 0x10000 to 0. The zero-fill branch then computes do_sb_end - *dest_ofs as a negative int, and memset(dp_addr, 0, nr_bytes) converts it to a huge size_t (~1.8e19 bytes). A sub-block made only of symbol tokens reaches that branch without rechecking do_sb_end, whereas phrase tokens are bounded and return -EOVERFLOW. The described trigger is deterministic and cheap: fifteen 11-byte sub-blocks advance *dest_ofs to 0xf000 and the sixteenth wraps; a 0x10000-byte compression block with 4 KiB clusters and compression unit 4 fits all sixteen. The fix uses int for both fields, matching *dest_ofs and dest_max_ofs. The root cause is an integer truncation leading to an out-of-bounds write; no CWE was supplied. CPE data is absent, and exploitation is limited to kernels built with 64 KiB pages that mount and read a crafted compressed NTFS image.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local crafted-filesystem vector read by a user (AV:L/UI:R, PR:N since no prior auth needed to parse the media); deterministic on affected 64KB-page builds (AC:L); kernel OOB write gives C/I/A:H.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ntfs: widen the sub-block offsets in ntfs_decompress()
ntfs_decompress() tracks where the current sub-block starts and ends inside the destination page with two u16s:
u16 do_sb_start; u16 do_sb_end; ... do_sb_start = *dest_ofs; do_sb_end = do_sb_start + NTFS_SB_SIZE;
*dest_ofs is an int page offset masked with ~PAGE_MASK, and NTFS_SB_SIZE is 0x1000, so do_sb_end needs PAGE_SIZE + 0xfff of range. That exceeds u16 once PAGE_SIZE reaches 0x10000: the last sub-block of a page starts at 0xf000 and do_sb_end wraps from 0x10000 to 0.
The zero-fill that pads a short sub-block then computes a negative length:
if (dp_addr < dp_sb_end) { int nr_bytes = do_sb_end - *dest_ofs;
memset(dp_addr, 0, nr_bytes);
A sub-block made only of symbol tokens reaches this without consulting do_sb_end on the way, because that path just does
*dp_addr++ = *cb++; ++*dest_ofs;
and is bounded by dp_addr against dp_sb_end. With do_sb_start at 0xf000 and eight literal bytes emitted, nr_bytes is -61448 and the memset() runs for 18446744073709490168 bytes.
Getting there is cheap: fifteen sub-blocks of eleven bytes each advance *dest_ofs to 0xf000, since the same zero-fill pads each of them out to 0x1000 while do_sb_end is still exact, and the sixteenth one triggers the wrap. A compression block is 0x10000 bytes with 4 KiB clusters and the fixed compression unit of 4, so all sixteen fit with room to spare.
Phrase tokens are bounded against do_sb_end and so return -EOVERFLOW instead, and the
if (*dest_index == dest_max_index && do_sb_end > dest_max_ofs)
check at the top of the sub-block stops firing for the same reason.
Use int for both, matching *dest_ofs and dest_max_ofs. The narrow type came in with the original import and survived the removal and revert of the driver.
Executive ViewAI
CVE-2026-139258 is a high-severity Linux kernel flaw in the NTFS read-only driver that could allow a local attacker with mount privileges to write beyond memory bounds, potentially causing system crashes or data corruption. The vulnerability only affects systems configured with 64 KiB memory pages, such as certain ARM64 and PowerPC architectures, while common x86_64 systems with 4 KiB pages are not impacted. Leadership should prioritize patching affected systems to prevent potential availability and integrity issues, especially in environments where local users have mount capabilities.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-138963
GHSA-cqpr-wcm5-95j8
NVD
CVE.org
EPSS
Exploit-DB