CVE-2021-47339

published 21 May 2024 · updated 11 May 2026

media: v4l2-core: explicitly clear ioctl input data

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7b53cca764f9b291b7907fcd39d9e66ad728ee0b, Kernel bfb48b54db25c3b4ef4bef5e0691464ebc4aa335 and Kernel dc02c0b2bd6096f2f3ce63e1fc317aeda05f74d8.

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-core: explicitly clear ioctl input data As seen from a recent syzbot bug report, mistakes in the compat ioctl implementation can lead to uninitialized kernel stack data getting used as input for driver ioctl handlers. The reported bug is now fixed, but it's possible that other related bugs are still present or get added in the future. As the drivers need to check user input already, the possible impact is fairly low, but it might still cause an information leak. To be on the safe side, always clear the entire ioctl buffer before calling the conversion handler functions that are meant to initialize them.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=8dbcc3fa387c16abfc88a628cf528c439c91b332 <7b53cca764f9b291b7907fcd39d9e66ad728ee0b, >=8dbcc3fa387c16abfc88a628cf528c439c91b332 <bfb48b54db25c3b4ef4bef5e0691464ebc4aa335, >=8dbcc3fa387c16abfc88a628cf528c439c91b332 <dc02c0b2bd6096f2f3ce63e1fc317aeda05f74d87b53cca764f9b291b7907fcd39d9e66ad728ee0b, bfb48b54db25c3b4ef4bef5e0691464ebc4aa335, dc02c0b2bd6096f2f3ce63e1fc317aeda05f74d8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47339 severity on Zeptric[![CVE-2021-47339](https://zeptric.io/badge/cve/CVE-2021-47339.svg)](https://zeptric.io/cve/CVE-2021-47339)