CVE-2026-68455

Source
https://cve.org/CVERecord?id=CVE-2026-68455
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68455.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68455
Downstream
Published
2026-08-15T05:51:16.745Z
Modified
2026-08-18T03:31:01.528589371Z
Summary
liveupdate: validate session type before performing operation
Details

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. PRESERVEFD is only applicable to outgoing sessions. RETRIEVEFD 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 khorestorevmalloc() or khorestorefolio() to try and restore memory.

KHO catches this (thanks to KHOPAGEMAGIC) 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 luosessionioctl() before dispatching the ioctl handler to make sure the op is being called for the right session type.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68455.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
16cec0d265219f14a7fcebcc43aeb69205adba56
Fixed
3dc8a46d08a8a060d4128e9f497060b8d03c1595
Fixed
507e3b479f9c6d85135eb5e1a77fb3fddb259ad8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68455.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68455.json"