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

Published Nov 30, 2026
·
Updated

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

media: rkvdec: do not destroy borrowed SRAM pool

rkvdecprobe() obtains a provider-owned SRAM pool with ofgenpoolget(), but its error path incorrectly destroys the borrowed pool with genpooldestroy().

ofgenpoolget() 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 rkvdecv4l2init() 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 genpooldestroy() call from the probe failure path.

This issue was found by manual code inspection.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Remove the incorrect gen_pool_destroy() call from the rkvdec_probe() failure path; the SRAM pool returned by of_gen_pool_get() is owned by the SRAM provider.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203