CVE-2022-49166Published Feb 26, 2025 · Feb 26Updated Oct 28
ntfs: add sanity check on allocation size
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 24ab2d4ef52c2dbb62a60844b87fc8872383407a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ntfs_read_inode_mount can pass a zero allocation size to ntfs_malloc_nofs, triggering a BUG in __ntfs_malloc. The input does not specify how an attacker could reach this condition or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.