Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix runlist marker allocation and count The marker path can append an unmapped element and an ENOENT terminator after the merge helpers have already computed the resulting runlist count. In that case, allocating ds + 2 elements leaves no room for the terminator at ds + 2. The path also increments new_rl_count even though the merge helper already accounted for the final runlist size, causing a later merge to start past the terminator. Allocate space through ds + 2, and derive new_rl_count from the final terminator index instead of incrementing the count a second time. A crafted NTFS image can reach this path through a normal read after the image has been mounted and trigger out-of-bounds kernel heap accesses.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
11ccc9107dc460de28af90fac1f42404d9802735 to < 8d20b7a996ff57c998c7093a0d5b203a477fd0a4affected11ccc9107dc460de28af90fac1f42404d9802735 to < c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1affected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected