# CVE-2026-138909: media: rkvdec: do not destroy borrowed SRAM pool

- 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 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:06.880Z
- Modified: 2026-11-30T14:17:49.487Z
- Assigned by: Linux

## Description

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

media: rkvdec: do not destroy borrowed SRAM pool

rkvdec_probe() obtains a provider-owned SRAM pool with
of_gen_pool_get(), but its error path incorrectly destroys the borrowed
pool with gen_pool_destroy().

of_gen_pool_get() returns a pool managed by the SRAM provider. The pool
is not created or owned by the rkvdec driver and is destroyed by the
provider when its own managed resources are released.

Destroying it when rkvdec_v4l2_init() fails can invalidate the pool
while the provider and other consumers still reference it, and can also
result in the provider attempting to destroy it again later.

Remove the incorrect gen_pool_destroy() call from the probe failure
path.

This issue was found by manual code inspection.

(As written by CVE List.)

## Affected

- Linux Linux: from e5640dbb991c498b0f6fcf2e968fa795a8062eb6 before 54e5aa1854d2c22cb6a95d40e6d5af675e5008ff; from e5640dbb991c498b0f6fcf2e968fa795a8062eb6 before 19449e913cf0cb866957fe7ddc9b357f7244d079; 7.0 (not affected: before 7.0; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff>
- <https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079>

## Sources

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

---

Page: https://cve.day/CVE-2026-138909 · Whole record: https://cve.day/CVE-2026-138909.json · Rebuilt by cve.day 2026-11-30T14:32:24.730Z
