CVE-2022-48987
Last modified
CVE-2022-48987 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.9.332, < 4.9.336 |
| Linux | Linux Kernel | >= 4.14.298, < 4.14.302 |
| Linux | Linux Kernel | >= 4.19.264, < 4.19.269 |
| Linux | Linux Kernel | >= 5.4.226, < 5.4.227 |
| Linux | Linux Kernel | >= 5.10.153, < 5.10.159 |
| Linux | Linux Kernel | >= 5.15.77, < 5.15.83 |
| Linux | Linux Kernel | >= 6.0.7, < 6.0.13 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-48987?
How severe is CVE-2022-48987?
How do I fix CVE-2022-48987?
Are you affected by CVE-2022-48987?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
