CVE-2022-48987

MEDIUM

Linux Kernel Integer Overflow via V4L2 BT Timings Blanking Checks

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-dv-timings.c: fix too strict blanking sanity checks Sanity checks were added to verify the v4l2_bt_timings blanking fields in order to avoid integer overflows when userspace passes weird values. But that assumed that userspace would correctly fill in the front porch, backporch and sync values, but sometimes all you know is the total blanking, which is then assigned to just one of these fields. And that can fail with these checks. So instead set a maximum for the total horizontal and vertical blanking and check that each field remains below that. That is still sufficient to avoid integer overflows, but it also allows for more flexibility in how userspace fills in these fields.

Scores

CVSS v3 5.5
EPSS 0.0025
EPSS Percentile 15.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (23)
linux/Kernel 4.14.298 - 4.14.302linux
linux/Kernel 4.19.264 - 4.19.269linux
linux/Kernel 4.9.332 - 4.9.336linux
linux/Kernel 5.10.153 - 5.10.159linux
linux/Kernel 5.15.77 - 5.15.83linux
linux/Kernel 5.4.223 - 5.4.227linux
linux/Kernel 6.0.7 - 6.0.13linux
Linux/Linux 15ded23db134da975b49ea99770de0346c193b24 - 0d73b49c4037199472b29574ae21c21aef493971
Linux/Linux 3d43b2b8a3cdadd6cef9ac8ef5d156b6214a01c8 - a2b56627c0d13009e02f6f2c0206c0451ed19a0e
Linux/Linux 4.14.298 - 4.14.302
... and 13 more
Published Oct 21, 2024
Tracked Since Feb 18, 2026