CVE-2024-50074
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.
How to fix
- linux linux_kernel5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.10.224 ≤ v < 5.10.228, 5.11 ≤ v < 5.15.169, 5.16 ≤ v < 6.1.114, 6.2 ≤ v < 6.6.58, 6.7 ≤ v < 6.11.5, 6.12 | 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5 |
| redhat enterprise_linux | 8.0, 9.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.