Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: validate attribute-list sizes before allocation The NULL point dereference could occur when an on-disk $ATTRIBUTE_LIST size was truncated before it was validated and allocated. To fix this issue and prevent excessive memory allocation, limit the $ATTRIBUTE_LIST size to 256 KiB. The following existing implementation and Windows test provide evidence for this 256 KiB compatibility limit: NTFS already treats 256 KiB as the $ATTRIBUTE_LIST limit in its attribute-size checks and $MFT attribute list repack/expand paths. For additional Windows testing, when $MFT's attribute-list data_size was above 256 KiB, Windows attached the disk partition but did not mount a NTFS volume and target access failed.
Affected products and versions
References
- git.kernel.org/stable/c/b5bd03b9ca1db8ee5cb1ff1119dc291b2264490d
- git.kernel.org/stable/c/ca43660672050337f4b845e36f732e3af1e308ca
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.