CVE-2022-48987
media: v4l2-dv-timings.c: fix too strict blanking sanity checks
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-08-22 CVE Reserved
- 2024-10-21 CVE Published
- 2024-11-02 EPSS Updated
- 2024-11-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
https://git.kernel.org/stable/c/15ded23db134da975b49ea99770de0346c193b24 | Vuln. Introduced | |
https://git.kernel.org/stable/c/3d43b2b8a3cdadd6cef9ac8ef5d156b6214a01c8 | Vuln. Introduced | |
https://git.kernel.org/stable/c/9cf9211635b68e8e0c8cb88d43ca7dc83e4632aa | Vuln. Introduced | |
https://git.kernel.org/stable/c/b4a3a01762ae072c7f6ff2ff53b5019761288346 | Vuln. Introduced | |
https://git.kernel.org/stable/c/683015ae163481457a16fad2317af66360dc4762 | Vuln. Introduced | |
https://git.kernel.org/stable/c/491c0959f01d87bcbd5a1498bc70e0a3382c65a8 | Vuln. Introduced | |
https://git.kernel.org/stable/c/dc7276c3f6ca008be1faf531f84b49906c9bcf7f | Vuln. Introduced |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.9.332 < 4.9.336 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.9.332 < 4.9.336" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.14.298 < 4.14.302 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.14.298 < 4.14.302" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.19.264 < 4.19.269 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.19.264 < 4.19.269" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4.223 < 5.4.227 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4.223 < 5.4.227" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.10.153 < 5.10.159 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.10.153 < 5.10.159" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.15.77 < 5.15.83 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.15.77 < 5.15.83" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 6.0.7 < 6.0.13 Search vendor "Linux" for product "Linux Kernel" and version " >= 6.0.7 < 6.0.13" | en |
Affected
|