CVE-2022-50130

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50130
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50130.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50130
Downstream
Published
2025-06-18T11:02:56.209Z
Modified
2025-11-19T18:41:49.372759Z
Summary
staging: fbtft: core: set smem_len before fb_deferred_io_init call
Details

In the Linux kernel, the following vulnerability has been resolved:

staging: fbtft: core: set smemlen before fbdeferredioinit call

The fbtftframebufferalloc() calls fbdeferredioinit() before initializing info->fix.smemlen. It is set to zero by the framebufferalloc() function. It will trigger a WARNON() at the start of fbdeferredio_init() and the function will not do anything.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e79b2b2aadeffe1db54a6b569b9b621575c3eb07
Fixed
4178bfa3fc9de556dfe248a6eabe29280f0ffda5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a9ae2fe887042f76fd3d334349e64e8ab3c55a2
Fixed
5185c319e8ea67657e0d3edd520a7276516c506a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
856082f021a28221db2c32bd0531614a8382be67
Fixed
6ae6abe240306f878557d6eadd950a2e2561f59f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
856082f021a28221db2c32bd0531614a8382be67
Fixed
81e878887ff82a7dd42f22951391069a5d520627

Affected versions

v5.*

v5.17
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.18.10
v5.18.11
v5.18.12
v5.18.13
v5.18.14
v5.18.15
v5.18.16
v5.18.17
v5.18.3
v5.18.4
v5.18.5
v5.18.6
v5.18.7
v5.18.8
v5.18.9
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v5.19.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2