Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D232637F75E for ; Sat, 15 Aug 2026 06:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775437; cv=none; b=NsidV3ShQUOWrk2ZHls3WgpQe83OwJcUQD+hqULNu5Zz2Pj11U4m9B0kR5q//+RbM93abmmDYiPihofeRGw/xz3U9Nl7IsOncntVFTdccrIaG+Btuc4tffEBhR6EhSaJBWK62sTNGB5vOHtxcAg5EBkfmI6en8v0O8vTnA7lV3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775437; c=relaxed/simple; bh=WoGfKr63alvM/MyZL7i9NQA+hC3qfylpEw8n5fSyw+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jhou9S7f8rIOdR7JEvud0CLXNjyNIAEK7vWuvCHUJZCugnJlVMnIJ6szNWhDr/Ff5R9zDsTYlo8fG+Ohs7VCG/e1XKGtp9Pcipmb6NXecNw1YKGreFxYULTVCbTI5j66Pd3sgFmlCZokEi51f5LLj28Id3W5TKqa78ziXidtWF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xQWBwkrs; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xQWBwkrs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 346D71F000E9; Sat, 15 Aug 2026 06:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775435; bh=KFahgeYsuzIb59WHWPTnEcgu2WuNu8+T2cOmYO3k00o=; h=From:To:Cc:Subject:Date:Reply-To; b=xQWBwkrsnHlY3U2j9lQQ7jxANfE8lmkq4UpyC7ysyR9BVNv7ufyUDSai9/AU1Xr3t jz73fGRaUFqKP/mf3Q/EFRF6UqytCJqr4EGWK43E3ojRbtAsJV3Dq/LSbRYVKhbCEj YfI+pT8q1QITANLcHgGdeXbvvp7vB4xTMMaaGNrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72484: staging: most: video: avoid double free on video register failure Date: Sat, 15 Aug 2026 15:09:23 +0900 Message-ID: <2026081537-CVE-2026-72484-7370@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4150; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J5eu3fUngiylD8HHm9hzyRPeOiQXJGMIbePzvEth8U8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDH8PKjsXHRf7a/wp0uGB4M5lNVq9584wNtzZwmSTb PN+5ue4jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI0m0MC3bN9ePdw5KyTFkw cFYj+5N7WvsSqhnml5bNXh/5ZnWRiDyz9D4xU8Ov7fOfAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: staging: most: video: avoid double free on video register failure comp_register_videodev() allocates a video_device with video_device_alloc() and releases it if video_register_device() fails. This can double free the video_device when __video_register_device() reaches device_register() and that call fails: video_register_device() -> __video_register_device() -> device_register() fails -> put_device(&vdev->dev) -> v4l2_device_release() -> vdev->release(vdev) -> video_device_release(vdev) comp_register_videodev() -> video_device_release(mdev->vdev) Use video_device_release_empty() while registering the device so that registration failure paths do not free mdev->vdev through vdev->release(). comp_register_videodev() then releases mdev->vdev exactly once on failure. Restore video_device_release() after successful registration so the registered device keeps its normal lifetime handling. This issue was found by a static analysis tool I am developing. The Linux kernel CVE team has assigned CVE-2026-72484 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 5.10.261 with commit 009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 5.15.212 with commit 430ad4ea06a0767fb44a08e2212ceb3a996607ee Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 6.1.178 with commit 46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062 Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 6.6.145 with commit 4928096212b78262dbbeab3b3abf2352278ce22d Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 6.12.97 with commit 80ed79787da3311f76b4d71d0ce7ab992a9e134d Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 6.18.40 with commit 43078449ad6236d839e4d707954d2e36b10a6706 Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 7.1.5 with commit 7fc162453cfb7b8e93edb16287a84ba0130cac38 Issue introduced in 4.9 with commit eab231c0398a91fbd294672bfe9e0ff45b368246 and fixed in 7.2-rc1 with commit 7cb1c5b32a2bfde961fff8d5204526b609bcb30a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72484 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/staging/most/video/video.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb https://git.kernel.org/stable/c/430ad4ea06a0767fb44a08e2212ceb3a996607ee https://git.kernel.org/stable/c/46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062 https://git.kernel.org/stable/c/4928096212b78262dbbeab3b3abf2352278ce22d https://git.kernel.org/stable/c/80ed79787da3311f76b4d71d0ce7ab992a9e134d https://git.kernel.org/stable/c/43078449ad6236d839e4d707954d2e36b10a6706 https://git.kernel.org/stable/c/7fc162453cfb7b8e93edb16287a84ba0130cac38 https://git.kernel.org/stable/c/7cb1c5b32a2bfde961fff8d5204526b609bcb30a