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 4027524169F for ; Wed, 15 Jan 2025 13:11:11 +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=1736946672; cv=none; b=RQ5PFWICpYvE0gUSJ78vzE+Vyz24ziYahOCYqjdXPal/26cwysdLwsBaeBTXtLHhuxpM7QOJ3jFkiPCPokQUUaQ9AAWSdg6avSDhOqP8LNhGUvirryOkZ3KUVES768+yOsO+3a7/SsQQbRCGiEUWQgqVrNbHFrJQUQqJ+TGp2XA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736946672; c=relaxed/simple; bh=Cqi3TcqJsHbEHIfwK7RtgzF1mR5uwNLdl+z6uojaam8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lf4wUvkcKbGSPiFPY0CVc5ikkG9nQ6TKYbJKjeY8rn8efeI/uwKQ7SYRw41aisPltK1YdBv2YC9XrxKmtFHeKNVE8ci8jt2MQbA+Xw8+sONAQiZPqy+r0TdIw9dyYjcr/b3t/kyJ3Pmptdkdmy5owF/QoNPMKr2Qzqm2IxyB/5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rR3lBmRS; 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="rR3lBmRS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D497C4CEDF; Wed, 15 Jan 2025 13:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736946671; bh=Cqi3TcqJsHbEHIfwK7RtgzF1mR5uwNLdl+z6uojaam8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rR3lBmRSdJPceLD7kTYCKCqBNvRfLKN/xuegy1Llb4nI1ak33C1CklXJDckitRzrF AIcoPmBpBzEkwtPz7fBy64Tq1oD4gPdPDpYznpTQMar1YVWem9dxjFEXZJCvFcTyOt di2C0cLnsgw2f3GTLkGHZgbB0A7FJXKMqVAnnGeI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57857: RDMA/siw: Remove direct link to net_device Date: Wed, 15 Jan 2025 14:10:41 +0100 Message-ID: <2025011534-CVE-2024-57857-29db@gregkh> X-Mailer: git-send-email 2.48.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=2142; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Cqi3TcqJsHbEHIfwK7RtgzF1mR5uwNLdl+z6uojaam8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOntm0+np7twHy049fVU0l8Rkc8BjamL9D+5LEm0yn8aX LlDV2F6RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkjSfD/KD0pojF/zSmniyQ DLj1uPV4zr3XWxnmKWU4v0hsP369ZlWKGm+3C5dh0YLVAA== 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: RDMA/siw: Remove direct link to net_device Do not manage a per device direct link to net_device. Rely on associated ib_devices net_device management, not doubling the effort locally. A badly managed local link to net_device was causing a 'KASAN: slab-use-after-free' exception during siw_query_port() call. The Linux kernel CVE team has assigned CVE-2024-57857 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit bdcf26bf9b3acb03c8f90387cfc6474fc8ac5521 and fixed in 6.12.9 with commit 4eafeb4f021c50d13f199239d913b37de3c83135 Issue introduced in 5.3 with commit bdcf26bf9b3acb03c8f90387cfc6474fc8ac5521 and fixed in 6.13-rc6 with commit 16b87037b48889d21854c8e97aec8a1baf2642b3 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-57857 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/infiniband/sw/siw/siw.h drivers/infiniband/sw/siw/siw_cm.c drivers/infiniband/sw/siw/siw_main.c drivers/infiniband/sw/siw/siw_verbs.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/4eafeb4f021c50d13f199239d913b37de3c83135 https://git.kernel.org/stable/c/16b87037b48889d21854c8e97aec8a1baf2642b3