In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Use variable length array instead of fixed size Should fix smatch warning: ntfs_set_label() error: __builtin_memcpy() 'uni->name' too small (20 vs 256)
The ntfs_set_label() function used a fixed size array to store the NTFS volume label name. Attempting to copy data of up to 256 bytes into a buffer of only 20 bytes caused a smatch tool warning about an insufficiently sized destination buffer for the __builtin_memcpy() operation. The fix replaces the fixed-size array with a variable length array, eliminating potential buffer overflow.
An attacker or malicious NTFS file system can cause a buffer overflow in kernel space, which may lead to unauthorized read or write of data, memory corruption, and consequently system destabilization or takeover.
Patches available from the vendor should be applied according to the references — patches have been published in the Linux kernel stable repository at the addresses indicated in the references section. It is recommended to update to the patched kernel version as soon as possible, especially on systems mounting external NTFS volumes.
Linux kernel with enabled NTFS3 file system driver (ntfs3); specific versions indicated in vendor references (patches available at addresses in git.kernel.org references).
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux Kernel
OSLinux5.15 – 5.15.161 (bez)5.16 – 6.1.93 (bez)6.2 – 6.6.33 (bez)6.7 – 6.9.4 (bez)
Related vulnerabilities
Type confusion w V8 (Google Chrome) — zdalne uszkodzenie sterty
Commvault Command Center – nieuwierzytelniony RCE przez path traversal w ZIP
IBM Aspera Faspex 4.4.2 Patch Level 1 and earlier could allow a remote attacker to execute arbitrary code on t...
VMware Workspace ONE Access and Identity Manager contain a remote code execution vulnerability due to server-s...
VMware Workspace One Access, Access Connector, Identity Manager, and Identity Manager Connector address have a...