<?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://cve.radiocsirt.org</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>Thu, 08 Oct 2026 06:01:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49340 — ip_gre: test csum_start instead of transport header</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-49340</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;ip_gre: test csum_start instead of transport header&lt;/p&gt;
&lt;p&gt;GRE with TUNNEL_CSUM will apply local checksum offload on
CHECKSUM_PARTIAL packets.&lt;/p&gt;
&lt;p&gt;ipgre_xmit must validate csum_start after an optional skb_pull,
else lco_csum may trigger an overflow. The original check was&lt;/p&gt;
&lt;p&gt;if (csum &amp;amp;&amp;amp; skb_checksum_start(skb) &amp;lt; skb-&amp;gt;data)
		return -EINVAL;&lt;/p&gt;
&lt;p&gt;This had false positives when skb_checksum_start is undefined:
when ip_summed is not CHECKSUM_PARTIAL. A discussed refinement
was straightforward&lt;/p&gt;
&lt;p&gt;if (csum &amp;amp;&amp;amp; skb-&amp;gt;ip_summed == CHECKSUM_PARTIAL &amp;amp;&amp;amp;
	    skb_checksum_start(skb) &amp;lt; skb-&amp;gt;data)
		return -EINVAL;&lt;/p&gt;
&lt;p&gt;But was eventually revised more thoroughly:
- restrict the check to the only branch where needed, in an
  uncommon GRE path that uses header_ops and calls skb_pull.
- test skb_transport_header, which is set along with csum_start
  in skb_partial_csum_set in the normal header_ops datapath.&lt;/p&gt;
&lt;p&gt;Turns out skbs can arrive in this branch without the transport
header set, e.g., through BPF redirection.&lt;/p&gt;
&lt;p&gt;Revise the check back to check csum_start directly, and only if
CHECKSUM_PARTIAL. Do leave the check in the updated location.
Check field regardless of whether TUNNEL_CSUM is configured.&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;ip_gre: test csum_start instead of transport header&lt;/p&gt;
&lt;p&gt;GRE with TUNNEL_CSUM will apply local checksum offload on
CHECKSUM_PARTIAL packets.&lt;/p&gt;
&lt;p&gt;ipgre_xmit must validate csum_start after an optional skb_pull,
else lco_csum may trigger an overflow. The original check was&lt;/p&gt;
&lt;p&gt;if (csum &amp;amp;&amp;amp; skb_checksum_start(skb) &amp;lt; skb-&amp;gt;data)
		return -EINVAL;&lt;/p&gt;
&lt;p&gt;This had false positives when skb_checksum_start is undefined:
when ip_summed is not CHECKSUM_PARTIAL. A discussed refinement
was straightforward&lt;/p&gt;
&lt;p&gt;if (csum &amp;amp;&amp;amp; skb-&amp;gt;ip_summed == CHECKSUM_PARTIAL &amp;amp;&amp;amp;
	    skb_checksum_start(skb) &amp;lt; skb-&amp;gt;data)
		return -EINVAL;&lt;/p&gt;
&lt;p&gt;But was eventually revised more thoroughly:
- restrict the check to the only branch where needed, in an
  uncommon GRE path that uses header_ops and calls skb_pull.
- test skb_transport_header, which is set along with csum_start
  in skb_partial_csum_set in the normal header_ops datapath.&lt;/p&gt;
&lt;p&gt;Turns out skbs can arrive in this branch without the transport
header set, e.g., through BPF redirection.&lt;/p&gt;
&lt;p&gt;Revise the check back to check csum_start directly, and only if
CHECKSUM_PARTIAL. Do leave the check in the updated location.
Check field regardless of whether TUNNEL_CSUM is configured.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-49340</guid>
    </item>
  </channel>
</rss>
