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

1.0 KiB

CVE-2024-50287

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