CVE-2024-50074 Details
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.
A vulnerability allowing array out-of-bounds access has been identified in the Linux kernel's parport driver. The issue arises because the initial fix replaced sprintf() calls with snprintf(), but snprintf() only indicates the size that would be printed, not the actual output size. This discrepancy can lead to length calculations exceeding safe limits. The vulnerability affects the Linux kernel stable tree, specifically in versions 6.1.0-0.deb11.22-amd64 and 5.10.234-1.
Users can upgrade to Linux kernel version 6.1.119-1~deb11u1 or 5.10.234-1, both of which include the necessary fix. Instructions for installing these versions are available on the Debian LTS website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10.224, < 5.10.228 >= 5.11, < 5.15.169 >= 5.16, < 6.1.114 >= 6.2, < 6.6.58 >= 6.7, < 6.11.5 6.12 rc1 6.12 rc2 6.12 rc3 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 8, 2024 | CVE Modified | kernel.org |
| Oct 31, 2024 | Initial Analysis | [email protected] |
| Oct 29, 2024 | New CVE Received | kernel.org |