<?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>Mon, 28 Sep 2026 17:29:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49802 — ftrace: Fix null pointer dereference in ftrace_add_mod()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49802</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;ftrace: Fix null pointer dereference in ftrace_add_mod()&lt;/p&gt;
&lt;p&gt;The @ftrace_mod is allocated by kzalloc(), so both the members {prev,next}
of @ftrace_mode-&amp;gt;list are NULL, it&amp;#39;s not a valid state to call list_del().
If kstrdup() for @ftrace_mod-&amp;gt;{func|module} fails, it goes to @out_free
tag and calls free_ftrace_mod() to destroy @ftrace_mod, then list_del()
will write prev-&amp;gt;next and next-&amp;gt;prev, where null pointer dereference
happens.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000008
Oops: 0002 [#1] PREEMPT SMP NOPTI
Call Trace:
 &amp;lt;TASK&amp;gt;
 ftrace_mod_callback+0x20d/0x220
 ? do_filp_open+0xd9/0x140
 ftrace_process_regex.isra.51+0xbf/0x130
 ftrace_regex_write.isra.52.part.53+0x6e/0x90
 vfs_write+0xee/0x3a0
 ? __audit_filter_op+0xb1/0x100
 ? auditd_test_task+0x38/0x50
 ksys_write+0xa5/0xe0
 do_syscall_64+0x3a/0x90
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
Kernel panic - not syncing: Fatal exception&lt;/p&gt;
&lt;p&gt;So call INIT_LIST_HEAD() to initialize the list member to fix this issue.&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;ftrace: Fix null pointer dereference in ftrace_add_mod()&lt;/p&gt;
&lt;p&gt;The @ftrace_mod is allocated by kzalloc(), so both the members {prev,next}
of @ftrace_mode-&amp;gt;list are NULL, it&amp;#39;s not a valid state to call list_del().
If kstrdup() for @ftrace_mod-&amp;gt;{func|module} fails, it goes to @out_free
tag and calls free_ftrace_mod() to destroy @ftrace_mod, then list_del()
will write prev-&amp;gt;next and next-&amp;gt;prev, where null pointer dereference
happens.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000008
Oops: 0002 [#1] PREEMPT SMP NOPTI
Call Trace:
 &amp;lt;TASK&amp;gt;
 ftrace_mod_callback+0x20d/0x220
 ? do_filp_open+0xd9/0x140
 ftrace_process_regex.isra.51+0xbf/0x130
 ftrace_regex_write.isra.52.part.53+0x6e/0x90
 vfs_write+0xee/0x3a0
 ? __audit_filter_op+0xb1/0x100
 ? auditd_test_task+0x38/0x50
 ksys_write+0xa5/0xe0
 do_syscall_64+0x3a/0x90
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
Kernel panic - not syncing: Fatal exception&lt;/p&gt;
&lt;p&gt;So call INIT_LIST_HEAD() to initialize the list member to fix this issue.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49802</guid>
    </item>
  </channel>
</rss>
