cve/2024/CVE-2024-50287.md
2025-09-29 21:09:30 +02:00

20 lines
1.0 KiB
Markdown

### [CVE-2024-50287](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50287)
![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=3.18%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=63881df94d3ecbb0deafa0b77da62ff2f32961c4%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=blue)
### Description
In the Linux kernel, the following vulnerability has been resolved:media: v4l2-tpg: prevent the risk of a division by zeroAs reported by Coverity, the logic at tpg_precalculate_line()blindly rescales the buffer even when scaled_witdh is equal tozero. If this ever happens, this will cause a division by zero.Instead, add a WARN_ON_ONCE() to trigger such cases and returnwithout doing any precalculation.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/w4zu/Debian_security