Skip to main content
← All vulnerabilities
CVE-2024-50074

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.19.320 · fixed in 4.19.323; From 5.4.282 · fixed in 5.4.285; From 5.10.224 · fixed in 5.10.228; From 5.15.165 · fixed in 5.15.169; From 6.1.103 · fixed in 6.1.114; From 6.6.44 · fixed in 6.6.58; From 6.10.3 · fixed in 6.11

  • Linux Linux

    6.11

References 8

git.kernel.org