Skip to main content
Network Thinking Solutions Logo

CVE-2022-50036

Linux kernel: drm/sun4i: dsi: Prevent underflow when computing packet sizes

All CVEs
CVE-2022-50036Published 6/18/2025

Linux kernel: drm/sun4i: dsi: Prevent underflow when computing packet sizes

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.18, < 5.10.138

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.63

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.4

Verify advisory

Source
linux kernel
linux
6.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 133add5b5ad42b7bb5fcd59d681aef6475d08600, < a1e7908f78f5a7f53f8cd83c7dcdfec974c95f26

Verify advisory

Source
Linux
Linux
≥ 133add5b5ad42b7bb5fcd59d681aef6475d08600, < 98e28de472ef248352f04f87e29e634ebb0ec240

Verify advisory

Source
Linux
Linux
≥ 133add5b5ad42b7bb5fcd59d681aef6475d08600, < fb837f5b83461624e525727a8f4add14b201147e

Verify advisory

Source
Linux
Linux
≥ 133add5b5ad42b7bb5fcd59d681aef6475d08600, < 82a1356a933d8443139f8886f11b63c974a09a67

Verify advisory

Source
Linux
Linux
4.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.