All vulnerabilities

Servers and applications

CVE-2026-143086

sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()

Severity
Unrated
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
5.16, 6.2, 6.5, 6.12.120, 6.18.66, 7.3.7
Sources
CVE Program

Description

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

A sched_setattr() with SCHED_FLAG_KEEP_POLICY on a SCHED_DEADLINE task unlocks cpuset_mutex twice if the task's policy changes concurrently:

WARNING: bad unlock balance detected! 7.4.0-rc1 #1 Not tainted repro/126 is trying to release lock (cpuset_mutex) at: [] sched_setscheduler+0x9cc/0xc40 but there are no more locks to release! ... Call Trace: print_unlock_imbalance_bug.part.0+0xfb/0x110 lock_release+0x286/0x2e0 mutex_unlock_slowpath+0x1a/0x400 sched_setscheduler+0x9cc/0xc40 x64_sys_sched_setattr+0xa3/0x1b0 do_syscall_64+0x106/0x5f0 entry_SYSCALL_64_after_hwframe+0x77/0x7f

__sched_setscheduler() samples p->policy before taking any lock, and restarts from the recheck label if p->policy differs under the rq lock. The restart drops cpuset_mutex but leaves cpuset_locked set, so a pass that no longer needs the mutex still unlocks it on its way out:

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.3.7
  • From 6.13 before 6.18.66
  • From 6.5 before 6.12.120
  • From 6.4.13 before 6.5
All 7 release lines
  • From 5.10.193 before 5.11
  • From 5.15.129 before 5.16
  • From 6.1.50 before 6.2
  • From 6.4.13 before 6.5
  • From 6.5 before 6.12.120
  • From 6.13 before 6.18.66
  • From 6.19 before 7.3.7

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 4 vulnerable
PackageDebian releaseStatus
linuxsidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-143086 , read in the last 12 hours.

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-143086