<?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>Sun, 04 Oct 2026 07:34:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72112 — io_uring/bpf-ops: reject re-registration of an already-bound ops</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72112</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;io_uring/bpf-ops: reject re-registration of an already-bound ops&lt;/p&gt;
&lt;p&gt;io_install_bpf() only rejects a second registration on the ctx side
(ctx-&amp;gt;bpf_ops) and sets the per-map back-pointer ops-&amp;gt;priv
unconditionally. The struct_ops link path never advances a map past
BPF_STRUCT_OPS_STATE_READY, so the same io_uring_bpf_ops map can be
registered more than once, and bpf_io_reg() re-resolves the target ring
via fget(ops-&amp;gt;ring_fd) on every call. A caller can therefore point the
same ring_fd at a different io_ring_ctx between two BPF_LINK_CREATE
calls.&lt;/p&gt;
&lt;p&gt;The second registration passes the ctx-&amp;gt;bpf_ops check (the new ctx has
none) and overwrites ops-&amp;gt;priv, orphaning the first ctx. Teardown
(io_eject_bpf()/bpf_io_unreg()) only reaches a ctx through ops-&amp;gt;priv, so
the orphaned ctx is never torn down: its ctx-&amp;gt;loop_step keeps pointing
into the struct_ops trampoline, which is freed once the map is gone. A
later io_uring_enter() on the orphaned ring then calls the dangling
ctx-&amp;gt;loop_step from io_run_loop() -- a use-after-free of freed
executable memory, reachable by a task with CAP_BPF + CAP_PERFMON.&lt;/p&gt;
&lt;p&gt;Reject registration when ops-&amp;gt;priv is already set, as hid_bpf_reg()
does for its struct_ops.&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;io_uring/bpf-ops: reject re-registration of an already-bound ops&lt;/p&gt;
&lt;p&gt;io_install_bpf() only rejects a second registration on the ctx side
(ctx-&amp;gt;bpf_ops) and sets the per-map back-pointer ops-&amp;gt;priv
unconditionally. The struct_ops link path never advances a map past
BPF_STRUCT_OPS_STATE_READY, so the same io_uring_bpf_ops map can be
registered more than once, and bpf_io_reg() re-resolves the target ring
via fget(ops-&amp;gt;ring_fd) on every call. A caller can therefore point the
same ring_fd at a different io_ring_ctx between two BPF_LINK_CREATE
calls.&lt;/p&gt;
&lt;p&gt;The second registration passes the ctx-&amp;gt;bpf_ops check (the new ctx has
none) and overwrites ops-&amp;gt;priv, orphaning the first ctx. Teardown
(io_eject_bpf()/bpf_io_unreg()) only reaches a ctx through ops-&amp;gt;priv, so
the orphaned ctx is never torn down: its ctx-&amp;gt;loop_step keeps pointing
into the struct_ops trampoline, which is freed once the map is gone. A
later io_uring_enter() on the orphaned ring then calls the dangling
ctx-&amp;gt;loop_step from io_run_loop() -- a use-after-free of freed
executable memory, reachable by a task with CAP_BPF + CAP_PERFMON.&lt;/p&gt;
&lt;p&gt;Reject registration when ops-&amp;gt;priv is already set, as hid_bpf_reg()
does for its struct_ops.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72112</guid>
    </item>
  </channel>
</rss>
