CVE-2022-50036
drm/sun4i: dsi: Prevent underflow when computing packet sizes
Check your servers for CVE-2022-50036
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50036 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/sun4i: dsi: Prevent underflow when computing packet sizes
Currently, the packet overhead is subtracted using unsigned arithmetic. With a short sync pulse, this could underflow and wrap around to near the maximal u16 value. Fix this by using signed subtraction. The call to max() will correctly handle any negative numbers that are produced.
Apply the same fix to the other timings, even though those subtractions are less likely to underflow.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 133add5b5ad42b7bb5fcd59d681aef6475d08600, before a1e7908f78f5a7f53f8cd83c7dcdfec974c95f26 affected from 133add5b5ad42b7bb5fcd59d681aef6475d08600, before 98e28de472ef248352f04f87e29e634ebb0ec240 affected from 133add5b5ad42b7bb5fcd59d681aef6475d08600, before fb837f5b83461624e525727a8f4add14b201147e affected from 133add5b5ad42b7bb5fcd59d681aef6475d08600, before 82a1356a933d8443139f8886f11b63c974a09a67
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 unaffected from 5.10.138 up to and including 5.10.* unaffected from 5.15.63 up to and including 5.15.* unaffected from 5.19.4 up to and including 5.19.* unaffected 6.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50036 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50036
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50036
trivy image --scanners vuln IMAGE | grep CVE-2022-50036
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a1e7908f78f5a7f53f8cd83c7dcdfec974c95f26 git.kernel.org
- https://git.kernel.org/stable/c/98e28de472ef248352f04f87e29e634ebb0ec240 git.kernel.org
- https://git.kernel.org/stable/c/fb837f5b83461624e525727a8f4add14b201147e git.kernel.org
- https://git.kernel.org/stable/c/82a1356a933d8443139f8886f11b63c974a09a67 git.kernel.org
Source: the record CVE-2022-50036 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse