CVE-2025-71072

EUVD-2026-2281
In the Linux kernel, the following vulnerability has been resolved:

shmem: fix recovery on rename failures

maple_tree insertions can fail if we are seriously short on memory;
simple_offset_rename() does not recover well if it runs into that.
The same goes for simple_offset_rename_exchange().

Moreover, shmem_whiteout() expects that if it succeeds, the caller will
progress to d_move(), i.e. that shmem_rename2() won't fail past the
successful call of shmem_whiteout().

Not hard to fix, fortunately - mtree_store() can't fail if the index we
are trying to store into is already present in the tree as a singleton.

For simple_offset_rename_exchange() that's enough - we just need to be
careful about the order of operations.

For simple_offset_rename() solution is to preinsert the target into the
tree for new_dir; the rest can be done without any potentially failing
operations.

That preinsertion has to be done in shmem_rename2() rather than in
simple_offset_rename() itself - otherwise we'd need to deal with the
possibility of failure after successful shmem_whiteout().
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 2%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
6.6.1 ≤
𝑥
< 6.12.64
linuxlinux_kernel
6.13 ≤
𝑥
< 6.18.3
linuxlinux_kernel
6.6
linuxlinux_kernel
6.19:rc1
linuxlinux_kernel
6.19:rc2
linuxlinux_kernel
6.19:rc3
linuxlinux_kernel
6.19:rc4
linuxlinux_kernel
6.19:rc5
linuxlinux_kernel
6.19:rc6
linuxlinux_kernel
6.19:rc7
linuxlinux_kernel
6.19:rc8
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.170-3
fixed
bookworm (security)
6.1.176-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.259-1
fixed
forky
7.0.13-1
fixed
sid
7.1.3-1
fixed
trixie
6.12.86-1
fixed
trixie (security)
6.12.95-1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
bpftool6.12
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
bpftool6.12-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel-livepatch-6.12.64-87.122
Amazon Linux 2023
1:1.0-0.amzn2023
fixed
kernel6.12
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-debuginfo-common-aarch64
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-debuginfo-common-x86_64
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-devel
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-headers
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-libbpf
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-libbpf-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-libbpf-devel
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-libbpf-static
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-modules-extra
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-modules-extra-common
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-tools
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-tools-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
kernel6.12-tools-devel
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
perf6.12
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
perf6.12-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
python3-perf6.12
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed
python3-perf6.12-debuginfo
Amazon Linux 2023
1:6.12.64-87.122.amzn2023
fixed