{"api_version":"1","generated_at":"2026-11-30T19:52:02+00:00","cve":"CVE-2026-138909","urls":{"html":"https://cve.report/CVE-2026-138909","api":"https://cve.report/api/cve/CVE-2026-138909.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138909","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138909"},"summary":{"title":"media: rkvdec: do not destroy borrowed SRAM pool","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:49","updated_at":"2026-11-30 14:17:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff","name":"https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079","name":"https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138909","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138909","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5640dbb991c498b0f6fcf2e968fa795a8062eb6 54e5aa1854d2c22cb6a95d40e6d5af675e5008ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5640dbb991c498b0f6fcf2e968fa795a8062eb6 19449e913cf0cb866957fe7ddc9b357f7244d079 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/platform/rockchip/rkvdec/rkvdec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"54e5aa1854d2c22cb6a95d40e6d5af675e5008ff","status":"affected","version":"e5640dbb991c498b0f6fcf2e968fa795a8062eb6","versionType":"git"},{"lessThan":"19449e913cf0cb866957fe7ddc9b357f7244d079","status":"affected","version":"e5640dbb991c498b0f6fcf2e968fa795a8062eb6","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/platform/rockchip/rkvdec/rkvdec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:06.880Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/54e5aa1854d2c22cb6a95d40e6d5af675e5008ff"},{"url":"https://git.kernel.org/stable/c/19449e913cf0cb866957fe7ddc9b357f7244d079"}],"title":"media: rkvdec: do not destroy borrowed SRAM pool","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138909","datePublished":"2026-11-30T13:26:06.880Z","dateReserved":"2026-11-30T13:22:15.903Z","dateUpdated":"2026-11-30T13:26:06.880Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:49","lastModifiedDate":"2026-11-30 14:17:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138909","Ordinal":"1","Title":"media: rkvdec: do not destroy borrowed SRAM pool","CVE":"CVE-2026-138909","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138909","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"media: rkvdec: do not destroy borrowed SRAM pool"}]}}}