Improper control of a resource through its lifetime in Linux kernel - CVE-2026-31725
Published: May 2, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper resource management in the f_ecm net_device lifecycle handling when unbinding the gadget function. A local user can trigger bind and unbind cycles to cause a denial of service.
The issue can leave dangling sysfs symlinks after the parent gadget device is destroyed while the network device remains registered.
Affected software
Ubuntu
openEuler
python3-perf-debuginfo
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
kernel-extra-modules
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-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-31725
python3-perf-debuginfo - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-debugsource - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-debuginfo - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
bpftool-debuginfo - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
bpftool - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-devel - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-headers - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-source - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools-debuginfo - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools-devel - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
perf - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
perf-debuginfo - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
python3-perf - addressed in versions 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-extra-modules - update to 6.6.0-145.3.17.150
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-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
- Improper control of a resource through its lifetime in Linux kernel gadget function driver
- openEuler 24.03 LTS SP3 update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-oracle-6.8
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-azure-fde-6.8
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure-fde
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-ibm