# CVE-2025-71142: cpuset: fix warning when disabling remote partition

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **Published:** 2026-01-14T15:07:55.145Z
- **Modified:** 2026-11-05T22:17:38.137Z

## Who should check

- Anyone running Linux \>= 93f045741dac64facf90c2216f9a1d0876d122c4, \< 71953da7c979983917a4597bcad2c1ea6b8cc226; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< aa7d3a56a20f07978d9f401e13637a6479b13bd0
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

cpuset: fix warning when disabling remote partition

A warning was triggered as follows:

WARNING: kernel/cgroup/cpuset.c:1651 at remote\_partition\_disable+0xf7/0x110
RIP: 0010:remote\_partition\_disable+0xf7/0x110
RSP: 0018:ffffc90001947d88 EFLAGS: 00000206
RAX: 0000000000007fff RBX: ffff888103b6e000 RCX: 0000000000006f40
RDX: 0000000000006f00 RSI: ffffc90001947da8 RDI: ffff888103b6e000
RBP: ffff888103b6e000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: ffff88810b2e2728 R12: ffffc90001947da8
R13: 0000000000000000 R14: ffffc90001947da8 R15: ffff8881081f1c00
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55c8bbe0b2 CR3: 000000010b14c000 CR4: 00000000000006f0
Call Trace:
 \<TASK\>
 update\_prstate+0x2d3/0x580
 cpuset\_partition\_write+0x94/0xf0
 kernfs\_fop\_write\_iter+0x147/0x200
 vfs\_write+0x35d/0x500
 ksys\_write+0x66/0xe0
 do\_syscall\_64+0x6b/0x390
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
RIP: 0033:0x7f55c8cd4887

Reproduction steps (on a 16-CPU machine):

        \# cd /sys/fs/cgroup/
        \# mkdir A1
        \# echo +cpuset \> A1/cgroup.subtree\_control
        \# echo "0-14" \> A1/cpuset.cpus.exclusive
        \# mkdir A1/A2
        \# echo "0-14" \> A1/A2/cpuset.cpus.exclusive
        \# echo "root" \> A1/A2/cpuset.cpus.partition
        \# echo 0 \> /sys/devices/system/cpu/cpu15/online
        \# echo member \> A1/A2/cpuset.cpus.partition

When CPU 15 is offlined, subpartitions\_cpus gets cleared because no CPUs
remain available for the top\_cpuset, forcing partitions to share CPUs with
the top\_cpuset. In this scenario, disabling the remote partition triggers
a warning stating that effective\_xcpus is not a subset of
subpartitions\_cpus. Partitions should be invalidated in this case to
inform users that the partition is now invalid(cpus are shared with
top\_cpuset).

To fix this issue:
1. Only emit the warning only if subpartitions\_cpus is not empty and the
   effective\_xcpus is not a subset of subpartitions\_cpus.
2. During the CPU hotplug process, invalidate partitions if
   subpartitions\_cpus is empty.

## Affected and fixed versions

- Linux: \>= 93f045741dac64facf90c2216f9a1d0876d122c4, \< 71953da7c979983917a4597bcad2c1ea6b8cc226; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< aa7d3a56a20f07978d9f401e13637a6479b13bd0 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71142. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71142.md
Affected: Linux >= 93f045741dac64facf90c2216f9a1d0876d122c4, < 71953da7c979983917a4597bcad2c1ea6b8cc226; >= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, < 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb; >= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, < aa7d3a56a20f07978d9f401e13637a6479b13bd0; Linux 6.15
Fixed in: Linux 71953da7c979983917a4597bcad2c1ea6b8cc226, Linux 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71142 being exploited?

There is no confirmed exploitation: CVE-2025-71142 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-71142?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71142?

Linux \>= 93f045741dac64facf90c2216f9a1d0876d122c4, \< 71953da7c979983917a4597bcad2c1ea6b8cc226; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb; \>= f62a5d39368e34a966c8df63e1f05eed7fe9c5de, \< aa7d3a56a20f07978d9f401e13637a6479b13bd0; Linux 6.15.

### Is there a fix for CVE-2025-71142?

Yes. Fixed in Linux 71953da7c979983917a4597bcad2c1ea6b8cc226, Linux 5d8b9d38a7676be7bb5e7d57f92156a98dab39fb. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-71142?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5d8b9d38a7676be7bb5e7d57f92156a98dab39fb>
- patch: <https://git.kernel.org/stable/c/aa7d3a56a20f07978d9f401e13637a6479b13bd0>
- other: <https://git.kernel.org/stable/c/71953da7c979983917a4597bcad2c1ea6b8cc226>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71142>

HTML: <https://flawdb.com/CVE-2025-71142> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71142>
