{"id":"CVE-2026-68455","aliases":["CVE-2026-68455"],"related":[],"kind":"vulnerability","state":"published","title":"liveupdate: validate session type before performing operation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nliveupdate: validate session type before performing operation\n\nThe sessions ioctls are not applicable to all session types. PRESERVE_FD\nis only applicable to outgoing sessions. RETRIEVE_FD and FINISH are only\nvalid for incoming session. Calling a incoming ioctl on an outgoing\nsession is invalid and can cause file handlers to run into unexpected\nerrors.\n\nFor example, a user can create a (outgoing) session, preserve a memfd,\nand then immediately do a retrieve without doing a kexec in between.\nThis would result in memfd's retrieve handler to run. The handlers\nexpects to be called from a post-kexec context, and will try to do a\nkho_restore_vmalloc() or kho_restore_folio() to try and restore memory.\n\nKHO catches this (thanks to KHO_PAGE_MAGIC) and returns an error, but\nsince this is considered an internal error and KHO throws out a bunch of\nWARN()s.\n\nAssociate a type with each ioctl op and validate the type in\nluo_session_ioctl() before dispatching the ioctl handler to make sure\nthe op is being called for the right session type.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nliveupdate: validate session type before performing operation\n\nThe sessions ioctls are not applicable to all session types. PRESERVE_FD\nis only applicable to outgoing sessions. RETRIEVE_FD and FINISH are only\nvalid for incoming session. Calling a incoming ioctl on an outgoing\nsession is invalid and can cause file handlers to run into unexpected\nerrors.\n\nFor example, a user can create a (outgoing) session, preserve a memfd,\nand then immediately do a retrieve without doing a kexec in between.\nThis would result in memfd's retrieve handler to run. The handlers\nexpects to be called from a post-kexec context, and will try to do a\nkho_restore_vmalloc() or kho_restore_folio() to try and restore memory.\n\nKHO catches this (thanks to KHO_PAGE_MAGIC) and returns an error, but\nsince this is considered an internal error and KHO throws out a bunch of\nWARN()s.\n\nAssociate a type with each ioctl op and validate the type in\nluo_session_ioctl() before dispatching the ioctl handler to make sure\nthe op is being called for the right session type.","source":"cvelist"}],"published":"2026-08-15T05:51:16.745Z","modified":"2026-08-17T06:17:54.670Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"16cec0d265219f14a7fcebcc43aeb69205adba56","fixed":"3dc8a46d08a8a060d4128e9f497060b8d03c1595","status":"affected"},{"type":"git","introduced":"16cec0d265219f14a7fcebcc43aeb69205adba56","fixed":"507e3b479f9c6d85135eb5e1a77fb3fddb259ad8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3dc8a46d08a8a060d4128e9f497060b8d03c1595","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/507e3b479f9c6d85135eb5e1a77fb3fddb259ad8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68455","url":"https://www.cve.org/CVERecord?id=CVE-2026-68455","licence":"CVE Terms of Use","modified":"2026-08-17T05:05:55.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68455","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68455","licence":"Public domain","modified":"2026-08-17T06:17:54.670Z"}],"updatedAt":"2026-11-25T22:59:32.962Z","epss":{"score":0.00198,"percentile":0.05433,"date":"2026-11-30T12:00:22.000Z"}}