CVE-2026-139562: staging: sm750fb: free cmap on framebuffer release

Published Nov 30, 2026
·
Updated

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

staging: sm750fb: free cmap on framebuffer release

The cmap is allocated by lynxfbsetfbinfo() but never freed, so it is leaked when the framebuffer is torn down. This happens on every unbind, and on the registerframebuffer() error path in sm750fbframebufferalloc().

Add a lynxfbunsetfbinfo() cleanup counterpart to lynxfbsetfbinfo() which deallocates the cmap, and call it on teardown. In the alloc error path it is only called once lynxfbsetfbinfo() has succeeded, so the cmap is only freed when it was actually allocated.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add lynxfb_unset_fbinfo() to deallocate the cmap allocated by lynxfb_set_fbinfo(), and call it during framebuffer teardown after lynxfb_set_fbinfo() has succeeded.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

When does the memory leak occur?

The leak occurs whenever the sm750fb framebuffer is torn down after an unbind. It also occurs if register_framebuffer() fails in sm750fb_framebuffer_alloc() after lynxfb_set_fbinfo() has allocated the color map.

2

What is required to trigger the issue?

The affected sm750fb framebuffer must be initialized so that lynxfb_set_fbinfo() allocates its cmap, followed by framebuffer teardown or the specified registration error path. The provided data does not describe a remote or unprivileged attacker trigger.

3

How can I determine whether a system is affected?

Check whether the running Linux kernel includes one of the referenced stable fixes. Systems using the sm750fb driver that repeatedly unbind the framebuffer or encounter framebuffer registration failures are the relevant exposure cases.

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