CVE-2022-50130

staging: fbtft: core: set smem_len before fb_deferred_io_init call

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18.3 ≤ v < 5.18.185.19 ≤ v < 5.19.25.19 ≤ v < 6.05.18.35.196a9ae2fe887042f76fd3d334349e64e8ab3c55a2856082f021a28221db2c32bd0531614a8382be67e79b2b2aadeffe1db54a6b569b9b621575c3eb07
Vendor states this is fixed in 4178bfa3fc9de556dfe248a6eabe29280f0ffda5 (fixed)
Vendor states this is fixed in 5185c319e8ea67657e0d3edd520a7276516c506a (fixed)
Vendor states this is fixed in 6ae6abe240306f878557d6eadd950a2e2561f59f (fixed)
Vendor states this is fixed in 81e878887ff82a7dd42f22951391069a5d520627 (fixed)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card