# CVE-2024-44975: cgroup/cpuset: fix panic caused by partcmd\_update

> 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.27% (percentile 12, 2026-11-26)
- **Published:** 2024-09-04T19:54:27.622Z
- **Modified:** 2026-06-17T07:53:20.423Z

## Who should check

- Anyone running Linux \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 73d6c6cf8ef6a3c532aa159f5114077746a372d6; \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 959ab6350add903e352890af53e86663739fcb9a
- Anyone running Linux 6.7

## Description

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

cgroup/cpuset: fix panic caused by partcmd\_update

We find a bug as below:
BUG: unable to handle page fault for address: 00000003
PGD 0 P4D 0
Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
CPU: 3 PID: 358 Comm: bash Tainted: G        W I        6.6.0-10893-g60d6
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/4
RIP: 0010:partition\_sched\_domains\_locked+0x483/0x600
Code: 01 48 85 d2 74 0d 48 83 05 29 3f f8 03 01 f3 48 0f bc c2 89 c0 48 9
RSP: 0018:ffffc90000fdbc58 EFLAGS: 00000202
RAX: 0000000100000003 RBX: ffff888100b3dfa0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000002fe80
RBP: ffff888100b3dfb0 R08: 0000000000000001 R09: 0000000000000000
R10: ffffc90000fdbcb0 R11: 0000000000000004 R12: 0000000000000002
R13: ffff888100a92b48 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f44a5425740(0000) GS:ffff888237d80000(0000) knlGS:0000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100030973 CR3: 000000010722c000 CR4: 00000000000006e0
Call Trace:
 \<TASK\>
 ? show\_regs+0x8c/0xa0
 ? \_\_die\_body+0x23/0xa0
 ? \_\_die+0x3a/0x50
 ? page\_fault\_oops+0x1d2/0x5c0
 ? partition\_sched\_domains\_locked+0x483/0x600
 ? search\_module\_extables+0x2a/0xb0
 ? search\_exception\_tables+0x67/0x90
 ? kernelmode\_fixup\_or\_oops+0x144/0x1b0
 ? \_\_bad\_area\_nosemaphore+0x211/0x360
 ? up\_read+0x3b/0x50
 ? bad\_area\_nosemaphore+0x1a/0x30
 ? exc\_page\_fault+0x890/0xd90
 ? \_\_lock\_acquire.constprop.0+0x24f/0x8d0
 ? \_\_lock\_acquire.constprop.0+0x24f/0x8d0
 ? asm\_exc\_page\_fault+0x26/0x30
 ? partition\_sched\_domains\_locked+0x483/0x600
 ? partition\_sched\_domains\_locked+0xf0/0x600
 rebuild\_sched\_domains\_locked+0x806/0xdc0
 update\_partition\_sd\_lb+0x118/0x130
 cpuset\_write\_resmask+0xffc/0x1420
 cgroup\_file\_write+0xb2/0x290
 kernfs\_fop\_write\_iter+0x194/0x290
 new\_sync\_write+0xeb/0x160
 vfs\_write+0x16f/0x1d0
 ksys\_write+0x81/0x180
 \_\_x64\_sys\_write+0x21/0x30
 x64\_sys\_call+0x2f25/0x4630
 do\_syscall\_64+0x44/0xb0
 entry\_SYSCALL\_64\_after\_hwframe+0x78/0xe2
RIP: 0033:0x7f44a553c887

It can be reproduced with cammands:
cd /sys/fs/cgroup/
mkdir test
cd test/
echo +cpuset \> ../cgroup.subtree\_control
echo root \> cpuset.cpus.partition
cat /sys/fs/cgroup/cpuset.cpus.effective
0-3
echo 0-3 \> cpuset.cpus // taking away all cpus from root

This issue is caused by the incorrect rebuilding of scheduling domains.
In this scenario, test/cpuset.cpus.partition should be an invalid root
and should not trigger the rebuilding of scheduling domains. When calling
update\_parent\_effective\_cpumask with partcmd\_update, if newmask is not
null, it should recheck newmask whether there are cpus is available
for parect/cs that has tasks.

## Affected and fixed versions

- Linux: \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 73d6c6cf8ef6a3c532aa159f5114077746a372d6; \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 959ab6350add903e352890af53e86663739fcb9a (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 959ab6350add903e352890af53e86663739fcb9a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-44975.md
Affected: Linux >= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, < 73d6c6cf8ef6a3c532aa159f5114077746a372d6; >= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, < 959ab6350add903e352890af53e86663739fcb9a; Linux 6.7
Fixed in: Linux 73d6c6cf8ef6a3c532aa159f5114077746a372d6, Linux 959ab6350add903e352890af53e86663739fcb9a

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-2024-44975 being exploited?

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

### How serious is CVE-2024-44975?

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

### Which versions are affected by CVE-2024-44975?

Linux \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 73d6c6cf8ef6a3c532aa159f5114077746a372d6; \>= 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21, \< 959ab6350add903e352890af53e86663739fcb9a; Linux 6.7.

### Is there a fix for CVE-2024-44975?

Yes. Fixed in Linux 73d6c6cf8ef6a3c532aa159f5114077746a372d6, Linux 959ab6350add903e352890af53e86663739fcb9a. Upgrade Linux to 959ab6350add903e352890af53e86663739fcb9a or later.

### How do I check if I'm affected by CVE-2024-44975?

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/73d6c6cf8ef6a3c532aa159f5114077746a372d6>
- patch: <https://git.kernel.org/stable/c/959ab6350add903e352890af53e86663739fcb9a>

## 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-2024-44975>

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