CVE-2026-138909
publishedmedia: rkvdec: do not destroy borrowed SRAM pool
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe5640dbb991c498b0f6fcf2e968fa795a8062eb6 to < 54e5aa1854d2c22cb6a95d40e6d5af675e5008ff · e5640dbb991c498b0f6fcf2e968fa795a8062eb6 to < 19449e913cf0cb866957fe7ddc9b357f7244d079 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e5640dbb991c498b0f6fcf2e968fa795a8062eb6 to < 54e5aa1854d2c22cb6a95d40e6d5af675e5008ff (affected · git)e5640dbb991c498b0f6fcf2e968fa795a8062eb6 to < 19449e913cf0cb866957fe7ddc9b357f7244d079 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
media: rkvdec: do not destroy borrowed SRAM pool
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5fede980e6e346113aac51aa81754a90daba2f711154621440ed026f52cb30cd
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record