staging: sm750fb: free cmap on framebuffer release

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

staging: sm750fb: free cmap on framebuffer release

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

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

ProductVersions
Linux Linux81dee67e215b23f0c98182eece122b906d35765a to before 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c Affected81dee67e215b23f0c98182eece122b906d35765a to before e8f5e9ef48ea30dd59536be37e7c26d60446a9f9 Affected81dee67e215b23f0c98182eece122b906d35765a to before a80865b621d85bc308f8e09956e506fa659f350d Affected81dee67e215b23f0c98182eece122b906d35765a to before 58549a03c72ac2abfc685758402dcd0ecd4b6376 Affected81dee67e215b23f0c98182eece122b906d35765a to before 0e33220ae40dd57e1ee0026019c3b7839f6412a1 Affected81dee67e215b23f0c98182eece122b906d35765a to before 4e7000dac78a9232d516c844ad79580186765d77 Affected81dee67e215b23f0c98182eece122b906d35765a to before 392d7349cfce28505b29032383e6674f50bdb0b4 Affected81dee67e215b23f0c98182eece122b906d35765a to before b7c885194b81a0376d1fdb457eac40d21d6fb65f Affected
Linux Linux4.1 Affectedbefore 4.1 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.