<?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 18:42:38 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143087 — sched/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143087</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/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE&lt;/p&gt;
&lt;p&gt;sched_setattr() accepts sched_util_min and sched_util_max values that do
not fit in uclamp_se::value. A single thread can do:&lt;/p&gt;
&lt;p&gt;sched_setattr(max = 800)		returns 0
  sched_setattr(min = 0xfffffffe)	returns 0
  sched_getattr()			min=2046 max=800&lt;/p&gt;
&lt;p&gt;which leaves the minimum above both SCHED_CAPACITY_SCALE and the task&amp;#39;s own
maximum.&lt;/p&gt;
&lt;p&gt;The range check in uclamp_validate() relies on the + 1 wrapping -1, the
reset value, to 0:&lt;/p&gt;
&lt;p&gt;if (util_min + 1 &amp;gt; SCHED_CAPACITY_SCALE + 1)&lt;/p&gt;
&lt;p&gt;That only works for an unsigned type. util_min and util_max are int and
SCHED_CAPACITY_SCALE is a long, so every negative value passes the check,
and so does INT_MAX, whose + 1 wraps.&lt;/p&gt;
&lt;p&gt;uclamp_se_set() then truncates what got through to the 11 bits of
uclamp_se::value, but computes the bucket from the full value. A minimum
of 0xfffff800 is stored as 0 in the top bucket, where uclamp_rq_max_value()
takes it for the highest active clamp once a higher value leaves the rq.
The rq clamp falls below what the remaining tasks requested, and emptying
their bucket trips the WARN_ON_ONCE() in uclamp_rq_dec_id(), without any
privilege:&lt;/p&gt;
&lt;p&gt;WARNING: kernel/sched/core.c:1862 at dequeue_task+0x2a3/0x2b0, CPU#0: repro/126
  Call Trace:
   __schedule+0x933/0x1320
   schedule+0x36/0x100
   do_nanosleep+0x61/0x190
   hrtimer_nanosleep+0xb5/0x1d0&lt;/p&gt;
&lt;p&gt;Make util_min and util_max unsigned int, so that -1 is the…&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/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE&lt;/p&gt;
&lt;p&gt;sched_setattr() accepts sched_util_min and sched_util_max values that do
not fit in uclamp_se::value. A single thread can do:&lt;/p&gt;
&lt;p&gt;sched_setattr(max = 800)		returns 0
  sched_setattr(min = 0xfffffffe)	returns 0
  sched_getattr()			min=2046 max=800&lt;/p&gt;
&lt;p&gt;which leaves the minimum above both SCHED_CAPACITY_SCALE and the task&amp;#39;s own
maximum.&lt;/p&gt;
&lt;p&gt;The range check in uclamp_validate() relies on the + 1 wrapping -1, the
reset value, to 0:&lt;/p&gt;
&lt;p&gt;if (util_min + 1 &amp;gt; SCHED_CAPACITY_SCALE + 1)&lt;/p&gt;
&lt;p&gt;That only works for an unsigned type. util_min and util_max are int and
SCHED_CAPACITY_SCALE is a long, so every negative value passes the check,
and so does INT_MAX, whose + 1 wraps.&lt;/p&gt;
&lt;p&gt;uclamp_se_set() then truncates what got through to the 11 bits of
uclamp_se::value, but computes the bucket from the full value. A minimum
of 0xfffff800 is stored as 0 in the top bucket, where uclamp_rq_max_value()
takes it for the highest active clamp once a higher value leaves the rq.
The rq clamp falls below what the remaining tasks requested, and emptying
their bucket trips the WARN_ON_ONCE() in uclamp_rq_dec_id(), without any
privilege:&lt;/p&gt;
&lt;p&gt;WARNING: kernel/sched/core.c:1862 at dequeue_task+0x2a3/0x2b0, CPU#0: repro/126
  Call Trace:
   __schedule+0x933/0x1320
   schedule+0x36/0x100
   do_nanosleep+0x61/0x190
   hrtimer_nanosleep+0xb5/0x1d0&lt;/p&gt;
&lt;p&gt;Make util_min and util_max unsigned int, so that -1 is the…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143087</guid>
    </item>
  </channel>
</rss>
