What’s Vulnerable › Vulnerabilities

CVE-2024-50074: parport: Proper fix for array out-of-bounds access

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.228, 5.15.169, 6.1.114, 6.11.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50074 or the next vulnerability affects your stack