{"id":"CVE-2026-138909","aliases":["CVE-2026-138909"],"related":[],"kind":"vulnerability","state":"published","title":"media: rkvdec: do not destroy borrowed SRAM pool","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rkvdec: do not destroy borrowed SRAM pool\n\nrkvdec_probe() obtains a provider-owned SRAM pool with\nof_gen_pool_get(), but its error path incorrectly destroys the borrowed\npool with gen_pool_destroy().\n\nof_gen_pool_get() returns a pool managed by the SRAM provider. The pool\nis not created or owned by the rkvdec driver and is destroyed by the\nprovider when its own managed resources are released.\n\nDestroying it when rkvdec_v4l2_init() fails can invalidate the pool\nwhile the provider and other consumers still reference it, and can also\nresult in the provider attempting to destroy it again later.\n\nRemove the incorrect gen_pool_destroy() call from the probe failure\npath.\n\nThis issue was found by manual code inspection.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rkvdec: do not destroy borrowed SRAM pool\n\nrkvdec_probe() obtains a provider-owned SRAM pool with\nof_gen_pool_get(), but its error path incorrectly destroys the borrowed\npool with gen_pool_destroy().\n\nof_gen_pool_get() returns a pool managed by the SRAM provider. The pool\nis not created or owned by the rkvdec driver and is destroyed by the\nprovider when its own managed resources are released.\n\nDestroying it when rkvdec_v4l2_init() fails can invalidate the pool\nwhile the provider and other consumers still reference it, and can also\nresult in the provider attempting to destroy it again later.\n\nRemove the incorrect gen_pool_destroy() call from the probe failure\npath.\n\nThis issue was found by manual code inspection.","source":"cvelist"}],"published":"2026-11-30T13:26:06.880Z","modified":"2026-11-30T14:17:49.487Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e5640dbb991c498b0f6fcf2e968fa795a8062eb6","fixed":"54e5aa1854d2c22cb6a95d40e6d5af675e5008ff","status":"affected"},{"type":"git","introduced":"e5640dbb991c498b0f6fcf2e968fa795a8062eb6","fixed":"19449e913cf0cb866957fe7ddc9b357f7244d079","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138909","url":"https://www.cve.org/CVERecord?id=CVE-2026-138909","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:06.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138909","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138909","licence":"Public domain","modified":"2026-11-30T14:17:49.487Z"}],"updatedAt":"2026-11-30T14:32:24.730Z","epss":{"score":0.00185,"percentile":0.08443,"date":"2026-12-01T12:00:22.000Z"}}