CVE-2024-50074

parport: Proper fix for array out-of-bounds access

HIGH
7.8
CVSS Score
Published: October 29, 2024 at 12:50 AM UTC
Updated: August 5, 2026 at 12:05 PM UTC
2 products affected across 2 vendorsLinux KernelEnterprise Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.10.34.19.320 ≤ v < 4.19.3235.10.224 ≤ v < 5.10.2285.11 ≤ v < 5.15.1695.15.165 ≤ v < 5.15.1695.16 ≤ v < 6.1.1145.4.282 ≤ v < 5.4.2856.1.103 ≤ v < 6.1.1146.10.3 ≤ v < 6.116.11 ≤ v < 6.11.56.11 ≤ v < 6.126.2 ≤ v < 6.6.586.6.44 ≤ v < 6.6.586.7 ≤ v < 6.11.5166a0bddcc27de41fe13f861c8348e8e53e988c84.19.32047b3dce100778001cd76f7e9188944b5cb27a76d5.10.2245.15.1655.4.2826.1.1036.10.36.12 rc16.12 rc26.12 rc36.6.447789a1d6792af410aa9b39a1eb237ed24fa2170a7f4da759092a1a6ce35fb085182d02de8cc4cc84a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0ab11dac93d2d568d151b1918d7b84c2d02bacbd5b579ea3516c371ecf59d073772bc45dfd28c8a0ec719b393374d3763e64900ee19aaed767d5a08d6
Vendor states this is fixed in 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9 (fixed)
Vendor states this is fixed in 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa (fixed)
Vendor states this is fixed in 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6 (fixed)
Vendor states this is fixed in 440311903231c6e6c9bcf8acb6a2885a422e00bc (fixed)
Vendor states this is fixed in 66029078fee00646e2e9dbb8f41ff7819f8e7569 (fixed)
Vendor states this is fixed in 8aadef73ba3b325704ed5cfc4696a25c350182cf (fixed)
Vendor states this is fixed in b0641e53e6cb937487b6cfb15772374f0ba149b3 (fixed)
Vendor states this is fixed in fca048f222ce9dcbde5708ba2bf81d85a4a27952 (fixed)
Vendor states this is fixed in 4.19.323 (unaffected)
Vendor states this is fixed in 5.10.228 (unaffected)
Vendor states this is fixed in 5.15.169 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.114 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.11.5 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.58 (unaffected)

References (10)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card