{"id":"CVE-2026-89896","published":"2026-09-16T10:31:57Z","modified":"2026-10-19T08:54:29Z","title":"media: cedrus: fix memory leak in cedrus_init_ctrls()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cedrus: fix memory leak in cedrus_init_ctrls()\n\nIn cedrus_init_ctrls(), the V4L2 control handler is initialized before\nallocating memory for ctx->ctrls. If this allocation fails, the function\nreturns -ENOMEM without freeing the previously allocated handler\nresources, leading to a memory leak.\n\nFix this by calling v4l2_ctrl_handler_free() on the ctx->ctrls allocation\nfailure path.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still\npresent in v7.1.1.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have an\nAllwinner SoC or board with a Cedrus VPU available to test with, no\nruntime testing was able to be performed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.07263,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6fabacc3b79a528450aef4c32464da2ec681049e","tags":[]},{"url":"https://git.kernel.org/stable/c/729a1ffab968b3c493f61d1cd683f5bafec500ea","tags":[]},{"url":"https://git.kernel.org/stable/c/ce5693b6e3a693fcdc3800af309363f6250104c8","tags":[]},{"url":"https://git.kernel.org/stable/c/22441be29ec27c693f40c1ef499093275ef529d1","tags":[]},{"url":"https://git.kernel.org/stable/c/79fd0b0161506fc9507bf7a6fe4c975a857a5be8","tags":[]},{"url":"https://git.kernel.org/stable/c/f78cf36cabf911da348ea80e4e9f430d74f6905c","tags":[]},{"url":"https://git.kernel.org/stable/c/81aa608ac3a56cdd4aab0bd12442ed529a24ba31","tags":[]},{"url":"https://git.kernel.org/stable/c/9df2fbe563194da1967a5db083442186c1323efe","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.45}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 6fabacc3b79a528450aef4c32464da2ec681049e",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 729a1ffab968b3c493f61d1cd683f5bafec500ea",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < ce5693b6e3a693fcdc3800af309363f6250104c8",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 22441be29ec27c693f40c1ef499093275ef529d1",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 79fd0b0161506fc9507bf7a6fe4c975a857a5be8",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < f78cf36cabf911da348ea80e4e9f430d74f6905c",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 81aa608ac3a56cdd4aab0bd12442ed529a24ba31",">= 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1, < 9df2fbe563194da1967a5db083442186c1323efe"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"euvd":{"id":"EUVD-2026-80496","exploited":false,"provenance":"source"}}