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

9 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.18.3<5.18.18
Linux Linux kernel>=5.19<5.19.2
linux/kernel>=5.18.3<5.18.18
5.18.18
linux/kernel>=5.19.0<5.19.2
5.19.2
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux
6.0.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.18.18
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.19.2
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.0.2-1
  4. Compensating control

    In fbtft_framebuffer_alloc(), initialize info->fix.smem_len before calling fb_deferred_io_init().

Event History

Jun 18, 2025
CVE Published
via MITRE·11:02 AM
Data Sourced
via MITRE·11:02 AM
Description
Data Sourced
via OSV·11:02 AM
DescriptionAffected Software
Data Sourced
via NVD·11:15 AM
Description
Data Sourced
via Red Hat·12:04 PM
DescriptionSeverityAffected Software
Nov 18, 2025
Data Sourced
via NVD·06:09 PM
RemedySeverityAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:03 AM
Severity
Nov 17, 2026
Updated
via OSV·07:01 AM
Affected 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