CVE-2022-50036drm/sun4i: dsi: Prevent underflow when computing packet sizes
- 5.5MediumCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 133add5b5ad42b7bb5fcd59d681aef6475d08600 – < a1e7908f78f5a7f53f8cd83c7dcdfec974c95f26
- affected 133add5b5ad42b7bb5fcd59d681aef6475d08600 – < 98e28de472ef248352f04f87e29e634ebb0ec240
- affected 133add5b5ad42b7bb5fcd59d681aef6475d08600 – < fb837f5b83461624e525727a8f4add14b201147e
- affected 133add5b5ad42b7bb5fcd59d681aef6475d08600 – < 82a1356a933d8443139f8886f11b63c974a09a67
- affected 4.18
- unaffected < 4.18
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References
References4
- https://git.kernel.org/stable/c/a1e7908f78f5a7f53f8cd83c7dcdfec974c95f26 (opens in a new tab)
- https://git.kernel.org/stable/c/98e28de472ef248352f04f87e29e634ebb0ec240 (opens in a new tab)
- https://git.kernel.org/stable/c/fb837f5b83461624e525727a8f4add14b201147e (opens in a new tab)
- https://git.kernel.org/stable/c/82a1356a933d8443139f8886f11b63c974a09a67 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55307 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50036)Record last updated .