<?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>Fri, 02 Oct 2026 02:39:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40078 — bpf: Explicitly check accesses to bpf_sock_addr</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40078</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: Explicitly check accesses to bpf_sock_addr&lt;/p&gt;
&lt;p&gt;Syzkaller found a kernel warning on the following sock_addr program:&lt;/p&gt;
&lt;p&gt;0: r0 = 0
    1: r2 = *(u32 *)(r1 +60)
    2: exit&lt;/p&gt;
&lt;p&gt;which triggers:&lt;/p&gt;
&lt;p&gt;verifier bug: error during ctx access conversion (0)&lt;/p&gt;
&lt;p&gt;This is happening because offset 60 in bpf_sock_addr corresponds to an
implicit padding of 4 bytes, right after msg_src_ip4. Access to this
padding isn&amp;#39;t rejected in sock_addr_is_valid_access and it thus later
fails to convert the access.&lt;/p&gt;
&lt;p&gt;This patch fixes it by explicitly checking the various fields of
bpf_sock_addr in sock_addr_is_valid_access.&lt;/p&gt;
&lt;p&gt;I checked the other ctx structures and is_valid_access functions and
didn&amp;#39;t find any other similar cases. Other cases of (properly handled)
padding are covered in new tests in a subsequent patch.&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: Explicitly check accesses to bpf_sock_addr&lt;/p&gt;
&lt;p&gt;Syzkaller found a kernel warning on the following sock_addr program:&lt;/p&gt;
&lt;p&gt;0: r0 = 0
    1: r2 = *(u32 *)(r1 +60)
    2: exit&lt;/p&gt;
&lt;p&gt;which triggers:&lt;/p&gt;
&lt;p&gt;verifier bug: error during ctx access conversion (0)&lt;/p&gt;
&lt;p&gt;This is happening because offset 60 in bpf_sock_addr corresponds to an
implicit padding of 4 bytes, right after msg_src_ip4. Access to this
padding isn&amp;#39;t rejected in sock_addr_is_valid_access and it thus later
fails to convert the access.&lt;/p&gt;
&lt;p&gt;This patch fixes it by explicitly checking the various fields of
bpf_sock_addr in sock_addr_is_valid_access.&lt;/p&gt;
&lt;p&gt;I checked the other ctx structures and is_valid_access functions and
didn&amp;#39;t find any other similar cases. Other cases of (properly handled)
padding are covered in new tests in a subsequent patch.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40078</guid>
    </item>
  </channel>
</rss>
