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 513BA1E0B6F for ; Tue, 5 Nov 2024 17:12:06 +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=1730826726; cv=none; b=H/lbkav6XRhVbDtjUr+8armF2CqvYJkbCsIzkiT0ladDHF0/aRuKjvL4CCx77eOqkBmu87gDnpQWLY9YZhQXSrBUOd6xZQVgBGxDhYHKuu1Qn+iX65ay5kkd/c3Tvd3ec0XWUkLt2GNrpO7Lve/A0jqaAbN4uEeKgJFxzA08tJw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730826726; c=relaxed/simple; bh=Q+6pUIQb7WaB0+D1eiQWyzNsIJylxrR5NkCozxWcasg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZYbfY/+8ges5Pjor9pS7X6lptW4+7FMkOeOskq8bCRqLi/n8OMUqrpKnsbRR4HBD20xdPS3GBEQHT3Wwqxkfue2ibxTvjjDJc704TVHWUN0/nQAMqx+wUmz5G22g5Tb/bvSHvxhsIkZOvc3BRlEQLbiVfjq0pA8k62KMK4/WyPo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ekGe0R2c; 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="ekGe0R2c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA55EC4CECF; Tue, 5 Nov 2024 17:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730826726; bh=Q+6pUIQb7WaB0+D1eiQWyzNsIJylxrR5NkCozxWcasg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ekGe0R2cJPRCixqloWdoGqMvc7m+WvQXdEHnWQXz2E3x4XHtPyO8Ugz7c7t1PdGJ8 uJPO4RV55rRlA5A3wHgXJWM0s51wRzMdMF9DnqCCXwExH/ztPM4YmdFheHG6+rYFuK 681V3lzcsUIiDsjbl30qcznkv55IvsRDxpYTTMG0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50124: Bluetooth: ISO: Fix UAF on iso_sock_timeout Date: Tue, 5 Nov 2024 18:11:13 +0100 Message-ID: <2024110557-CVE-2024-50124-caf8@gregkh> X-Mailer: git-send-email 2.47.0 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=2137; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Q+6pUIQb7WaB0+D1eiQWyzNsIJylxrR5NkCozxWcasg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlagQu9q0WSfsg73luz5f2DDx4/HT9seb/l2CrmzU+sW RolOBYv7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHEhmmMP5xTHweWcR76VD lV0i357FlL1USmCYZ/pSU2Od49a7V1SDv/1IUdS6tyhmEQA= 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: ISO: Fix UAF on iso_sock_timeout conn->sk maybe have been unlinked/freed while waiting for iso_conn_lock so this checks if the conn->sk is still valid by checking if it part of iso_sk_list. The Linux kernel CVE team has assigned CVE-2024-50124 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.1.115 with commit 876ac72d535f Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.6.59 with commit 14bcb721d241 Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.11.6 with commit d75aad1d3143 Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.12-rc5 with commit 246b435ad668 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-50124 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: net/bluetooth/iso.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/876ac72d535fa94f4ac57bba651987c6f990f646 https://git.kernel.org/stable/c/14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b https://git.kernel.org/stable/c/d75aad1d3143ca68cda52ff80ac392e1bbd84325 https://git.kernel.org/stable/c/246b435ad668596aa0e2bbb9d491b6413861211a