Out-of-bounds read in Linux kernel - CVE-2026-31729

 

Out-of-bounds read in Linux kernel - CVE-2026-31729

Published: May 2, 2026


Vulnerability identifier: #VU128965
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31729
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker with physical access to cause a denial of service.

The vulnerability exists due to an out-of-bounds array access in ucsi_connector_change() when processing a malformed connector number reported in the CCI. An attacker with physical access can connect a malicious or malfunctioning device to trigger the out-of-bounds access and cause a denial of service.

The issue occurs because the connector number is a 7-bit field that can exceed the number of connectors allocated by the device.


Affected software

Linux kernel
openEuler
Ubuntu
bpftool
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
kernel-tools
linux (Ubuntu package)
linux-fips (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-aws (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)

How to mitigate CVE-2026-31729

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
bpftool - update to 5.10.0-316.0.0.219
kernel - update to 5.10.0-316.0.0.219
python3-perf-debuginfo - update to 5.10.0-316.0.0.219
python3-perf - update to 5.10.0-316.0.0.219
perf-debuginfo - update to 5.10.0-316.0.0.219
perf - update to 5.10.0-316.0.0.219
kernel-tools-devel - update to 5.10.0-316.0.0.219
kernel-tools-debuginfo - update to 5.10.0-316.0.0.219
kernel-source - update to 5.10.0-316.0.0.219
kernel-headers - update to 5.10.0-316.0.0.219
kernel-devel - update to 5.10.0-316.0.0.219
kernel-debugsource - update to 5.10.0-316.0.0.219
kernel-debuginfo - update to 5.10.0-316.0.0.219
bpftool-debuginfo - update to 5.10.0-316.0.0.219
kernel-tools - update to 5.10.0-316.0.0.219
linux (Ubuntu package) - addressed in versions 6.8.0-136.136, 6.8.0-1046.50, 6.8.0-1059.67, 6.8.0-1064.72, 6.8.0-1064.72~22.04.1, 6.8.1-1056.57, 6.8.1-1056.57~22.04.2
linux-fips (Ubuntu package) - addressed in versions 6.8.0-136.136+fips2, 6.8.0-136.136.2, 6.8.0-136.136.2~22.04.1, 6.8.0-1058.61
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-136.136~22.04.1
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1030.31, 6.8.0-1033.34, 6.8.0-1061.62, 6.8.0-1061.62~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1058.61~22.04.1
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1059.62, 6.8.0-1059.62.1, 6.8.0-1059.62~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1061.64+fips1, 6.8.0-1061.64~22.04.1
linux-aws (Ubuntu package) - update to 6.8.0-1061.64+1
linux-raspi (Ubuntu package) - addressed in versions 6.8.0-1061.65, 6.8.0-2050.52
linux-azure-fde (Ubuntu package) - update to 6.8.0-1062.69
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1062.69~22.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1063.71, 6.8.0-1063.71~22.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1063.71+fips2
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1064.72+fips1

External References

Related Security Bulletins