Bugzilla – Bug 1225102
VUL-0: CVE-2021-47339: kernel: media: v4l2-core: explicitly clear ioctl input data
Last modified: 2024-05-27 08:05:01 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47339 https://www.cve.org/CVERecord?id=CVE-2021-47339 https://git.kernel.org/stable/c/7b53cca764f9b291b7907fcd39d9e66ad728ee0b https://git.kernel.org/stable/c/bfb48b54db25c3b4ef4bef5e0691464ebc4aa335 https://git.kernel.org/stable/c/dc02c0b2bd6096f2f3ce63e1fc317aeda05f74d8 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47339.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2282421
I don't think this is fixing any actual bugs, something 'just to be sure'. And there is no relevant code found in SLE12-SP5 and SLE12-SP3-TD abound compat ioctl handling there, so this can be pushed back.
(In reply to Takashi Iwai from comment #2) > I don't think this is fixing any actual bugs, something 'just to be sure'. > > And there is no relevant code found in SLE12-SP5 and SLE12-SP3-TD abound > compat ioctl handling there, so this can be pushed back. Takashi, do you intend to dispute it according to [1]? If not, based on your comment about SLE12*, this will be nop and we can reassign to security team, since newer branches are already fixed. https://wiki.suse.net/index.php?title=SUSE-Labs/kernel/sec#Disputing_CVEs
I don't think we need to spend our energy for dispute. I'm for just skipping for the older code.
All done, closing.