CVE-2022-50130: staging: fbtft: core: set smem_len before fb_deferred_io_init call

Published Jun 18, 2025
·
Updated

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 fbdeferredioinit() and the function will not do anything.

Affected Software

3 affected components
Linux Kernel
Linux Linux kernel>=5.18.3<5.18.18
Linux Linux kernel>=5.19<5.19.2

Event History

Jun 18, 2025
CVE Published
via MITRE·11:02 AM
Data Sourced
via MITRE·11:02 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What configurations are affected?

The issue is in the Linux kernel staging fbtft framebuffer code, specifically the fbtft_framebuffer_alloc() path that initializes deferred I/O before setting info->fix.smem_len.

2

What happens on an affected system?

Because smem_len is still zero, fb_deferred_io_init() triggers its initial WARN_ON() check and does not perform deferred I/O initialization.

3

Is a fix available?

Yes. A patch is available that sets smem_len before calling fb_deferred_io_init().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203