---
id: CVE-2022-50130
title: 'staging: fbtft: core: set smem_len before fb_deferred_io_init call'
summary: |-
  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.  I…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e79b2b2aadeffe1db54a6b569b9b621575c3eb07 <
    4178bfa3fc9de556dfe248a6eabe29280f0ffda5
  - >-
    Linux >= 6a9ae2fe887042f76fd3d334349e64e8ab3c55a2 <
    5185c319e8ea67657e0d3edd520a7276516c506a
  - >-
    Linux >= 856082f021a28221db2c32bd0531614a8382be67 <
    6ae6abe240306f878557d6eadd950a2e2561f59f
  - >-
    Linux >= 856082f021a28221db2c32bd0531614a8382be67 <
    81e878887ff82a7dd42f22951391069a5d520627
  - Linux >= 5.18.3 < 5.18.18
  - Linux 5.19
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:54:56.769641Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:00:17.961Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50130'
references:
  - url: 'https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5'
  - url: 'https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a'
  - url: 'https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f'
  - url: 'https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627'
tags:
  - cve.org
epss: 0.00193
epssPercentile: 0.09015
ingestedAt: '2026-11-05T22:38:31.673Z'
---

## Overview

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

- `Linux >= e79b2b2aadeffe1db54a6b569b9b621575c3eb07 < 4178bfa3fc9de556dfe248a6eabe29280f0ffda5`
- `Linux >= 6a9ae2fe887042f76fd3d334349e64e8ab3c55a2 < 5185c319e8ea67657e0d3edd520a7276516c506a`
- `Linux >= 856082f021a28221db2c32bd0531614a8382be67 < 6ae6abe240306f878557d6eadd950a2e2561f59f`
- `Linux >= 856082f021a28221db2c32bd0531614a8382be67 < 81e878887ff82a7dd42f22951391069a5d520627`
- `Linux >= 5.18.3 < 5.18.18`
- `Linux 5.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
