media: s2255: check firmware size before reading trailing marker
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ffc27411ea60b8a09f1fea3d664b65210fdeb454, Kernel 330f2936ab768c7215322a476f033143e8891d28, Kernel 342632a4d8ba3fafc1556deee0b7a48dd7860336 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=14d962602c8bf86e63c9b9272be1f0360d0a448a <ffc27411ea60b8a09f1fea3d664b65210fdeb454, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <330f2936ab768c7215322a476f033143e8891d28, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <342632a4d8ba3fafc1556deee0b7a48dd7860336, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <5626785b0e4665326e4d96736c106161da09b2f0, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <6f6a5b0b0a84c2de0e152f2841e57bc226db924f, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <7d221859ba45d7228d0138c9a3e55bd3bb31e14e, >=14d962602c8bf86e63c9b9272be1f0360d0a448a <8eca0f85eeb0789be40e637bcf9a21c4265b6c6f, =2.6.28 | ffc27411ea60b8a09f1fea3d664b65210fdeb454, 330f2936ab768c7215322a476f033143e8891d28, 342632a4d8ba3fafc1556deee0b7a48dd7860336, 3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d, 5626785b0e4665326e4d96736c106161da09b2f0, 6f6a5b0b0a84c2de0e152f2841e57bc226db924f, 7d221859ba45d7228d0138c9a3e55bd3bb31e14e, 8eca0f85eeb0789be40e637bcf9a21c4265b6c6f |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=2.6.28 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket