<?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 06:20:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38591 — bpf: Reject narrower access to pointer ctx fields</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38591</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Reject narrower access to pointer ctx fields&lt;/p&gt;
&lt;p&gt;The following BPF program, simplified from a syzkaller repro, causes a
kernel warning:&lt;/p&gt;
&lt;p&gt;r0 = *(u8 *)(r1 + 169);
    exit;&lt;/p&gt;
&lt;p&gt;With pointer field sk being at offset 168 in __sk_buff. This access is
detected as a narrower read in bpf_skb_is_valid_access because it
doesn&amp;#39;t match offsetof(struct __sk_buff, sk). It is therefore allowed
and later proceeds to bpf_convert_ctx_access. Note that for the
&amp;#34;is_narrower_load&amp;#34; case in the convert_ctx_accesses(), the insn-&amp;gt;off
is aligned, so the cnt may not be 0 because it matches the
offsetof(struct __sk_buff, sk) in the bpf_convert_ctx_access. However,
the target_size stays 0 and the verifier errors with a kernel warning:&lt;/p&gt;
&lt;p&gt;verifier bug: error during ctx access conversion(1)&lt;/p&gt;
&lt;p&gt;This patch fixes that to return a proper &amp;#34;invalid bpf_context access
off=X size=Y&amp;#34; error on the load instruction.&lt;/p&gt;
&lt;p&gt;The same issue affects multiple other fields in context structures that
allow narrow access. Some other non-affected fields (for sk_msg,
sk_lookup, and sockopt) were also changed to use bpf_ctx_range_ptr for
consistency.&lt;/p&gt;
&lt;p&gt;Note this syzkaller crash was reported in the &amp;#34;Closes&amp;#34; link below, which
used to be about a different bug, fixed in
commit fce7bd8e385a (&amp;#34;bpf/verifier: Handle BPF_LOAD_ACQ instructions
in insn_def_regno()&amp;#34;). Because syzbot somehow confused the two bugs,
the new crash and repro didn&amp;#39;t get reported to the mailing lis…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Reject narrower access to pointer ctx fields&lt;/p&gt;
&lt;p&gt;The following BPF program, simplified from a syzkaller repro, causes a
kernel warning:&lt;/p&gt;
&lt;p&gt;r0 = *(u8 *)(r1 + 169);
    exit;&lt;/p&gt;
&lt;p&gt;With pointer field sk being at offset 168 in __sk_buff. This access is
detected as a narrower read in bpf_skb_is_valid_access because it
doesn&amp;#39;t match offsetof(struct __sk_buff, sk). It is therefore allowed
and later proceeds to bpf_convert_ctx_access. Note that for the
&amp;#34;is_narrower_load&amp;#34; case in the convert_ctx_accesses(), the insn-&amp;gt;off
is aligned, so the cnt may not be 0 because it matches the
offsetof(struct __sk_buff, sk) in the bpf_convert_ctx_access. However,
the target_size stays 0 and the verifier errors with a kernel warning:&lt;/p&gt;
&lt;p&gt;verifier bug: error during ctx access conversion(1)&lt;/p&gt;
&lt;p&gt;This patch fixes that to return a proper &amp;#34;invalid bpf_context access
off=X size=Y&amp;#34; error on the load instruction.&lt;/p&gt;
&lt;p&gt;The same issue affects multiple other fields in context structures that
allow narrow access. Some other non-affected fields (for sk_msg,
sk_lookup, and sockopt) were also changed to use bpf_ctx_range_ptr for
consistency.&lt;/p&gt;
&lt;p&gt;Note this syzkaller crash was reported in the &amp;#34;Closes&amp;#34; link below, which
used to be about a different bug, fixed in
commit fce7bd8e385a (&amp;#34;bpf/verifier: Handle BPF_LOAD_ACQ instructions
in insn_def_regno()&amp;#34;). Because syzbot somehow confused the two bugs,
the new crash and repro didn&amp;#39;t get reported to the mailing lis…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38591</guid>
    </item>
  </channel>
</rss>
