CVE-2025-71142
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
14/01/2026
Última modificación:
14/01/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
cpuset: fix warning when disabling remote partition<br />
<br />
A warning was triggered as follows:<br />
<br />
WARNING: kernel/cgroup/cpuset.c:1651 at remote_partition_disable+0xf7/0x110<br />
RIP: 0010:remote_partition_disable+0xf7/0x110<br />
RSP: 0018:ffffc90001947d88 EFLAGS: 00000206<br />
RAX: 0000000000007fff RBX: ffff888103b6e000 RCX: 0000000000006f40<br />
RDX: 0000000000006f00 RSI: ffffc90001947da8 RDI: ffff888103b6e000<br />
RBP: ffff888103b6e000 R08: 0000000000000000 R09: 0000000000000000<br />
R10: 0000000000000001 R11: ffff88810b2e2728 R12: ffffc90001947da8<br />
R13: 0000000000000000 R14: ffffc90001947da8 R15: ffff8881081f1c00<br />
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br />
CR2: 00007f55c8bbe0b2 CR3: 000000010b14c000 CR4: 00000000000006f0<br />
Call Trace:<br />
<br />
update_prstate+0x2d3/0x580<br />
cpuset_partition_write+0x94/0xf0<br />
kernfs_fop_write_iter+0x147/0x200<br />
vfs_write+0x35d/0x500<br />
ksys_write+0x66/0xe0<br />
do_syscall_64+0x6b/0x390<br />
entry_SYSCALL_64_after_hwframe+0x4b/0x53<br />
RIP: 0033:0x7f55c8cd4887<br />
<br />
Reproduction steps (on a 16-CPU machine):<br />
<br />
# cd /sys/fs/cgroup/<br />
# mkdir A1<br />
# echo +cpuset > A1/cgroup.subtree_control<br />
# echo "0-14" > A1/cpuset.cpus.exclusive<br />
# mkdir A1/A2<br />
# echo "0-14" > A1/A2/cpuset.cpus.exclusive<br />
# echo "root" > A1/A2/cpuset.cpus.partition<br />
# echo 0 > /sys/devices/system/cpu/cpu15/online<br />
# echo member > A1/A2/cpuset.cpus.partition<br />
<br />
When CPU 15 is offlined, subpartitions_cpus gets cleared because no CPUs<br />
remain available for the top_cpuset, forcing partitions to share CPUs with<br />
the top_cpuset. In this scenario, disabling the remote partition triggers<br />
a warning stating that effective_xcpus is not a subset of<br />
subpartitions_cpus. Partitions should be invalidated in this case to<br />
inform users that the partition is now invalid(cpus are shared with<br />
top_cpuset).<br />
<br />
To fix this issue:<br />
1. Only emit the warning only if subpartitions_cpus is not empty and the<br />
effective_xcpus is not a subset of subpartitions_cpus.<br />
2. During the CPU hotplug process, invalidate partitions if<br />
subpartitions_cpus is empty.



