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 A3D94409121 for ; Wed, 27 May 2026 13:06:05 +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=1779887167; cv=none; b=LyFYiyBvers9vcYVO7mJKRjBEg5yEF599El3OOO7FgGsC9yDpiSNeusQS96+08yMT3hw4VSM8/JU5TSi1ZPIpKz3xzghM4iSAXqfAvGSzYi6YnjsQxSXRphGfxjbe9Y5HdLbUV6MZ6Yzi7QIky6oPqIyXIGX0qe6UU9wc4uJc30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887167; c=relaxed/simple; bh=DyPjFR0tuf9zin9THakI1Gpwr6BjXHp9RfeSkBD5q9M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R8IcrGQVphOfG+bghfV2UnRyDuKjbiPAHyO4X4lBhx8C1Ehe/rapDzgeFfHPmTOQJvVAmMIiE+W9+3Wdy2+oO3sFIr/FIAGr+f9Gq8kMrSNqU1mxm2k/Ir3Lcp27Sax77WkU/Q1uAF0I/HXg1h26jDtcFTUyoPIvXJ6cu58a64g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MCBJDTCK; 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="MCBJDTCK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F393A1F000E9; Wed, 27 May 2026 13:06:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887165; bh=nKoOdyAfdaMxgZfx74LgTvGsaZSm4lV19uSjQ2TuE7g=; h=From:To:Cc:Subject:Date:Reply-To; b=MCBJDTCKneei61h+j5CLwUBdUSU0fNJv+58XwIkXG1QXBesBdfzPOpUVgEGJk9hvg 16cP+tB3vW7vy6fPITlmgpGZx6Q4maBKxpaZtGthVI3VNkBe+w/qf51bAowdAcQ/ll eEHabqlfQ42g44q7tguKuSFlmgQh6OAIClkXXGlI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46098: net: caif: clear client service pointer on teardown Date: Wed, 27 May 2026 15:00:29 +0200 Message-ID: <2026052704-CVE-2026-46098-ec82@gregkh> X-Mailer: git-send-email 2.54.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=2945; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nsnhUP2ATSalOFP2q3avnite7kNVdCNqHSbIsPdaK/s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir2ZcX695XCrzjGdO5nyre/NXJlxexdv0j/nsXqupm /du2dzV2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATEdRmWHB65ZPwGea+NxS/ 9R/lD6y6sN4tNJFhvtfEm/HbjHT2vTNR0Ao66hoXvcxoPwA= 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: net: caif: clear client service pointer on teardown `caif_connect()` can tear down an existing client after remote shutdown by calling `caif_disconnect_client()` followed by `caif_free_client()`. `caif_free_client()` releases the service layer referenced by `adap_layer->dn`, but leaves that pointer stale. When the socket is later destroyed, `caif_sock_destructor()` calls `caif_free_client()` again and dereferences the freed service pointer. Clear the client/service links before releasing the service object so repeated teardown becomes harmless. The Linux kernel CVE team has assigned CVE-2026-46098 to this issue. Affected and fixed versions =========================== Issue introduced in 3.0 with commit 43e3692101086add8719c3b8b50b05c9ac5b14e1 and fixed in 6.6.140 with commit 914c6456fcfc21a3d553945dff62fd1621d6155d Issue introduced in 3.0 with commit 43e3692101086add8719c3b8b50b05c9ac5b14e1 and fixed in 6.12.86 with commit 3ac6db584d9d420267bb8413115707eeec76d9cf Issue introduced in 3.0 with commit 43e3692101086add8719c3b8b50b05c9ac5b14e1 and fixed in 6.18.27 with commit 63d21a3aa0108b9dde4e99b0d3d5d679ac68c0f9 Issue introduced in 3.0 with commit 43e3692101086add8719c3b8b50b05c9ac5b14e1 and fixed in 7.0.4 with commit a4b191ddc12c55ddb62feb096536f819f384d6f1 Issue introduced in 3.0 with commit 43e3692101086add8719c3b8b50b05c9ac5b14e1 and fixed in 7.1-rc1 with commit f7cf8ece8cee3c1ee361991470cdb1eb65ab02e8 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-46098 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/caif/cfsrvl.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/914c6456fcfc21a3d553945dff62fd1621d6155d https://git.kernel.org/stable/c/3ac6db584d9d420267bb8413115707eeec76d9cf https://git.kernel.org/stable/c/63d21a3aa0108b9dde4e99b0d3d5d679ac68c0f9 https://git.kernel.org/stable/c/a4b191ddc12c55ddb62feb096536f819f384d6f1 https://git.kernel.org/stable/c/f7cf8ece8cee3c1ee361991470cdb1eb65ab02e8