NetSight
medium5.5

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_malloc_nofs wi…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
before 4.9.311
from 4.10 before 4.14.276
from 4.15 before 4.19.238
from 4.20 before 5.4.189
from 5.5 before 5.10.110
from 5.11 before 5.15.33

References