{"id":"CVE-2022-50130","state":"PUBLISHED","title":"staging: fbtft: core: set smem_len before fb_deferred_io_init call","description":"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->fix.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.","publishedAt":"2025-06-18T11:02:56.209Z","updatedAt":"2026-05-23T15:23:43.855Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e79b2b2aadeffe1db54a6b569b9b621575c3eb07","status":"affected","lessThan":"4178bfa3fc9de556dfe248a6eabe29280f0ffda5","versionType":"git"},{"version":"6a9ae2fe887042f76fd3d334349e64e8ab3c55a2","status":"affected","lessThan":"5185c319e8ea67657e0d3edd520a7276516c506a","versionType":"git"},{"version":"856082f021a28221db2c32bd0531614a8382be67","status":"affected","lessThan":"6ae6abe240306f878557d6eadd950a2e2561f59f","versionType":"git"},{"version":"856082f021a28221db2c32bd0531614a8382be67","status":"affected","lessThan":"81e878887ff82a7dd42f22951391069a5d520627","versionType":"git"},{"version":"5.18.3","status":"affected","lessThan":"5.18.18","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/fbtft/fbtft-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/fbtft/fbtft-core.c"]}],"references":["https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5","https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a","https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f","https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50130.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50130","state":"PUBLISHED","datePublished":"2025-06-18T11:02:56.209Z","dateUpdated":"2026-05-23T15:23:43.855Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.418Z"},"containers":{"cna":{"title":"staging: fbtft: core: set smem_len before fb_deferred_io_init call","descriptions":[{"lang":"en","value":"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->fix.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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e79b2b2aadeffe1db54a6b569b9b621575c3eb07","status":"affected","lessThan":"4178bfa3fc9de556dfe248a6eabe29280f0ffda5","versionType":"git"},{"version":"6a9ae2fe887042f76fd3d334349e64e8ab3c55a2","status":"affected","lessThan":"5185c319e8ea67657e0d3edd520a7276516c506a","versionType":"git"},{"version":"856082f021a28221db2c32bd0531614a8382be67","status":"affected","lessThan":"6ae6abe240306f878557d6eadd950a2e2561f59f","versionType":"git"},{"version":"856082f021a28221db2c32bd0531614a8382be67","status":"affected","lessThan":"81e878887ff82a7dd42f22951391069a5d520627","versionType":"git"},{"version":"5.18.3","status":"affected","lessThan":"5.18.18","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/fbtft/fbtft-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/fbtft/fbtft-core.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:23:43.855Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18.3","versionEndExcluding":"5.18.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"5.19.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}