Skip to content

CVE-2026-72693 Kbd: local privilege escalation in openvt via incorrect process owner verification allowing passwordless root login

HighCVSS 7.8 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

openvt -u is intended to identify the owner of the current VT and then execute login as that user from a privileged context. In the documented kbrequest/init usage, the ownership test in authenticate_user() relies on stat("/proc/<pid>/fd/0"). stat() on /proc/<pid>/fd/0 follows the symlink to the underlying TTY device node. As a result, buf.st_uid reflects the owner of the TTY node rather than the owner of the process holding the file descriptor. If the TTY owner returns to root or the getty owner after logout while an unprivileged process still has fd 0 attached to that TTY, the check can incorrectly treat that process as belonging to the privileged console owner. Once that check succeeds, the -u path executes a passwordless login as the selected user. In the documented kbrequest/init deployment using openvt -us, this can result in passwordless login -f root on the spawned VT. This report establishes that privilege escalation path for that documented deployment; it does not claim equivalent reachability for deployments that do not use openvt -u from a privileged kbrequest/init path.

Upgrade path

21 packages: 10 fixed, 1 partially fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
debian/kbd(Debian 12) = 2.5.1-1; = 2.6.4-1; = 2.6.4-2; = 2.6.4-3 +7 more No fix listed No fix yet
debian/kbd(Debian 13) = 2.7.1-2; = 2.7.1-2+exp1; = 2.9.0-1; = 2.10.0-1 +1 more No fix listed No fix yet
redhat rhel els = 6; All versions No fix listed No fix yet
redhat/kbd(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
ubuntu/kbd(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/kbd(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/kbd(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/kbd(Ubuntu 26.10) All versions No fix listed No fix yet
redhat openshift < 4.22.9.8.202608251819-0; < 4.22.9.8.202609081748-0; All versions 4.22.9.8.202608251819-0, 4.22.9.8.202609081748-0 Partially fixed
azure linux kbd(Azure Linux 3.0) < 2.2.0-3 2.2.0-3 Fixed
azure linux kbd(Azure Linux 4.0) < 0:2.8.0-8.azl4 0:2.8.0-8.azl4 Fixed
debian/kbd(Debian 14) < 2.10.0-1; = 2.7.1-2; = 2.7.1-2+exp1; = 2.9.0-1 2.10.0-1 Fixed
redhat enterprise linux < 0:2.0.4-11.el8_10.1; < 0:2.4.0-12.el9_8; < 0:2.6.4-8.el10_2 0:2.0.4-11.el8_10.1, 0:2.4.0-12.el9_8, 0:2.6.4-8.el10_2 Fixed
redhat hummingbird < 2.10.0-2.hum1 2.10.0-2.hum1 Fixed
redhat/kbd(Red Hat enterprise_linux 10.2) < 2.6.4-8.el10_2 2.6.4-8.el10_2 Fixed
redhat/kbd(Red Hat enterprise_linux 8) < 2.0.4-11.el8_10.1 2.0.4-11.el8_10.1 Fixed
redhat/kbd(Red Hat enterprise_linux 9) < 2.4.0-12.el9_8 2.4.0-12.el9_8 Fixed
redhat/kbd-main(Red Hat hummingbird 1) < 2.10.0-2.hum1 2.10.0-2.hum1 Fixed
redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.22 el9) < 9:4.22.9.8.202608251819-0; < 9:4.22.9.8.202609081748-0 9:4.22.9.8.202608251819-0, 9:4.22.9.8.202609081748-0 Fixed

Affected products

ProductAffected versionsFixed in
redhat enterprise linux < 0:2.6.4-8.el10_2 0:2.6.4-8.el10_2
redhat enterprise linux < 0:2.0.4-11.el8_10.1 0:2.0.4-11.el8_10.1
redhat enterprise linux < 0:2.4.0-12.el9_8 0:2.4.0-12.el9_8
redhat openshift < 4.22.9.8.202608251819-0 4.22.9.8.202608251819-0
redhat openshift < 4.22.9.8.202609081748-0 4.22.9.8.202609081748-0
redhat hummingbird < 2.10.0-2.hum1 2.10.0-2.hum1
redhat rhel els = 6 No fix listed
redhat rhel els All versions No fix listed
redhat openshift All versions No fix listed
redhat/kbd(Red Hat:enterprise_linux:10.2) < 2.6.4-8.el10_2 2.6.4-8.el10_2
redhat/kbd(Red Hat:enterprise_linux:8) < 2.0.4-11.el8_10.1 2.0.4-11.el8_10.1
redhat/kbd(Red Hat:enterprise_linux:9) < 2.4.0-12.el9_8 2.4.0-12.el9_8
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) < 9:4.22.9.8.202608251819-0 9:4.22.9.8.202608251819-0
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) < 9:4.22.9.8.202609081748-0 9:4.22.9.8.202609081748-0
redhat/kbd-main(Red Hat:hummingbird:1) < 2.10.0-2.hum1 2.10.0-2.hum1
redhat/kbd(Red Hat:rhel_els:6) All versions No fix listed
redhat/kbd(Red Hat:rhel_els:7) All versions No fix listed
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
debian/kbd(Debian:12) All versions No fix listed
debian/kbd(Debian:12) = 2.10.0-1 No fix listed
debian/kbd(Debian:12) = 2.5.1-1 No fix listed
debian/kbd(Debian:12) = 2.6.4-1 No fix listed
debian/kbd(Debian:12) = 2.6.4-2 No fix listed
debian/kbd(Debian:12) = 2.6.4-3 No fix listed
Show 20 more
ProductAffected versionsFixed in
debian/kbd(Debian:12) = 2.7.1-1 No fix listed
debian/kbd(Debian:12) = 2.7.1-2 No fix listed
debian/kbd(Debian:12) = 2.7.1-2+exp1 No fix listed
debian/kbd(Debian:12) = 2.7~rc1-1 No fix listed
debian/kbd(Debian:12) = 2.9.0-1 No fix listed
debian/kbd(Debian:13) All versions No fix listed
debian/kbd(Debian:13) = 2.10.0-1 No fix listed
debian/kbd(Debian:13) = 2.7.1-2 No fix listed
debian/kbd(Debian:13) = 2.7.1-2+exp1 No fix listed
debian/kbd(Debian:13) = 2.9.0-1 No fix listed
debian/kbd(Debian:14) < 2.10.0-1 2.10.0-1
debian/kbd(Debian:14) = 2.7.1-2 No fix listed
debian/kbd(Debian:14) = 2.7.1-2+exp1 No fix listed
debian/kbd(Debian:14) = 2.9.0-1 No fix listed
ubuntu/kbd(Ubuntu:22.04) All versions No fix listed
ubuntu/kbd(Ubuntu:24.04) All versions No fix listed
ubuntu/kbd(Ubuntu:26.04) All versions No fix listed
ubuntu/kbd(Ubuntu:26.10) All versions No fix listed
azure linux kbd(Azure Linux:3.0) < 2.2.0-3 2.2.0-3
azure linux kbd(Azure Linux:4.0) < 0:2.8.0-8.azl4 0:2.8.0-8.azl4

References