CVE-2026-138909

medium

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.

References

https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff

https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138612

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 6.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00185