ntfs: verify run length exceeding volume boundary
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux | — |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux | — |
|
In the Linux kernel, the following vulnerability has been resolved:
ntfs: verify run length exceeding volume boundary
The mapping pairs decoder validates that the starting LCN is within the volume but does not check if the run extends beyond the volume boundary.
A malformed NTFS image with a crafted mapping pairs array could cause the kernel to access memory beyond the volume boundary, potentially leading to memory corruption and privilege escalation.
Add validation to ensure lcn + length stays within nr_clusters.
From the CVE record · Linux
The Linux kernel NTFS mapping pairs decoder checks a run’s starting cluster but not whether the run extends beyond the volume. When the kernel processes a malformed NTFS image with a crafted mapping pairs array, it may access memory beyond the volume boundary, potentially causing memory corruption and privilege escalation. Network access and authentication requirements are not specified.
Anyone running a Linux kernel that processes NTFS images should check whether their kernel is affected; affected versions are not specified.