<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 19:56:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50579 — arm64: ftrace: fix module PLTs with mcount</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50579</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;arm64: ftrace: fix module PLTs with mcount&lt;/p&gt;
&lt;p&gt;Li Huafei reports that mcount-based ftrace with module PLTs was broken
by commit:&lt;/p&gt;
&lt;p&gt;a6253579977e4c6f (&amp;#34;arm64: ftrace: consistently handle PLTs.&amp;#34;)&lt;/p&gt;
&lt;p&gt;When a module PLTs are used and a module is loaded sufficiently far away
from the kernel, we&amp;#39;ll create PLTs for any branches which are
out-of-range. These are separate from the special ftrace trampoline
PLTs, which the module PLT code doesn&amp;#39;t directly manipulate.&lt;/p&gt;
&lt;p&gt;When mcount is in use this is a problem, as each mcount callsite in a
module will be initialized to point to a module PLT, but since commit
a6253579977e4c6f ftrace_make_nop() will assume that the callsite has
been initialized to point to the special ftrace trampoline PLT, and
ftrace_find_callable_addr() rejects other cases.&lt;/p&gt;
&lt;p&gt;This means that when ftrace tries to initialize a callsite via
ftrace_make_nop(), the call to ftrace_find_callable_addr() will find
that the `_mcount` stub is out-of-range and is not handled by the ftrace
PLT, resulting in a splat:&lt;/p&gt;
&lt;p&gt;| ftrace_test: loading out-of-tree module taints kernel.
| ftrace: no module PLT for _mcount
| ------------[ ftrace bug ]------------
| ftrace failed to modify
| [&amp;lt;ffff800029180014&amp;gt;] 0xffff800029180014
|  actual:   44:00:00:94
| Initializing ftrace call sites
| ftrace record flags: 2000000
|  (0)
|  expected tramp: ffff80000802eb3c
| ------------[ cut here ]------------
| WARNING: CPU: 3 PID: 157 at kernel/tra…&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;arm64: ftrace: fix module PLTs with mcount&lt;/p&gt;
&lt;p&gt;Li Huafei reports that mcount-based ftrace with module PLTs was broken
by commit:&lt;/p&gt;
&lt;p&gt;a6253579977e4c6f (&amp;#34;arm64: ftrace: consistently handle PLTs.&amp;#34;)&lt;/p&gt;
&lt;p&gt;When a module PLTs are used and a module is loaded sufficiently far away
from the kernel, we&amp;#39;ll create PLTs for any branches which are
out-of-range. These are separate from the special ftrace trampoline
PLTs, which the module PLT code doesn&amp;#39;t directly manipulate.&lt;/p&gt;
&lt;p&gt;When mcount is in use this is a problem, as each mcount callsite in a
module will be initialized to point to a module PLT, but since commit
a6253579977e4c6f ftrace_make_nop() will assume that the callsite has
been initialized to point to the special ftrace trampoline PLT, and
ftrace_find_callable_addr() rejects other cases.&lt;/p&gt;
&lt;p&gt;This means that when ftrace tries to initialize a callsite via
ftrace_make_nop(), the call to ftrace_find_callable_addr() will find
that the `_mcount` stub is out-of-range and is not handled by the ftrace
PLT, resulting in a splat:&lt;/p&gt;
&lt;p&gt;| ftrace_test: loading out-of-tree module taints kernel.
| ftrace: no module PLT for _mcount
| ------------[ ftrace bug ]------------
| ftrace failed to modify
| [&amp;lt;ffff800029180014&amp;gt;] 0xffff800029180014
|  actual:   44:00:00:94
| Initializing ftrace call sites
| ftrace record flags: 2000000
|  (0)
|  expected tramp: ffff80000802eb3c
| ------------[ cut here ]------------
| WARNING: CPU: 3 PID: 157 at kernel/tra…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50579</guid>
    </item>
  </channel>
</rss>
