CVE-2024-50074 parport: Proper fix for array out-of-bounds access
HighCVSS 7.8
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Linux KernelUbuntuDebianRed Hat
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.
Upgrade path
11 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.115-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +27 more | 6.1.115-1 | Fixed |
| debian/linux(Debian 13) | < 6.11.5-1 | 6.11.5-1 | Fixed |
| debian/linux(Debian 14) | < 6.11.5-1 | 6.11.5-1 | Fixed |
| Linux kernel | < 4.19.323; < 5.4.285; < 5.10.228; < 5.15.169 +28 more | 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6, 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9, 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11, 6.11.5, 6.12, 8aadef73ba3b325704ed5cfc4696a25c350182cf, 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa, 66029078fee00646e2e9dbb8f41ff7819f8e7569, 440311903231c6e6c9bcf8acb6a2885a422e00bc, b0641e53e6cb937487b6cfb15772374f0ba149b3, fca048f222ce9dcbde5708ba2bf81d85a4a27952 | Fixed |
| Microsoft cbl mariner | < 5.15.173.1-1 | 5.15.173.1-1 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-133.144 | 5.15.0-133.144 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-56.58 | 6.8.0-56.58 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1076.81 | 5.15.0-1076.81 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1072.75 | 5.15.0-1072.75 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1028.32 | 6.8.0-1028.32 | Fixed |
| redhat enterprise linux | = 8.0; = 9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl mariner | < 5.15.173.1-1 | 5.15.173.1-1 |
| debian/linux(Debian:12) | < 6.1.115-1 | 6.1.115-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
Show 48 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.11.5-1 | 6.11.5-1 |
| debian/linux(Debian:14) | < 6.11.5-1 | 6.11.5-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-133.144 | 5.15.0-133.144 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1076.81 | 5.15.0-1076.81 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1072.75 | 5.15.0-1072.75 |
| Linux kernel | >= 166a0bddcc27de41fe13f861c8348e8e53e988c8, < 8aadef73ba3b325704ed5cfc4696a25c350182cf | 8aadef73ba3b325704ed5cfc4696a25c350182cf |
| Linux kernel | >= 47b3dce100778001cd76f7e9188944b5cb27a76d, < b0641e53e6cb937487b6cfb15772374f0ba149b3 | b0641e53e6cb937487b6cfb15772374f0ba149b3 |
| Linux kernel | >= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, < 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa | 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa |
| Linux kernel | >= c719b393374d3763e64900ee19aaed767d5a08d6, < 440311903231c6e6c9bcf8acb6a2885a422e00bc | 440311903231c6e6c9bcf8acb6a2885a422e00bc |
| Linux kernel | >= 7f4da759092a1a6ce35fb085182d02de8cc4cc84, < fca048f222ce9dcbde5708ba2bf81d85a4a27952 | fca048f222ce9dcbde5708ba2bf81d85a4a27952 |
| Linux kernel | >= b579ea3516c371ecf59d073772bc45dfd28c8a0e, < 66029078fee00646e2e9dbb8f41ff7819f8e7569 | 66029078fee00646e2e9dbb8f41ff7819f8e7569 |
| Linux kernel | >= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, < 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6 | 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6 |
| Linux kernel | >= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, < 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9 | 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9 |
| Linux kernel | = 7789a1d6792af410aa9b39a1eb237ed24fa2170a | No fix listed |
| Linux kernel | >= 4.19.320, < 4.19.323 | 4.19.323 |
| Linux kernel | >= 5.4.282, < 5.4.285 | 5.4.285 |
| Linux kernel | >= 5.10.224, < 5.10.228 | 5.10.228 |
| Linux kernel | >= 5.15.165, < 5.15.169 | 5.15.169 |
| Linux kernel | >= 6.1.103, < 6.1.114 | 6.1.114 |
| Linux kernel | >= 6.6.44, < 6.6.58 | 6.6.58 |
| Linux kernel | >= 6.10.3, < 6.11 | 6.11 |
| Linux kernel | = 6.11 | No fix listed |
| Linux kernel | < 4.19.323 | 4.19.323 |
| Linux kernel | < 5.4.285 | 5.4.285 |
| Linux kernel | < 5.10.228 | 5.10.228 |
| Linux kernel | < 5.15.169 | 5.15.169 |
| Linux kernel | < 6.1.114 | 6.1.114 |
| Linux kernel | < 6.6.58 | 6.6.58 |
| Linux kernel | < 6.11.5 | 6.11.5 |
| Linux kernel | < 6.12 | 6.12 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-56.58 | 6.8.0-56.58 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1028.32 | 6.8.0-1028.32 |
| Linux kernel | >= 5.11, < 5.15.169 | 5.15.169 |
| Linux kernel | >= 5.16, < 6.1.114 | 6.1.114 |
| Linux kernel | >= 6.2, < 6.6.58 | 6.6.58 |
| Linux kernel | >= 6.7, < 6.11.5 | 6.11.5 |
| Linux kernel | = 6.12-rc1 | No fix listed |
| Linux kernel | = 6.12-rc2 | No fix listed |
| Linux kernel | = 6.12-rc3 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- kernel vendor-advisory
- Debian Security Tracker CVE-2024-50074 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7276-1 vendor-advisory
- USN-7277-1 vendor-advisory
- USN-7288-1 vendor-advisory
- USN-7289-1 vendor-advisory
- USN-7291-1 vendor-advisory
- USN-7288-2 vendor-advisory
- USN-7289-2 vendor-advisory
- USN-7293-1 vendor-advisory
- USN-7294-1 vendor-advisory
- USN-7295-1 vendor-advisory
- USN-7289-3 vendor-advisory
- USN-7305-1 vendor-advisory
- USN-7289-4 vendor-advisory
- USN-7308-1 vendor-advisory
- USN-7294-2 vendor-advisory
- USN-7294-3 vendor-advisory
- USN-7310-1 vendor-advisory
- USN-7294-4 vendor-advisory
- USN-7331-1 vendor-advisory
- USN-7383-1 vendor-advisory
- USN-7384-1 vendor-advisory
- USN-7385-1 vendor-advisory
- USN-7386-1 vendor-advisory
- USN-7383-2 vendor-advisory
- USN-7388-1 vendor-advisory
- USN-7389-1 vendor-advisory
- USN-7390-1 vendor-advisory
- USN-7393-1 vendor-advisory
- USN-7384-2 vendor-advisory
- USN-7401-1 vendor-advisory
- USN-7403-1 vendor-advisory
- USN-7413-1 vendor-advisory
- USN-7451-1 vendor-advisory
- USN-7458-1 vendor-advisory
- USN-7468-1 vendor-advisory
- USN-7523-1 vendor-advisory
- USN-7524-1 vendor-advisory
- USN-7539-1 vendor-advisory
- USN-7540-1 vendor-advisory
- www.cve.org
- git.kernel.org
- git.kernel.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org
- lists.debian.org
- ENISA EUVD EUVD-2024-44748 third-party-advisory