From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823197; b=pQZU4YjsMxGl0dEnMBcXjnxI4PsC3Coemlk3Z64D+U97DlfHmzbz26STOBLQErremONc KzCaKTCO8v979s4azaMm5c+IFnKTd0U5G3o66FnmKmkwlIfAT5V3ByX1wiAp+wBfJUAZJ t9qHjpQavkhSaNrFdMvmLEN7rETVvBMgb0IdXRvr5P/uNFJIXKiq6iis7oBzpES5rD1Ob UmxME3MnZsmqg8KRSodqZ5syAXDlxT8wjHaW5PcVOJRI4yulmt78uzBfbmP1gqFjQ1K/T L8UwcNmWoTNwN2AaXR0hQFM0YKsqITpcqDX9+pohPNFgGnFNvBNr7dEq1RXppUvfZWA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823197; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=XDbCId6a9brq9gLkbpawuCqnDYgBzzegwLPNKijhAXg=; b=aREEGDeVxA+M7LsNCY/8/yZkwG6po3D7STyhIj18J4dhusjqWnvD2q5+HT4ZfhHrBEWh BQapJE1fcHJX3TNzzj3ZsEKfQtpFB8xjcBVq/CuzXt+IK8ns65t6SE2o6RlIqQH7NOFpC S5Zw7U0VVMm35W/ZSwx4OepUEPTn2h3SAPQ3r5VyE4WmqnwuJdcRT5j9EC3JX3k/RQI/U 3qJPOPHq9WLyuFrov4iIK/k9pHumQ00yRCc4cZjwcaDx9DWsJQOQu6cjF/i/SNXMnZI12 g9q0YJz5Twf2WdrQjy67ad3V+MKqBuJyHc7YCWYhuUTr5pPljJT4EUoBQ5tKs3zy9jQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=1jUTcTxP; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E672606A31C for ; Mon, 16 Nov 2026 09:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=1jUTcTxP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0841D1F000C4; Mon, 16 Nov 2026 09:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823196; bh=XDbCId6a9brq9gLkbpawuCqnDYgBzzegwLPNKijhAXg=; h=From:To:Cc:Subject:Date:Reply-To; b=1jUTcTxPgo5Xpf7JO400p3Xr/OvPGFsoILarkzcqsT2LSYBWOhivemUg3ISC4gaGs Wc+1/Yyh8vUaTAhhoRhmkVAwLzp+De6h8lJD1rx4eFO/e6m5j4CLwJsJLK/BHg6DSS Ml1OBLX4UYyd5VT3bkuRr+0mGT9dWBwmby4lp6CQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99300: media: go7007: only set audio_enabled if go7007_snd_init() succeeded Date: Mon, 16 Nov 2026 10:59:49 +0100 Message-ID: <2026111640-CVE-2026-99300-e0d2@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3888; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aD8wP82T+phy2oHMQXwv4wbZXBoPQcevWu+J2ULAMpk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rvDsj9OaHPVXVsGWxcvbs0arZX7AkogGqQ19SyZ/a pCytC3siGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInkyDEsOL2Fr85AMqJGYMbF bzZhsf4/AtrOMSyYuddW0tv8nQvnhXBF4/x11U1TNaIB 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: media: go7007: only set audio_enabled if go7007_snd_init() succeeded go7007_register_encoder() sets go->audio_enabled before calling go7007_snd_init() and discards its return value. go7007_snd_init() assigns go->snd_context only on success, so a failed ALSA setup leaves audio_enabled set with snd_context still NULL. The disconnect path tests audio_enabled and calls go7007_snd_remove(), which dereferences snd_context unconditionally. go7007_snd_init() returns -ENODEV once its never-decremented static card counter reaches SNDRV_CARDS, so SNDRV_CARDS attach/detach cycles arm the next attach; no memory pressure is needed. Set go->audio_enabled only once go7007_snd_init() has succeeded. Oops: general protection fault, probably for non-canonical address ... KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Workqueue: usb_hub_wq hub_event RIP: 0010:go7007_snd_remove (drivers/media/usb/go7007/snd-go7007.c:273) Call Trace: go7007_usb_disconnect (drivers/media/usb/go7007/go7007-usb.c:1336) usb_unbind_interface (drivers/usb/core/driver.c:461) device_remove (drivers/base/dd.c:618) device_release_driver_internal (drivers/base/dd.c:1349) bus_remove_device (drivers/base/bus.c:664) device_del (drivers/base/core.c:3965) usb_disable_device (drivers/usb/core/message.c:1478) usb_disconnect hub_event (drivers/usb/core/hub.c:5966) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Kernel panic - not syncing: Fatal exception The Linux kernel CVE team has assigned CVE-2026-99300 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.28 with commit 866b8695d67e83f47194731d3a7ba55826a7ec70 and fixed in 6.12.117 with commit 1db31d3ddc386a8094a34e186243e26ce8fd175d Issue introduced in 2.6.28 with commit 866b8695d67e83f47194731d3a7ba55826a7ec70 and fixed in 6.18.61 with commit 8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab Issue introduced in 2.6.28 with commit 866b8695d67e83f47194731d3a7ba55826a7ec70 and fixed in 7.3.2 with commit 5d17cf3d380d56018a5ae8ef03af8df12ed910e9 Issue introduced in 2.6.28 with commit 866b8695d67e83f47194731d3a7ba55826a7ec70 and fixed in 7.4-rc1 with commit 2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd 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-99300 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/media/usb/go7007/go7007-driver.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/1db31d3ddc386a8094a34e186243e26ce8fd175d https://git.kernel.org/stable/c/8e2fc3941b4005eaeef0a6b69b44a8a4941b57ab https://git.kernel.org/stable/c/5d17cf3d380d56018a5ae8ef03af8df12ed910e9 https://git.kernel.org/stable/c/2eacf058d2dbb0ae3aaf576459da9e5f2b6bbfbd