media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 48e4e06e2c5fe1fda283d499f91492eda2248bb9, Kernel 8fbcf730cb89c3647f3365226fe7014118fa93c7 and Kernel b8e19bf3b4aebd855be01b64674187dcf6d1db51.
In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup variable *nplanes is provided by user via system call argument. The possible value of q_data->fmt->num_planes is 1-3, while the value of *nplanes can be 1-8. The array access by index i can cause array out-of-bounds. Fix this bug by checking *nplanes against the array size.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.10, >=590577a4e5257ac3ed72999a94666ad6ba8f24bc <48e4e06e2c5fe1fda283d499f91492eda2248bb9, >=590577a4e5257ac3ed72999a94666ad6ba8f24bc <8fbcf730cb89c3647f3365226fe7014118fa93c7, >=590577a4e5257ac3ed72999a94666ad6ba8f24bc <b8e19bf3b4aebd855be01b64674187dcf6d1db51 | 48e4e06e2c5fe1fda283d499f91492eda2248bb9, 8fbcf730cb89c3647f3365226fe7014118fa93c7, b8e19bf3b4aebd855be01b64674187dcf6d1db51 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket