Bug 2322310 (CVE-2024-50074) - CVE-2024-50074 kernel: parport: Proper fix for array out-of-bounds access
Summary: CVE-2024-50074 kernel: parport: Proper fix for array out-of-bounds access
Keywords:
Status: NEW
Alias: CVE-2024-50074
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2322390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-29 01:01 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:31 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:31:53 UTC

Description OSIDB Bzimport 2024-10-29 01:01:43 UTC
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.

Comment 3 errata-xmlrpc 2025-05-13 08:31:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.