{"id":"CVE-2022-50130","summary":"staging: fbtft: core: set smem_len before fb_deferred_io_init call","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: core: set smem_len before fb_deferred_io_init call\n\nThe fbtft_framebuffer_alloc() calls fb_deferred_io_init() before\ninitializing info-\u003efix.smem_len.  It is set to zero by the\nframebuffer_alloc() function.  It will trigger a WARN_ON() at the\nstart of fb_deferred_io_init() and the function will not do anything.","modified":"2026-03-20T12:24:55.376183Z","published":"2025-06-18T11:02:56.209Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50130.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50130.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50130"},{"type":"PACKAGE","url":"https://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"},{"fixed":"81e878887ff82a7dd42f22951391069a5d520627"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50130.json"}}],"schema_version":"1.7.5"}