# CVE-2026-99127: page\_pool: keep frag\_offset aligned for odd-sized requests

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:34:41.448Z
- **Modified:** 2026-10-30T13:21:46.867Z

## Who should check

- Anyone running Linux \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 8ab058f49e801803c4a755b09fe4a920d194da7f; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 31e1a71995f23446c9d9e6ba170a6b16b110d243; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< ccc28e498ef1c6eaaa16e61c6edb52c32a4f14bb; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 813a72beaa5d3f4bb135e0def9b3f07a3511ca0e; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dca1b51693c81eaf77e50980be373e01ae857394; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dc0df5a0c62ccea1d0e08d39a4dc9064de81d411
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

page\_pool: keep frag\_offset aligned for odd-sized requests

page\_pool\_alloc\_frag\_netmem() rounds the requested fragment size with

	size = ALIGN(size, dma\_get\_cache\_alignment());

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-\>frag\_offset advances by the raw,
unrounded size.

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.

The per-cpu system\_page\_pool used by generic XDP hits this.
skb\_pp\_cow\_data() allocates its fragments with the raw packet length:

	size = min\_t(u32, len, PAGE\_SIZE);
	truesize = size;
	page = page\_pool\_dev\_alloc(pool, &page\_off, &truesize);

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-\>head, and skb\_shinfo(skb) ==
skb-\>head + skb-\>end is misaligned with it.

skb\_shinfo()-\>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 for kernel split locks by default -- this panics
the machine:

  Oops: Split lock detected
  RIP: 0010:skb\_clone+0x154/0x1e0
  Call Trace:
   \<IRQ\>
   raw\_local\_deliver+0x1ed/0x2c0
   ip\_protocol\_deliver\_rcu+0x54/0x1c0
   ip\_local\_deliver\_finish+0x85/0x100
   ip\_local\_deliver+0x67/0x100
   \_\_netif\_receive\_skb\_one\_core+0x85/0xa0
   process\_backlog+0x87/0x130

Reproduced by attaching any generic-mode XDP program to loopback and
opening a RAW IPPROTO\_UDP socket, which makes raw\_local\_deliver() clone
every locally delivered UDP packet; ordinary DNS traffic then triggers it,
roughly once per 2500 clones.  Observed on 6.12.101 and 7.1.8.

Tracing page\_pool\_alloc\_frag\_netmem() over one such run shows the
amplification -- two odd-sized requests, nine misaligned offsets:

  requested size & 7:   0: 17035    5: 1    7: 1
  frag\_offset & 7:      0: 17028    3: 1    4: 1    5: 1    6: 1    7: 5

and skb\_pp\_cow\_data() returning heads that were aligned on entry:

  head 0xffff8f4c86aeac00 -\> 0xffff8f4c53a9a9c4 (&7=4)
  head 0xffff8f4d6a8a42c0 -\> 0xffff8f4c4f7b7a45 (&7=5)

Round the fragment size up to at least the alignment struct skb\_shared\_info
requires, so fragments are always suitably aligned for the objects callers
build on them.  Architectures needing a larger DMA alignment keep it.

This also makes the remainder computed in page\_pool\_alloc\_netmem(),

	\*size = max\_size - \*offset;

aligned, since max\_size is a power of two -- which fixes the matching
misalignment of skb-\>end.

Verified with a controlled A/B under QEMU/KVM: same tree, same config,
same compiler, same rootfs and identical traffic, differing only by this
patch.  A SEC("xdp.frags") XDP\_PASS program on lo plus UDP datagrams
larger than max\_head\_size drives skb\_pp\_cow\_data()'s fragment loop, which
passes raw packet lengths to the pool.  Measured at the return of
skb\_pp\_cow\_data():

                          unpatched   patched
  skb\_pp\_cow\_data calls       40800     40800
  misaligned skb-\>head         1120         0
  dataref at line offset \>60     80         0

The last row counts the accesses that actually fault:
skb\_shinfo()-\>dataref sits at head+end+0x20 and is a 4-byte atomic, so
\`lock incl\` splits a 64-byte cache line only when that address lands at
offset 61..63.  All 80 occurrences were at offset 61; the panic reported
above was at offset 62.  Eliminating the misalignment removes every one
of them.

Same class of bug as commit 3bed3cc4156e ("net: Do not allocate page
fragments t
---truncated---

## Affected and fixed versions

- Linux: \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 8ab058f49e801803c4a755b09fe4a920d194da7f; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 31e1a71995f23446c9d9e6ba170a6b16b110d243; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< ccc28e498ef1c6eaaa16e61c6edb52c32a4f14bb; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 813a72beaa5d3f4bb135e0def9b3f07a3511ca0e; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dca1b51693c81eaf77e50980be373e01ae857394; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dc0df5a0c62ccea1d0e08d39a4dc9064de81d411 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99127. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99127.md
Affected: Linux >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < 8ab058f49e801803c4a755b09fe4a920d194da7f; >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < 31e1a71995f23446c9d9e6ba170a6b16b110d243; >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < ccc28e498ef1c6eaaa16e61c6edb52c32a4f14bb; >= 53e0961da1c7bbdabd1abeb…
Fixed in: Linux 8ab058f49e801803c4a755b09fe4a920d194da7f, Linux 31e1a71995f23446c9d9e6ba170a6b16b110d243, Linux 22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2, Linux 813a72beaa5d3f4bb135e0def9b3f07a3511ca0e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99127 being exploited?

There is no confirmed exploitation: CVE-2026-99127 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99127?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99127?

Linux \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 8ab058f49e801803c4a755b09fe4a920d194da7f; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 31e1a71995f23446c9d9e6ba170a6b16b110d243; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< ccc28e498ef1c6eaaa16e61c6edb52c32a4f14bb; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 813a72beaa5d3f4bb135e0def9b3f07a3511ca0e; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dca1b51693c81eaf77e50980be373e01ae857394; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< dc0df5a0c62ccea1d0e08d39a4dc9064de81d411; Linux 5.15.

### Is there a fix for CVE-2026-99127?

Yes. Fixed in Linux 8ab058f49e801803c4a755b09fe4a920d194da7f, Linux 31e1a71995f23446c9d9e6ba170a6b16b110d243, Linux 22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2, Linux 813a72beaa5d3f4bb135e0def9b3f07a3511ca0e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99127?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8ab058f49e801803c4a755b09fe4a920d194da7f>
- other: <https://git.kernel.org/stable/c/31e1a71995f23446c9d9e6ba170a6b16b110d243>
- other: <https://git.kernel.org/stable/c/ccc28e498ef1c6eaaa16e61c6edb52c32a4f14bb>
- other: <https://git.kernel.org/stable/c/22b67b0f59f5a7f4fa1e6043a1987e167c5d06d2>
- other: <https://git.kernel.org/stable/c/813a72beaa5d3f4bb135e0def9b3f07a3511ca0e>
- other: <https://git.kernel.org/stable/c/dca1b51693c81eaf77e50980be373e01ae857394>
- other: <https://git.kernel.org/stable/c/dc0df5a0c62ccea1d0e08d39a4dc9064de81d411>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99127>

HTML: <https://flawdb.com/CVE-2026-99127> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99127>
