Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ntfs: add sanity check on allocation size ntfs_read_inode_mount invokes ntfs_malloc_nofs with zero allocation size. It triggers one BUG in the __ntfs_malloc function. Fix this by adding sanity check on ni->attr_list_size.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd8d7daa0e53b184a2f3c6e0d47330780d0a0650; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 21d490232f323ed4053eb9924615e6fea291f154; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 07793d2e55563124108762f4e5f811db92ffe02f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fe41ad8be036a3de3e4bdde709551aeb4de2fe7d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b230f2d9441a34c7f483d39ab78519bcf73cc2e0; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 24ab2d4ef52c2dbb62a60844b87fc8872383407a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 115fae2c1566eacc5ad2055f72521354612e72c3; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c641087d381a08363e5f14179bc6b0a23eca7c47; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 714fbf2647b1a33d914edd695d4da92029c7e7c0 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 4.9.311 through 4.9.*; unaffected 4.14.276 through 4.14.*; unaffected 4.19.238 through 4.19.*; unaffected 5.4.189 through 5.4.*; unaffected 5.10.110 through 5.10.*; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bd8d7daa0e53b184a2f3c6e0d47330780d0a0650
- https://git.kernel.org/stable/c/21d490232f323ed4053eb9924615e6fea291f154
- https://git.kernel.org/stable/c/07793d2e55563124108762f4e5f811db92ffe02f
- https://git.kernel.org/stable/c/fe41ad8be036a3de3e4bdde709551aeb4de2fe7d
- https://git.kernel.org/stable/c/b230f2d9441a34c7f483d39ab78519bcf73cc2e0
- https://git.kernel.org/stable/c/24ab2d4ef52c2dbb62a60844b87fc8872383407a
- https://git.kernel.org/stable/c/115fae2c1566eacc5ad2055f72521354612e72c3
- https://git.kernel.org/stable/c/c641087d381a08363e5f14179bc6b0a23eca7c47
- https://git.kernel.org/stable/c/714fbf2647b1a33d914edd695d4da92029c7e7c0