<?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, 05 Oct 2026 21:31:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49341 — bpf, arm64: Clear prog-&gt;jited_len along prog-&gt;jited</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49341</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;bpf, arm64: Clear prog-&amp;gt;jited_len along prog-&amp;gt;jited&lt;/p&gt;
&lt;p&gt;syzbot reported an illegal copy_to_user() attempt
from bpf_prog_get_info_by_fd() [1]&lt;/p&gt;
&lt;p&gt;There was no repro yet on this bug, but I think
that commit 0aef499f3172 (&amp;#34;mm/usercopy: Detect vmalloc overruns&amp;#34;)
is exposing a prior bug in bpf arm64.&lt;/p&gt;
&lt;p&gt;bpf_prog_get_info_by_fd() looks at prog-&amp;gt;jited_len
to determine if the JIT image can be copied out to user space.&lt;/p&gt;
&lt;p&gt;My theory is that syzbot managed to get a prog where prog-&amp;gt;jited_len
has been set to 43, while prog-&amp;gt;bpf_func has ben cleared.&lt;/p&gt;
&lt;p&gt;It is not clear why copy_to_user(uinsns, NULL, ulen) is triggering
this particular warning.&lt;/p&gt;
&lt;p&gt;I thought find_vma_area(NULL) would not find a vm_struct.
As we do not hold vmap_area_lock spinlock, it might be possible
that the found vm_struct was garbage.&lt;/p&gt;
&lt;p&gt;[1]
usercopy: Kernel memory exposure attempt detected from vmalloc (offset 792633534417210172, size 43)!
kernel BUG at mm/usercopy.c:101!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 25002 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0
Hardware name: linux,dummy-virt (DT)
pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : usercopy_abort+0x90/0x94 mm/usercopy.c:101
lr : usercopy_abort+0x90/0x94 mm/usercopy.c:89
sp : ffff80000b773a20
x29: ffff80000b773a30 x28: faff80000b745000 x27: ffff80000b773b48
x26: 0000000000000000 x25: 000000000000002b x24: 0000000000000…&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;bpf, arm64: Clear prog-&amp;gt;jited_len along prog-&amp;gt;jited&lt;/p&gt;
&lt;p&gt;syzbot reported an illegal copy_to_user() attempt
from bpf_prog_get_info_by_fd() [1]&lt;/p&gt;
&lt;p&gt;There was no repro yet on this bug, but I think
that commit 0aef499f3172 (&amp;#34;mm/usercopy: Detect vmalloc overruns&amp;#34;)
is exposing a prior bug in bpf arm64.&lt;/p&gt;
&lt;p&gt;bpf_prog_get_info_by_fd() looks at prog-&amp;gt;jited_len
to determine if the JIT image can be copied out to user space.&lt;/p&gt;
&lt;p&gt;My theory is that syzbot managed to get a prog where prog-&amp;gt;jited_len
has been set to 43, while prog-&amp;gt;bpf_func has ben cleared.&lt;/p&gt;
&lt;p&gt;It is not clear why copy_to_user(uinsns, NULL, ulen) is triggering
this particular warning.&lt;/p&gt;
&lt;p&gt;I thought find_vma_area(NULL) would not find a vm_struct.
As we do not hold vmap_area_lock spinlock, it might be possible
that the found vm_struct was garbage.&lt;/p&gt;
&lt;p&gt;[1]
usercopy: Kernel memory exposure attempt detected from vmalloc (offset 792633534417210172, size 43)!
kernel BUG at mm/usercopy.c:101!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 25002 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0
Hardware name: linux,dummy-virt (DT)
pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : usercopy_abort+0x90/0x94 mm/usercopy.c:101
lr : usercopy_abort+0x90/0x94 mm/usercopy.c:89
sp : ffff80000b773a20
x29: ffff80000b773a30 x28: faff80000b745000 x27: ffff80000b773b48
x26: 0000000000000000 x25: 000000000000002b x24: 0000000000000…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49341</guid>
    </item>
  </channel>
</rss>
