Use-after-free in Linux kernel - CVE-2026-31580

 

Use-after-free in Linux kernel - CVE-2026-31580

Published: April 25, 2026


Vulnerability identifier: #VU127821
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31580
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to use-after-free in cached_dev.sb_bio when handling superblock write completion while the device is being stopped. A local user can stop the device during a superblock write to cause a denial of service.


Affected software

Linux kernel
Debian Linux
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Live Patching
Ubuntu
openEuler
kgraft-patch-4_12_14-122_320-default
kernel-syms
kernel-devel
kernel-macros
kernel-default-man
kernel-source
kernel-default-devel-debuginfo
kernel-default-kgraft
kernel-default-kgraft-devel
kernel-default
gfs2-kmp-default-debuginfo
cluster-md-kmp-default
ocfs2-kmp-default-debuginfo
gfs2-kmp-default
ocfs2-kmp-default
dlm-kmp-default-debuginfo
kernel-default-debuginfo
dlm-kmp-default
cluster-md-kmp-default-debuginfo
kernel-default-base-debuginfo
kernel-default-debugsource
kernel-default-base
kernel-default-devel
kernel
bpftool
kernel-debugsource
kernel-headers
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-debuginfo
bpftool-debuginfo
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure-fde (Ubuntu package)
kernel-extra-modules
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-azure-fde-6.8 (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux (Debian package)
linux-raspi (Ubuntu package)

How to mitigate CVE-2026-31580

Install security update from vendor's repository.

kgraft-patch-4_12_14-122_320-default - update to 1-8.3.1
kernel-syms - update to 4.12.14-122.320.1
kernel-devel - update to 4.12.14-122.320.1
kernel-macros - update to 4.12.14-122.320.1
kernel-default-man - update to 4.12.14-122.320.1
kernel-source - update to 4.12.14-122.320.1
kernel-default-devel-debuginfo - update to 4.12.14-122.320.1
kernel-default-kgraft - update to 4.12.14-122.320.1
kernel-default-kgraft-devel - update to 4.12.14-122.320.1
kernel-default - update to 4.12.14-122.320.1
gfs2-kmp-default-debuginfo - update to 4.12.14-122.320.1
cluster-md-kmp-default - update to 4.12.14-122.320.1
ocfs2-kmp-default-debuginfo - update to 4.12.14-122.320.1
gfs2-kmp-default - update to 4.12.14-122.320.1
ocfs2-kmp-default - update to 4.12.14-122.320.1
dlm-kmp-default-debuginfo - update to 4.12.14-122.320.1
kernel-default-debuginfo - update to 4.12.14-122.320.1
dlm-kmp-default - update to 4.12.14-122.320.1
cluster-md-kmp-default-debuginfo - update to 4.12.14-122.320.1
kernel-default-base-debuginfo - update to 4.12.14-122.320.1
kernel-default-debugsource - update to 4.12.14-122.320.1
kernel-default-base - update to 4.12.14-122.320.1
kernel-default-devel - update to 4.12.14-122.320.1
kernel - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
bpftool - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-debugsource - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-devel - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-headers - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-source - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools-debuginfo - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-tools-devel - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
perf - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
perf-debuginfo - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
python3-perf - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
python3-perf-debuginfo - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
kernel-debuginfo - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
bpftool-debuginfo - addressed in versions 5.10.0-320.0.0.222, 6.6.0-145.1.19.156, 6.6.0-145.3.17.150
linux (Ubuntu package) - addressed in versions 5.15.0.184.155, 5.15.0-184.194, 5.15.0-184.194~20.04.1, 5.15.0.186.166, 5.15.0-186.196, 5.15.0-186.196~20.04.1, 5.15.0.1075.78, 5.15.0-1075.79, 5.15.0.1095.94, 5.15.0-1095.103, 5.15.0.1104.100, 5.15.0-1104.109, 5.15.0.1108.107, 5.15.0-1108.114, 5.15.0.1111.115, 5.15.0-1111.120+fips1, 5.15.0.1112.102, 5.15.0.1112.109, 5.15.0-1112.122, 5.15.0-1112.122+fips1, 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, 7.0.0-27.27
linux-aws (Ubuntu package) - addressed in versions 5.15.0.186.109, 5.15.0-186.196+fips1, 5.15.0.1106.103, 5.15.0-1106.110, 5.15.0.1107.107, 5.15.0-1107.108, 5.15.0.1112.108, 5.15.0.1112.115, 5.15.0-1112.119, 5.15.0-1112.119+fips1, 5.15.0-1112.119~20.04.1, 6.8.0-1061.64+1
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1053.53, 5.15.0.1053.55, 5.15.0.1064.64, 5.15.0-1064.66
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1064.66~20.04.1
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1104.106, 5.15.0.1104.108, 5.15.0-1107.113~20.04.1
linux-intel-iotg (Ubuntu package) - addressed in versions 5.15.0.1107.106, 5.15.0-1107.113
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1109.105, 5.15.0-1109.115, 5.15.0.1117.115, 5.15.0-1117.126, 6.8.0-1063.71, 6.8.0-1063.71~22.04.1, 7.0.0-1009.9, 7.0.0-1010.10
linux-azure-5.15 (Ubuntu package) - addressed in versions 5.15.0-1109.115~20.04.1, 5.15.0-1117.126~20.04.1, 5.15.0-1117.126~20.04.2
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1117.102, 5.15.0-1117.126+fips1, 6.8.0-1063.71+fips2
linux-azure-fde (Ubuntu package) - addressed in versions 5.15.0-1117.126, 6.8.0-1062.69
kernel-extra-modules - update to 6.6.0-145.3.17.150
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, 7.0.0-1013.13
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1061.64+fips1, 6.8.0-1061.64~22.04.1
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1062.69~22.04.1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1064.72+fips1
linux (Debian package) - update to 6.12.85-1
linux-raspi (Ubuntu package) - update to 7.0.0-1014.14

External References

Related Security Bulletins