NetSight
high7.8

CVE-2024-50074

In the Linux kernel, the following vulnerability has been resolved: parport: Proper fix for array out-of-bounds access The recent fix for array out-of-bounds a…

Impact

In the Linux kernel, the following vulnerability has been resolved: parport: Proper fix for array out-of-bounds access The recent fix for array out-of-bounds accesses replaced sprintf() calls blindly with snprintf(). However, since snprintf() returns the would-be-printed size, not the actually output size, the length calculation can still go over the given limit. Use scnprintf() instead of snprintf(), which returns the actually output letters, for addressing the potential out-of-bounds access properly.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.224 before 5.10.228
from 5.11 before 5.15.169
from 5.16 before 6.1.114
from 6.2 before 6.6.58
from 6.7 before 6.11.5
Version 6.12
RedhatEnterprise Linux
Versions 8.0, 9.0

Weakness classification

References