What’s Vulnerable › Vulnerabilities
CVE-2022-50130: staging: fbtft: core: set smem_len before fb_deferred_io_init call
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: core: set smem_len before fb_deferred_io_init call The fbtft_framebuffer_alloc() calls fb_deferred_io_init() before initializing info->fix.smem_len. It is set to zero by the framebuffer_alloc() function. It will trigger a WARN_ON() at the start of fb_deferred_io_init() and the function will not do anything.
Affected products
- Linux kernel: from 5.18.3 before 5.18.18; from 5.19 before 5.19.2 — fixed in 5.18.18, 5.19.2
How to fix
Upgrade to a fixed version: Linux kernel 5.18.18, 5.19.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5
- https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a
- https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f
- https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627
Get alerted when CVE-2022-50130 or the next vulnerability affects your stack