media: s2255: check firmware size before reading trailing marker
- 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 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 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: media: s2255: check firmware size before reading trailing marker s2255_probe() reads a 4-byte marker and version from the last 8 bytes of the firmware blob (fw->data[fw_size - 8] and [fw_size - 4]). If the firmware file is shorter than 8 bytes, fw_size - 8 underflows and the access reads out of bounds. Validate the firmware size before indexing.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 6f6a5b0b0a84c2de0e152f2841e57bc226db924f; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 8eca0f85eeb0789be40e637bcf9a21c4265b6c6f; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in ffc27411ea60b8a09f1fea3d664b65210fdeb454; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 5626785b0e4665326e4d96736c106161da09b2f0; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 342632a4d8ba3fafc1556deee0b7a48dd7860336; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 7d221859ba45d7228d0138c9a3e55bd3bb31e14e; From 14d962602c8bf86e63c9b9272be1f0360d0a448a · fixed in 330f2936ab768c7215322a476f033143e8891d28
- Linux Linux
2.6.28
- KernelLinux
From 2.6.28 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/6f6a5b0b0a84c2de0e152f2841e57bc226db924f
- stable/c/8eca0f85eeb0789be40e637bcf9a21c4265b6c6f
- stable/c/ffc27411ea60b8a09f1fea3d664b65210fdeb454
- stable/c/5626785b0e4665326e4d96736c106161da09b2f0
- stable/c/3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d
- stable/c/342632a4d8ba3fafc1556deee0b7a48dd7860336
- stable/c/7d221859ba45d7228d0138c9a3e55bd3bb31e14e
- stable/c/330f2936ab768c7215322a476f033143e8891d28