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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:54.449Z
- Modified: 2026-11-30T14:19:36.940Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 81dee67e215b23f0c98182eece122b906d35765a before 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c; from 81dee67e215b23f0c98182eece122b906d35765a before e8f5e9ef48ea30dd59536be37e7c26d60446a9f9; from 81dee67e215b23f0c98182eece122b906d35765a before a80865b621d85bc308f8e09956e506fa659f350d; from 81dee67e215b23f0c98182eece122b906d35765a before 58549a03c72ac2abfc685758402dcd0ecd4b6376; from 81dee67e215b23f0c98182eece122b906d35765a before 0e33220ae40dd57e1ee0026019c3b7839f6412a1; from 81dee67e215b23f0c98182eece122b906d35765a before 4e7000dac78a9232d516c844ad79580186765d77; from 81dee67e215b23f0c98182eece122b906d35765a before 392d7349cfce28505b29032383e6674f50bdb0b4; from 81dee67e215b23f0c98182eece122b906d35765a before b7c885194b81a0376d1fdb457eac40d21d6fb65f; 4.1 (not affected: before 4.1; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c>
- <https://git.kernel.org/stable/c/e8f5e9ef48ea30dd59536be37e7c26d60446a9f9>
- <https://git.kernel.org/stable/c/a80865b621d85bc308f8e09956e506fa659f350d>
- <https://git.kernel.org/stable/c/58549a03c72ac2abfc685758402dcd0ecd4b6376>
- <https://git.kernel.org/stable/c/0e33220ae40dd57e1ee0026019c3b7839f6412a1>
- <https://git.kernel.org/stable/c/4e7000dac78a9232d516c844ad79580186765d77>
- <https://git.kernel.org/stable/c/392d7349cfce28505b29032383e6674f50bdb0b4>
- <https://git.kernel.org/stable/c/b7c885194b81a0376d1fdb457eac40d21d6fb65f>

## Sources

- CVE List: [CVE-2026-139562](https://www.cve.org/CVERecord?id=CVE-2026-139562), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139562](https://nvd.nist.gov/vuln/detail/CVE-2026-139562), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139562 · Whole record: https://cve.day/CVE-2026-139562.json · Rebuilt by cve.day 2026-11-30T14:33:07.129Z
