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 4F39251EE07 for ; Wed, 14 Oct 2026 13:27:11 +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=1791984435; cv=none; b=H+PT1f+zzmn8LMKlnnTSkNlAs6rZPIjk2I9v37RDqegdWXeAxGhQeLvlY1ZRFk/sOBbZ4J+J5AzgXRAFFdX5217JOIanOa1LV8IknQVwR9zqfq0ViJvZCAF+GaDjvfE73Lr5ib5LDc6ttVkjaUU2T+PdmFo+U7BKKhh6jR5yG8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984435; c=relaxed/simple; bh=h2WtzxTH63Z683Y9h3SeKOuMLrGHmjq+374FuL14RGk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KEMZD+V3Ttz0aN8Xxt9gjiOmaKNw/4P8krFAZsQLtO560KycNjL3A6mbn3tyWhV+U705k/OstYRkDoR2ZYS8tzY735nt4NAe3MFgQHho2VEEk2CVNjMGT3IpuGloqNwdzq1Cn5cOJZuRrqfnJLDOYYotzOL3zsXSbMi4t2sabW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=00LnTOHZ; 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="00LnTOHZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDCFA1F000FF; Wed, 14 Oct 2026 13:27:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984431; bh=B+WkncZD+3vSbfIjWkkpnI9G40UcRLgxYiu1qD4SbRY=; h=From:To:Cc:Subject:Date:Reply-To; b=00LnTOHZ6b6EwGETWWmINb0gsezSRxUYRxUPZ8MGI2kxWY2tFPg0H7+LPh7urMv5p jroqnbDlcx8oRyXivEQrbvTomFvm2/NTgaf9ZT1D7TFv8XhwI7q6SOItNp8r/+yV2O wj0SqzwlLbfMgZjjIhQ0OWASmpfkS16b4A5Npe4c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98394: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Date: Wed, 14 Oct 2026 15:26:24 +0200 Message-ID: <2026101420-CVE-2026-98394-3b24@gregkh> X-Mailer: git-send-email 2.56.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=2528; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C3AWd4/murGRxnU7WZKN4E5FvRcJ9Gjzy4R2ITS8XlM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm/7YzvH53m06k4nn6mmxslzui/9fs61YdqzX5FrAr x6e7dk7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiDVEMC3q4mn5vuCh3Ma31 3g3dD881g+bqfWFYcL27Myiy+YPs8Uti8qy/dp5Uf6+9DwA= 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: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait in unix_stream_read_generic() if recv() is blocking and the last skb in the queue is MSG_OOB skb. In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking. Let's follow the behaviour. The Linux kernel CVE team has assigned CVE-2026-98394 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 314001f0bf927015e459c9d387d62a231fe93af3 and fixed in 6.12.111 with commit 3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713 Issue introduced in 5.15 with commit 314001f0bf927015e459c9d387d62a231fe93af3 and fixed in 6.18.53 with commit d5dd55b316ca229a4cbf11729483ba5bb57233e7 Issue introduced in 5.15 with commit 314001f0bf927015e459c9d387d62a231fe93af3 and fixed in 7.2.7 with commit c81c5be3826c8467945b964d0cf7f7b3d65461db Issue introduced in 5.15 with commit 314001f0bf927015e459c9d387d62a231fe93af3 and fixed in 7.3-rc3 with commit 6e5ee08eb5858d175da6768d75d163817b6a9d4a 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-98394 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/unix/af_unix.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/3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713 https://git.kernel.org/stable/c/d5dd55b316ca229a4cbf11729483ba5bb57233e7 https://git.kernel.org/stable/c/c81c5be3826c8467945b964d0cf7f7b3d65461db https://git.kernel.org/stable/c/6e5ee08eb5858d175da6768d75d163817b6a9d4a