<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:17:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143086 — sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143086</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()&lt;/p&gt;
&lt;p&gt;A sched_setattr() with SCHED_FLAG_KEEP_POLICY on a SCHED_DEADLINE task
unlocks cpuset_mutex twice if the task&amp;#39;s policy changes concurrently:&lt;/p&gt;
&lt;p&gt;WARNING: bad unlock balance detected!
  7.4.0-rc1 #1 Not tainted
  -------------------------------------
  repro/126 is trying to release lock (cpuset_mutex) at:
  [&amp;lt;ffffffff9a17cacc&amp;gt;] __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&lt;/p&gt;
&lt;p&gt;__sched_setscheduler() samples p-&amp;gt;policy before taking any lock, and
restarts from the recheck label if p-&amp;gt;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:&lt;/p&gt;
&lt;p&gt;CPU 1                                CPU 2
  __sched_setscheduler(KEEP_POLICY)
    policy = p-&amp;gt;policy /* DEADLINE */
                                       __sched_setscheduler(SCHED_OTHER)
                                         p-&amp;gt;policy = SCHED_OTHER
    cpuset_locked = true
    cpuset_lock()
    rq = task_rq_lock(p)
    oldpolicy != p-&amp;gt;policy
      cpuset_unlock()
      goto recheck…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()&lt;/p&gt;
&lt;p&gt;A sched_setattr() with SCHED_FLAG_KEEP_POLICY on a SCHED_DEADLINE task
unlocks cpuset_mutex twice if the task&amp;#39;s policy changes concurrently:&lt;/p&gt;
&lt;p&gt;WARNING: bad unlock balance detected!
  7.4.0-rc1 #1 Not tainted
  -------------------------------------
  repro/126 is trying to release lock (cpuset_mutex) at:
  [&amp;lt;ffffffff9a17cacc&amp;gt;] __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&lt;/p&gt;
&lt;p&gt;__sched_setscheduler() samples p-&amp;gt;policy before taking any lock, and
restarts from the recheck label if p-&amp;gt;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:&lt;/p&gt;
&lt;p&gt;CPU 1                                CPU 2
  __sched_setscheduler(KEEP_POLICY)
    policy = p-&amp;gt;policy /* DEADLINE */
                                       __sched_setscheduler(SCHED_OTHER)
                                         p-&amp;gt;policy = SCHED_OTHER
    cpuset_locked = true
    cpuset_lock()
    rq = task_rq_lock(p)
    oldpolicy != p-&amp;gt;policy
      cpuset_unlock()
      goto recheck…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143086</guid>
    </item>
  </channel>
</rss>
