CVE-2022-49166
published 2025-02-26CVE-2022-49166: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.9th percentile
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
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < bd8d7daa0e53b184a2f3c6e0d47330780d0a0650 | bd8d7daa0e53b184a2f3c6e0d47330780d0a0650 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 21d490232f323ed4053eb9924615e6fea291f154 | 21d490232f323ed4053eb9924615e6fea291f154 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 07793d2e55563124108762f4e5f811db92ffe02f | 07793d2e55563124108762f4e5f811db92ffe02f |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fe41ad8be036a3de3e4bdde709551aeb4de2fe7d | fe41ad8be036a3de3e4bdde709551aeb4de2fe7d |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b230f2d9441a34c7f483d39ab78519bcf73cc2e0 | b230f2d9441a34c7f483d39ab78519bcf73cc2e0 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 24ab2d4ef52c2dbb62a60844b87fc8872383407a | 24ab2d4ef52c2dbb62a60844b87fc8872383407a |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 115fae2c1566eacc5ad2055f72521354612e72c3 | 115fae2c1566eacc5ad2055f72521354612e72c3 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c641087d381a08363e5f14179bc6b0a23eca7c47 | c641087d381a08363e5f14179bc6b0a23eca7c47 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 714fbf2647b1a33d914edd695d4da92029c7e7c0 | 714fbf2647b1a33d914edd695d4da92029c7e7c0 |
| linux | linux_kernel | < 4.9.311 | 4.9.311 |
| linux | linux_kernel | >= 0 < 5.10.113-1 | 5.10.113-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 4.10 < 4.14.276 | 4.14.276 |
| linux | linux_kernel | >= 4.15 < 4.19.238 | 4.19.238 |
| linux | linux_kernel | >= 4.20 < 5.4.189 | 5.4.189 |
| linux | linux_kernel | >= 5.11 < 5.15.33 | 5.15.33 |
| linux | linux_kernel | >= 5.16 < 5.16.19 | 5.16.19 |
| linux | linux_kernel | >= 5.17 < 5.17.2 | 5.17.2 |
| linux | linux_kernel | >= 5.5 < 5.10.110 | 5.10.110 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: ntfs: add sanity check on allocation size
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49166 [MEDIUM] kernel: ntfs: add sanity check on allocation size
kernel: ntfs: add sanity check on allocation size
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Package: kernel-rt (Red
Debian
CVE-2022-49166: linux - In the Linux kernel, the following vulnerability has been resolved: ntfs: add s...
vendor_debian·2022·CVSS 5.5
CVE-2022-49166 [MEDIUM] CVE-2022-49166: linux - In the Linux kernel, the following vulnerability has been resolved: ntfs: add s...
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.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: resolved (fixed in 5.10.113-1)
forky: resolved (fixed in 5.17.3-1)
sid: resolved (fixed in 5.17.3-1)
trixie: resolved (fixed in 5.17.3-1)
GHSA
GHSA-v6vg-37g3-2xrq: In the Linux kernel, the following vulnerability has been resolved:
ntfs: add sanity check on allocation size
ntfs_read_inode_mount invokes ntfs_mal
ghsa_unreviewed·2025-10-15
CVE-2022-49166 [MEDIUM] GHSA-v6vg-37g3-2xrq: In the Linux kernel, the following vulnerability has been resolved:
ntfs: add sanity check on allocation size
ntfs_read_inode_mount invokes ntfs_mal
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.
OSV
CVE-2022-49166: In the Linux kernel, the following vulnerability has been resolved: ntfs: add sanity check on allocation size ntfs_read_inode_mount invokes ntfs_mallo
osv·2025-02-26·CVSS 5.5
CVE-2022-49166 [MEDIUM] CVE-2022-49166: In the Linux kernel, the following vulnerability has been resolved: ntfs: add sanity check on allocation size ntfs_read_inode_mount invokes ntfs_mallo
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/07793d2e55563124108762f4e5f811db92ffe02fhttps://git.kernel.org/stable/c/115fae2c1566eacc5ad2055f72521354612e72c3https://git.kernel.org/stable/c/21d490232f323ed4053eb9924615e6fea291f154https://git.kernel.org/stable/c/24ab2d4ef52c2dbb62a60844b87fc8872383407ahttps://git.kernel.org/stable/c/714fbf2647b1a33d914edd695d4da92029c7e7c0https://git.kernel.org/stable/c/b230f2d9441a34c7f483d39ab78519bcf73cc2e0https://git.kernel.org/stable/c/bd8d7daa0e53b184a2f3c6e0d47330780d0a0650https://git.kernel.org/stable/c/c641087d381a08363e5f14179bc6b0a23eca7c47https://git.kernel.org/stable/c/fe41ad8be036a3de3e4bdde709551aeb4de2fe7d
2025-02-26
Published