ntfs: add sanity check on allocation size
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.27%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 2.6.12StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<2.6.12
- Version 4.14.276StatusunaffectedConstraints<=4.14.*
- Version 4.19.238StatusunaffectedConstraints<=4.19.*
- Version 4.9.311StatusunaffectedConstraints<=4.9.*
- Version 5.10.110StatusunaffectedConstraints<=5.10.*
- Version 5.15.33StatusunaffectedConstraints<=5.15.*
- Version 5.16.19StatusunaffectedConstraints<=5.16.*
- Version 5.17.2StatusunaffectedConstraints<=5.17.*
- Version 5.18StatusunaffectedConstraints<=*
- Version 5.4.189StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- < 4.9.311
- ≥ 4.10 · < 4.14.276
- ≥ 4.15 · < 4.19.238
- ≥ 4.20 · < 5.4.189
- ≥ 5.5 · < 5.10.110
- ≥ 5.11 · < 5.15.33
- ≥ 5.16 · < 5.16.19
- ≥ 5.17 · < 5.17.2
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (4 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.27% (0.00268) | 17.22th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.25% (0.00246) | 15.58th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.06% (0.00061) | 16.40th | v4 (v2025.03.14) |
| Feb 27, 2025 | 0.04% (0.00044) | 15.63th | v3 (v2023.03.01) |
No CWE recorded.
References (13)
- https://access.redhat.com/security/cve/CVE-2022-49166 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2348123 Issue Tracking
- https://git.kernel.org/stable/c/07793d2e55563124108762f4e5f811db92ffe02f Patch
- https://git.kernel.org/stable/c/115fae2c1566eacc5ad2055f72521354612e72c3 Patch
- https://git.kernel.org/stable/c/21d490232f323ed4053eb9924615e6fea291f154 Patch
- https://git.kernel.org/stable/c/24ab2d4ef52c2dbb62a60844b87fc8872383407a Patch
- https://git.kernel.org/stable/c/714fbf2647b1a33d914edd695d4da92029c7e7c0 Patch
- https://git.kernel.org/stable/c/b230f2d9441a34c7f483d39ab78519bcf73cc2e0 Patch
- https://git.kernel.org/stable/c/bd8d7daa0e53b184a2f3c6e0d47330780d0a0650 Patch
- https://git.kernel.org/stable/c/c641087d381a08363e5f14179bc6b0a23eca7c47 Patch
- https://git.kernel.org/stable/c/fe41ad8be036a3de3e4bdde709551aeb4de2fe7d Patch
- https://nvd.nist.gov/vuln/detail/CVE-2022-49166
- https://www.cve.org/CVERecord?id=CVE-2022-49166
Change history (0)
No recorded changes yet.