What’s Vulnerable › Vulnerabilities

CVE-2022-49166: ntfs: add sanity check on allocation size

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.276, 4.19.238, 4.9.311, 5.10.110. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49166 or the next vulnerability affects your stack