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 40AA757D233 for ; Fri, 11 Sep 2026 19:58:33 +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=1789156731; cv=none; b=iyswGMnPOBNF9dSREavKP6wdKNRzK6QbAUYUUfitf/6nIOtOad2dd8PuB7y/2Rh+znoFEd356ePtHEVsiOMH7tdkk9AaRae1+PzkbP5o/BLWl8NNAw9MJMONwYp3wNyCSW4OmRksTyp4uuOFlYUhbpEqaJoIPOUdidykZ3s7hI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156731; c=relaxed/simple; bh=rCMGsqEG4cBqcUHNsu1Q7zJfnyBQG43QEXZzeZ33p1o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dj+9C/103YNWjk8T9ELPMZafmcGcweoaSOD4lJISj7A6eqV3Goxrr1p7YjZ67OePIMSLTZTlIs863a3w+r0sCWQRNA9ack6wUMJ2PTgvkbDfL06k4PtcX7pc13YgPWIBZ0FPt9wO9QnjfgGPcbUV5jYMEKjCeWKG52II/05Y5Ig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vgfe1R9p; 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="vgfe1R9p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 468CE1F0089A; Fri, 11 Sep 2026 19:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156711; bh=nzQklRhJ5kcMQngGtpXy/EAng96pSpU7bB1fEYUKDiQ=; h=From:To:Cc:Subject:Date:Reply-To; b=vgfe1R9pD33G9BqNwAD2gOITMeEDQSid9S1E1n5x1VglEgyNbpU5akOFA0ccWr8wR GEtKVKcw4E/hA6erqaQ29o3vVHIY73CJfCt++64+mZtt1kvTC7jSxAb61KcNpJvfzz 3GCHUMVmWvHhRn48Ies6uR7PNSH4O38xrll7V1N4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89608: ecryptfs: pass packet set buffer size to parser Date: Fri, 11 Sep 2026 21:44:57 +0200 Message-ID: <2026091134-CVE-2026-89608-621f@gregkh> X-Mailer: git-send-email 2.55.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=2772; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FWjgahEgeIqQceg5i+AjWQqOhjmKNq1OtDH7cMr6AT0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIvO4P2X/fdiQVJzm9LDxQKvxJG2vLYFy8fptX7wWr HLR5vnaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOxkmRYsOKETnkOX9N8RWmv OJNdS1NVCtQtGBYs79+UGJe+5UCbwNr/e9clPfrYVycCAA== 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: ecryptfs: pass packet set buffer size to parser ecryptfs_parse_packet_set() receives a pointer into the file header, but it calculates the remaining packet buffer size from PAGE_SIZE - 8. For version 1 headers the packet set starts later in the header, so this can overstate the available buffer. Pass the actual packet set buffer length from the caller and calculate per-packet limits from the remaining bytes in that buffer. Recompute the remaining length after consuming a tag 3 packet before parsing the following tag 11 packet. The Linux kernel CVE team has assigned CVE-2026-89608 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.19 with commit 237fead619984cc48818fe12ee0ceada3f55b012 and fixed in 6.12.109 with commit 329de8b9e988b152b938f09224670d97bada0b96 Issue introduced in 2.6.19 with commit 237fead619984cc48818fe12ee0ceada3f55b012 and fixed in 6.18.50 with commit e5d254e654f2311a3c4b9c791d7f216554bcd17a Issue introduced in 2.6.19 with commit 237fead619984cc48818fe12ee0ceada3f55b012 and fixed in 7.2.4 with commit 747fd45be396a6aea3420ab657a0ab4e60185b05 Issue introduced in 2.6.19 with commit 237fead619984cc48818fe12ee0ceada3f55b012 and fixed in 7.3-rc1 with commit 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2 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-89608 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: fs/ecryptfs/crypto.c fs/ecryptfs/ecryptfs_kernel.h fs/ecryptfs/keystore.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/329de8b9e988b152b938f09224670d97bada0b96 https://git.kernel.org/stable/c/e5d254e654f2311a3c4b9c791d7f216554bcd17a https://git.kernel.org/stable/c/747fd45be396a6aea3420ab657a0ab4e60185b05 https://git.kernel.org/stable/c/2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2