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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:35:54.449Z
- **Modified:** 2026-11-30T14:19:36.940Z

## Who should check

- Anyone running Linux \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< e8f5e9ef48ea30dd59536be37e7c26d60446a9f9; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< a80865b621d85bc308f8e09956e506fa659f350d; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 58549a03c72ac2abfc685758402dcd0ecd4b6376; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 0e33220ae40dd57e1ee0026019c3b7839f6412a1; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 4e7000dac78a9232d516c844ad79580186765d77; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 392d7349cfce28505b29032383e6674f50bdb0b4; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< b7c885194b81a0376d1fdb457eac40d21d6fb65f
- Anyone running Linux 4.1

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

## Affected and fixed versions

- Linux: \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< e8f5e9ef48ea30dd59536be37e7c26d60446a9f9; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< a80865b621d85bc308f8e09956e506fa659f350d; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 58549a03c72ac2abfc685758402dcd0ecd4b6376; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 0e33220ae40dd57e1ee0026019c3b7839f6412a1; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 4e7000dac78a9232d516c844ad79580186765d77; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 392d7349cfce28505b29032383e6674f50bdb0b4; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< b7c885194b81a0376d1fdb457eac40d21d6fb65f (cvelist)
- Linux: 4.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139562. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139562.md
Affected: Linux >= 81dee67e215b23f0c98182eece122b906d35765a, < 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c; >= 81dee67e215b23f0c98182eece122b906d35765a, < e8f5e9ef48ea30dd59536be37e7c26d60446a9f9; >= 81dee67e215b23f0c98182eece122b906d35765a, < a80865b621d85bc308f8e09956e506fa659f350d; >= 81dee67e215b23f0c98182e…
Fixed in: Linux 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c, Linux 58549a03c72ac2abfc685758402dcd0ecd4b6376, Linux 0e33220ae40dd57e1ee0026019c3b7839f6412a1, Linux 4e7000dac78a9232d516c844ad79580186765d77, Linux 392d7349cfce28505b29032383e6674f50bdb0b4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139562 being exploited?

There is no confirmed exploitation: CVE-2026-139562 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139562?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139562?

Linux \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< e8f5e9ef48ea30dd59536be37e7c26d60446a9f9; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< a80865b621d85bc308f8e09956e506fa659f350d; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 58549a03c72ac2abfc685758402dcd0ecd4b6376; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 0e33220ae40dd57e1ee0026019c3b7839f6412a1; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 4e7000dac78a9232d516c844ad79580186765d77; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< 392d7349cfce28505b29032383e6674f50bdb0b4; \>= 81dee67e215b23f0c98182eece122b906d35765a, \< b7c885194b81a0376d1fdb457eac40d21d6fb65f; Linux 4.1.

### Is there a fix for CVE-2026-139562?

Yes. Fixed in Linux 68f8ba2d49674d0fd8b2b9a79e29f99cc305d79c, Linux 58549a03c72ac2abfc685758402dcd0ecd4b6376, Linux 0e33220ae40dd57e1ee0026019c3b7839f6412a1, Linux 4e7000dac78a9232d516c844ad79580186765d77, Linux 392d7349cfce28505b29032383e6674f50bdb0b4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139562?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139562>

HTML: <https://flawdb.com/CVE-2026-139562> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139562>
