ntfs: detect mapping-pairs LCN accumulator overflow
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ntfs: detect mapping-pairs LCN accumulator overflow
The NTFS mapping-pairs parser accumulates relative LCN deltas in a signed integer. A corrupted attribute can drive that addition past the representable range.
One corrupt runlist shape sets the accumulated LCN to S64_MAX and then adds a delta of 1 in the next mapping-pairs entry.
Signed overflow is undefined and can turn an invalid runlist into a different set of physical clusters.
Check the LCN addition for overflow before storing the next run.
From the CVE record · Linux
The Linux kernel NTFS mapping-pairs parser can overflow a signed LCN accumulator when it processes a corrupted attribute. This can cause an invalid runlist to be interpreted as a different set of physical clusters. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with NTFS support should check their deployments; affected versions are not specified.