← CVE Intelligence

CVE-2022-50130

staging: fbtft: core: set smem_len before fb_deferred_io_init call PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected e79b2b2aadeffe1db54a6b569b9b621575c3eb07 before 4178bfa3fc9de556dfe248a6eabe29280f0ffda5; affected 6a9ae2fe887042f76fd3d334349e64e8ab3c55a2 before 5185c319e8ea67657e0d3edd520a7276516c506a; affected 856082f021a28221db2c32bd0531614a8382be67 before 6ae6abe240306f878557d6eadd950a2e2561f59f; affected 856082f021a28221db2c32bd0531614a8382be67 before 81e878887ff82a7dd42f22951391069a5d520627; affected 5.18.3 before 5.18.18
Linux / Linuxaffected 5.19; unaffected 0 before 5.19; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References