CVE-2022-48987 json
media: v4l2-dv-timings.c: fix too strict blanking sanity checks
published 2024-10-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53866
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.336, 4.14.302, 4.19.269, 5.4.227, 5.10.159, 5.15.83, 6.0.13
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2022-48987
- linux Ubuntu 18.04 LTS 4.15.0-206.217
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 18.04 LTS 4.15.0-1151.164
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
ubuntu advisories UBUNTU-CVE-2022-48987
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-syms SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-default SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +2 more 5.14.21-150500.55.88.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-obs-build SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-default-base SLE Module for Basesystem 15 SP5, SLE Micro 5.5 5.14.21-150500.55.88.1.150500.6.39.4
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.141.1
suse advisories SUSE-SU-2024:4364-1SUSE-SU-2024:4131-1SUSE-SU-2024:4082-1SUSE-SU-2024:3985-1SUSE-SU-2024:3983-1
- git.kernel.org/stable/c/0d73b49c4037199472b29574ae21c21aef493971 commit
- git.kernel.org/stable/c/a2b56627c0d13009e02f6f2c0206c0451ed19a0e commit
- git.kernel.org/stable/c/2572ab14b73aa45b6ae7e4c089ccf119fed5cf89 commit
- git.kernel.org/stable/c/4afc77068e36cee45b39d4fdc7513de26980f72c commit
- git.kernel.org/stable/c/32f01f0306a98629508f84d7ef0d1d037bc274a2 commit
- git.kernel.org/stable/c/6fb8bc29bfa80707994a63cc97e2f9920e0b0608 commit
- git.kernel.org/stable/c/d3d14cdf1c7ae2caa3e999bae95ba99e955fb7c3 commit
- git.kernel.org/stable/c/5eef2141776da02772c44ec406d6871a790761ee commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48987 updated cvss 4.4
kernel: media: v4l2-dv-timings.c: fix too strict blanking sanity checks
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
git.kernel.org
/stable/c/0d73b49c4037199472b29574ae21c21aef493971
patch
-
git.kernel.org
/stable/c/a2b56627c0d13009e02f6f2c0206c0451ed19a0e
patch
-
git.kernel.org
/stable/c/2572ab14b73aa45b6ae7e4c089ccf119fed5cf89
patch
-
git.kernel.org
/stable/c/4afc77068e36cee45b39d4fdc7513de26980f72c
patch
-
git.kernel.org
/stable/c/32f01f0306a98629508f84d7ef0d1d037bc274a2
patch
-
git.kernel.org
/stable/c/6fb8bc29bfa80707994a63cc97e2f9920e0b0608
patch
-
git.kernel.org
/stable/c/d3d14cdf1c7ae2caa3e999bae95ba99e955fb7c3
patch
-
git.kernel.org
/stable/c/5eef2141776da02772c44ec406d6871a790761ee
patch
Sources
- CVE List CVE-2022-48987
- NVD CVE-2022-48987
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.