Vulnerabilities · 2024 · Linux
CVE-2024-50074
Linux Kernel vulnerability
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
Linux Kernel, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9 · Patch
- git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa · Patch
- git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6 · Patch
- git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc · Patch
- git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569 · Patch
- git.kernel.org/stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952 · Patch
- git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf
- git.kernel.org/stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3
- nvd.nist.gov/vuln/detail/CVE-2024-50074
- cve.org/CVERecord?id=CVE-2024-50074
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.