CVE-2024-50074
parport: Proper fix for array out-of-bounds access
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- 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
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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
- stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf
- stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3
- stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa
- stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc
- stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952
- stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569
- stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6
- stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9