Back
CVE-2022-49166
ntfs: add sanity check on allocation size
Medium5.5EPSS 0.27%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < bd8d7daa0e53b184a2f3c6e0d47330780d0a0650
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 21d490232f323ed4053eb9924615e6fea291f154
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 07793d2e55563124108762f4e5f811db92ffe02f
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < fe41ad8be036a3de3e4bdde709551aeb4de2fe7d
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < b230f2d9441a34c7f483d39ab78519bcf73cc2e0
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 24ab2d4ef52c2dbb62a60844b87fc8872383407a
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 115fae2c1566eacc5ad2055f72521354612e72c3
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < c641087d381a08363e5f14179bc6b0a23eca7c47
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 714fbf2647b1a33d914edd695d4da92029c7e7c0
- affected 2.6.12
- unaffected < 2.6.12
- unaffected 4.9.311 – ≤ 4.9.*
- unaffected 4.14.276 – ≤ 4.14.*
- unaffected 4.19.238 – ≤ 4.19.*
- unaffected 5.4.189 – ≤ 5.4.*
- unaffected 5.10.110 – ≤ 5.10.*
- unaffected 5.15.33 – ≤ 5.15.*
- unaffected 5.16.19 – ≤ 5.16.*
- unaffected 5.17.2 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References (9)
- https://git.kernel.org/stable/c/bd8d7daa0e53b184a2f3c6e0d47330780d0a0650 (opens in a new tab)
- https://git.kernel.org/stable/c/21d490232f323ed4053eb9924615e6fea291f154 (opens in a new tab)
- https://git.kernel.org/stable/c/07793d2e55563124108762f4e5f811db92ffe02f (opens in a new tab)
- https://git.kernel.org/stable/c/fe41ad8be036a3de3e4bdde709551aeb4de2fe7d (opens in a new tab)
- https://git.kernel.org/stable/c/b230f2d9441a34c7f483d39ab78519bcf73cc2e0 (opens in a new tab)
- https://git.kernel.org/stable/c/24ab2d4ef52c2dbb62a60844b87fc8872383407a (opens in a new tab)
- https://git.kernel.org/stable/c/115fae2c1566eacc5ad2055f72521354612e72c3 (opens in a new tab)
- https://git.kernel.org/stable/c/c641087d381a08363e5f14179bc6b0a23eca7c47 (opens in a new tab)
- https://git.kernel.org/stable/c/714fbf2647b1a33d914edd695d4da92029c7e7c0 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49166)Record last updated .