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 AE8AF348C6D for ; Sat, 15 Aug 2026 06:06:45 +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=1786774006; cv=none; b=P9KTk2yDESQ84pec7xHVCNBvm2pbJq1rk4qrPMmP6Fwp3Gwo1ci9u8E8jbjOdSWPDBvcm+dXmyWGIeHPPCTGYjQJbEFDxZaGYtKX/sZCJB13+R71pBUwGz6VTzWPzX0QtUWrEHCoJej1JjXuHkUdnsaOD1B+/Jzic5f1Y++s/WQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774006; c=relaxed/simple; bh=Cr+IhzXysVx3md6pfzz2Dh7szIt91tYiA2/bQkdsj84=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iu/kfB3e+pGbZhC6bgFOK9MVV90Fj+Y+cpTqL4M1LrB6UuPO1MRh7pPTRW67VQgUzHxyd9qMlA0/cZvTzwkfx18sqVV4OgpQaQNzaZZgNZh3dO0FWGKItCPgzPZEuzM4lRPzF5FdeSFjS+LdOTQ27FKcK2KFeUUzohzAV6f1jrQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jWuc5x4s; 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="jWuc5x4s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F3DD1F000E9; Sat, 15 Aug 2026 06:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774005; bh=BTx36vM6SUqks+9blUvqfAk/myHRFwpSRHbPjNb26SU=; h=From:To:Cc:Subject:Date:Reply-To; b=jWuc5x4soxvOzRqgZP9kQETGaigJshjliY7JnIS0+1nbLrPFb1lJysCbpFubl7zt7 OMbdQJgvDWVpk5+eieh0daPSGVm9JQCUP34EsRgqPQzFcf51SBJC3PHe7joogYYfWr sR9PghDJdOzhLwu6ItGG30cC3BMZid6F+a/Xf+Os= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68455: liveupdate: validate session type before performing operation Date: Sat, 15 Aug 2026 15:00:57 +0900 Message-ID: <2026081559-CVE-2026-68455-e03a@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=cPEDqLQ04bP5ROXnkIwhJdo7HBy6HGhY1YXp403pIg0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLN5UqQ2rNAqs329SE+jd99v/klSPxf8+VKee0Gmf Ab/H7MpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRV6EMCzq3n1wdaxK8PPwU 85s/vkKpLCVV9xnmV1ZXbT+x0dxzcexKe6OkMqUNeZfMAA== 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: liveupdate: validate session type before performing operation The sessions ioctls are not applicable to all session types. PRESERVE_FD is only applicable to outgoing sessions. RETRIEVE_FD and FINISH are only valid for incoming session. Calling a incoming ioctl on an outgoing session is invalid and can cause file handlers to run into unexpected errors. For example, a user can create a (outgoing) session, preserve a memfd, and then immediately do a retrieve without doing a kexec in between. This would result in memfd's retrieve handler to run. The handlers expects to be called from a post-kexec context, and will try to do a kho_restore_vmalloc() or kho_restore_folio() to try and restore memory. KHO catches this (thanks to KHO_PAGE_MAGIC) and returns an error, but since this is considered an internal error and KHO throws out a bunch of WARN()s. Associate a type with each ioctl op and validate the type in luo_session_ioctl() before dispatching the ioctl handler to make sure the op is being called for the right session type. The Linux kernel CVE team has assigned CVE-2026-68455 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 16cec0d265219f14a7fcebcc43aeb69205adba56 and fixed in 7.1.5 with commit 3dc8a46d08a8a060d4128e9f497060b8d03c1595 Issue introduced in 6.19 with commit 16cec0d265219f14a7fcebcc43aeb69205adba56 and fixed in 7.2-rc1 with commit 507e3b479f9c6d85135eb5e1a77fb3fddb259ad8 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-68455 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: kernel/liveupdate/luo_session.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/3dc8a46d08a8a060d4128e9f497060b8d03c1595 https://git.kernel.org/stable/c/507e3b479f9c6d85135eb5e1a77fb3fddb259ad8