Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9F55579F0 for ; Fri, 17 May 2024 14:47:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957274; cv=none; b=Rfhzua9RMG09QM2ZjoYdQpdCg0mRxrIRKl9rceISB156q3J5IOEuTda8u96vWnwW4H/RslG7alpVOiVo1raSejaA3BeouVxxN2inychJmlejKPZnElm8BkRlOlnAJzpRt+MV811hGNF2udgkAS1Aa5jAD9M1WB4Tjkg6kMNLs2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957274; c=relaxed/simple; bh=4/IgQpawDnaaTFg1iiQTJiVpdl2cqbEP5OOELvLjYyQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AbjgumLTNIDrOVPfInJsHTsT4xcqZdyGpIo6I9RI1lVru4aCR1QUZw2/n9N5Wee5B2jh795pweW5SgAwEHIq5+cUzd24JHO7ZYAaJQNQ9fStIl9WCi5/KjpMo3xSDJ5/7cpAgBgU9JtP7F7a3GBfplyVf4bPXydn+EqwGILfIzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s+QOvSUk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="s+QOvSUk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2F4EC2BD11; Fri, 17 May 2024 14:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715957274; bh=4/IgQpawDnaaTFg1iiQTJiVpdl2cqbEP5OOELvLjYyQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=s+QOvSUkHfnlwYGSq7Jr8E2MHPHHBJUpxtzNLZXLJ9ulr3ZsNV44Jw14kMMxc+u8b FgzaoQZHTnqOO8eOw3xcQVl7E4vPX+71FhroZ3aJAP7aL/A3kYHNgkpc25bAXEO1T2 k/SrtbHi0LNhnSgjY9NHUIZQpSF2N6guH33gDEfs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35856: Bluetooth: btusb: mediatek: Fix double free of skb in coredump Date: Fri, 17 May 2024 16:47:49 +0200 Message-ID: <2024051741-CVE-2024-35856-a7ed@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2022; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4/IgQpawDnaaTFg1iiQTJiVpdl2cqbEP5OOELvLjYyQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuebwRPc1dcru2PdL477u03XahrEugif+zX87Rk5cnu 6zqWJjREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJus4w3+2fa0LE1RP9r1+r i6hGdke1cQn9Ylhw1szs843czUnaDP6/zvIdZNn8nLUDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: mediatek: Fix double free of skb in coredump hci_devcd_append() would free the skb on error so the caller don't have to free it again otherwise it would cause the double free of skb. Reported-by : Dan Carpenter The Linux kernel CVE team has assigned CVE-2024-35856 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 0b7015132878 and fixed in 6.6.30 with commit 80dfef128cb9 Issue introduced in 6.6 with commit 0b7015132878 and fixed in 6.8.9 with commit e20093c741d8 Issue introduced in 6.6 with commit 0b7015132878 and fixed in 6.9 with commit 18bdb386a1a3 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-2024-35856 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/bluetooth/btmtk.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/80dfef128cb9f1b1ef67c0fe8c8deb4ea7ad30c1 https://git.kernel.org/stable/c/e20093c741d8da9f6390dd45d75b779861547035 https://git.kernel.org/stable/c/18bdb386a1a30e7a3d7732a98e45e69cf6b5710d