<?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://cve.radiocsirt.org</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>Mon, 05 Oct 2026 14:31:05 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-48644 — net/sched: taprio: avoid disabling offload when it was never enabled</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-48644</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;net/sched: taprio: avoid disabling offload when it was never enabled&lt;/p&gt;
&lt;p&gt;In an incredibly strange API design decision, qdisc-&amp;gt;destroy() gets
called even if qdisc-&amp;gt;init() never succeeded, not exclusively since
commit 87b60cfacf9f (&amp;#34;net_sched: fix error recovery at qdisc creation&amp;#34;),
but apparently also earlier (in the case of qdisc_create_dflt()).&lt;/p&gt;
&lt;p&gt;The taprio qdisc does not fully acknowledge this when it attempts full
offload, because it starts off with q-&amp;gt;flags = TAPRIO_FLAGS_INVALID in
taprio_init(), then it replaces q-&amp;gt;flags with TCA_TAPRIO_ATTR_FLAGS
parsed from netlink (in taprio_change(), tail called from taprio_init()).&lt;/p&gt;
&lt;p&gt;But in taprio_destroy(), we call taprio_disable_offload(), and this
determines what to do based on FULL_OFFLOAD_IS_ENABLED(q-&amp;gt;flags).&lt;/p&gt;
&lt;p&gt;But looking at the implementation of FULL_OFFLOAD_IS_ENABLED()
(a bitwise check of bit 1 in q-&amp;gt;flags), it is invalid to call this macro
on q-&amp;gt;flags when it contains TAPRIO_FLAGS_INVALID, because that is set
to U32_MAX, and therefore FULL_OFFLOAD_IS_ENABLED() will return true on
an invalid set of flags.&lt;/p&gt;
&lt;p&gt;As a result, it is possible to crash the kernel if user space forces an
error between setting q-&amp;gt;flags = TAPRIO_FLAGS_INVALID, and the calling
of taprio_enable_offload(). This is because drivers do not expect the
offload to be disabled when it was never enabled.&lt;/p&gt;
&lt;p&gt;The error that we force here is to attach taprio as a non-root qdisc,
but instead as child of a…&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;net/sched: taprio: avoid disabling offload when it was never enabled&lt;/p&gt;
&lt;p&gt;In an incredibly strange API design decision, qdisc-&amp;gt;destroy() gets
called even if qdisc-&amp;gt;init() never succeeded, not exclusively since
commit 87b60cfacf9f (&amp;#34;net_sched: fix error recovery at qdisc creation&amp;#34;),
but apparently also earlier (in the case of qdisc_create_dflt()).&lt;/p&gt;
&lt;p&gt;The taprio qdisc does not fully acknowledge this when it attempts full
offload, because it starts off with q-&amp;gt;flags = TAPRIO_FLAGS_INVALID in
taprio_init(), then it replaces q-&amp;gt;flags with TCA_TAPRIO_ATTR_FLAGS
parsed from netlink (in taprio_change(), tail called from taprio_init()).&lt;/p&gt;
&lt;p&gt;But in taprio_destroy(), we call taprio_disable_offload(), and this
determines what to do based on FULL_OFFLOAD_IS_ENABLED(q-&amp;gt;flags).&lt;/p&gt;
&lt;p&gt;But looking at the implementation of FULL_OFFLOAD_IS_ENABLED()
(a bitwise check of bit 1 in q-&amp;gt;flags), it is invalid to call this macro
on q-&amp;gt;flags when it contains TAPRIO_FLAGS_INVALID, because that is set
to U32_MAX, and therefore FULL_OFFLOAD_IS_ENABLED() will return true on
an invalid set of flags.&lt;/p&gt;
&lt;p&gt;As a result, it is possible to crash the kernel if user space forces an
error between setting q-&amp;gt;flags = TAPRIO_FLAGS_INVALID, and the calling
of taprio_enable_offload(). This is because drivers do not expect the
offload to be disabled when it was never enabled.&lt;/p&gt;
&lt;p&gt;The error that we force here is to attach taprio as a non-root qdisc,
but instead as child of a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-48644</guid>
    </item>
  </channel>
</rss>
