<?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://db.gcve.eu</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, 29 Oct 2026 22:39:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99127 — page_pool: keep frag_offset aligned for odd-sized requests</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99127</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;page_pool: keep frag_offset aligned for odd-sized requests&lt;/p&gt;
&lt;p&gt;page_pool_alloc_frag_netmem() rounds the requested fragment size with&lt;/p&gt;
&lt;p&gt;size = ALIGN(size, dma_get_cache_alignment());&lt;/p&gt;
&lt;p&gt;dma_get_cache_alignment() returns 1 unless the architecture defines
ARCH_DMA_MINALIGN, which DMA-coherent architectures such as x86 do not.
There the ALIGN() is a no-op and pool-&amp;gt;frag_offset advances by the raw,
unrounded size.&lt;/p&gt;
&lt;p&gt;A single caller asking for an odd size then leaves frag_offset misaligned
for every fragment carved out of that page afterwards.  The pool is shared,
so the damage is not confined to the caller that caused it.&lt;/p&gt;
&lt;p&gt;The per-cpu system_page_pool used by generic XDP hits this.
skb_pp_cow_data() allocates its fragments with the raw packet length:&lt;/p&gt;
&lt;p&gt;size = min_t(u32, len, PAGE_SIZE);
	truesize = size;
	page = page_pool_dev_alloc(pool, &amp;amp;page_off, &amp;amp;truesize);&lt;/p&gt;
&lt;p&gt;leaving frag_offset odd for whatever is carved out of that page next.  Its
own head allocation is already aligned -- SKB_HEAD_ALIGN(size) plus the
XDP_PACKET_HEADROOM its callers pass -- so it is a later user of the shared
pool that pays: page_pool_dev_alloc_va() returns a misaligned buffer,
napi_build_skb() installs it as skb-&amp;gt;head, and skb_shinfo(skb) ==
skb-&amp;gt;head + skb-&amp;gt;end is misaligned with it.&lt;/p&gt;
&lt;p&gt;skb_shinfo()-&amp;gt;dataref is a 4-byte atomic_t at offset 0x20, so the
atomic_inc() in __skb_clone() straddles a cache line.  On x86 with split
lock detection -- fatal…&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;page_pool: keep frag_offset aligned for odd-sized requests&lt;/p&gt;
&lt;p&gt;page_pool_alloc_frag_netmem() rounds the requested fragment size with&lt;/p&gt;
&lt;p&gt;size = ALIGN(size, dma_get_cache_alignment());&lt;/p&gt;
&lt;p&gt;dma_get_cache_alignment() returns 1 unless the architecture defines
ARCH_DMA_MINALIGN, which DMA-coherent architectures such as x86 do not.
There the ALIGN() is a no-op and pool-&amp;gt;frag_offset advances by the raw,
unrounded size.&lt;/p&gt;
&lt;p&gt;A single caller asking for an odd size then leaves frag_offset misaligned
for every fragment carved out of that page afterwards.  The pool is shared,
so the damage is not confined to the caller that caused it.&lt;/p&gt;
&lt;p&gt;The per-cpu system_page_pool used by generic XDP hits this.
skb_pp_cow_data() allocates its fragments with the raw packet length:&lt;/p&gt;
&lt;p&gt;size = min_t(u32, len, PAGE_SIZE);
	truesize = size;
	page = page_pool_dev_alloc(pool, &amp;amp;page_off, &amp;amp;truesize);&lt;/p&gt;
&lt;p&gt;leaving frag_offset odd for whatever is carved out of that page next.  Its
own head allocation is already aligned -- SKB_HEAD_ALIGN(size) plus the
XDP_PACKET_HEADROOM its callers pass -- so it is a later user of the shared
pool that pays: page_pool_dev_alloc_va() returns a misaligned buffer,
napi_build_skb() installs it as skb-&amp;gt;head, and skb_shinfo(skb) ==
skb-&amp;gt;head + skb-&amp;gt;end is misaligned with it.&lt;/p&gt;
&lt;p&gt;skb_shinfo()-&amp;gt;dataref is a 4-byte atomic_t at offset 0x20, so the
atomic_inc() in __skb_clone() straddles a cache line.  On x86 with split
lock detection -- fatal…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99127</guid>
    </item>
  </channel>
</rss>
