CVE-2026-23377 PUBLISHED

ice: change XDP RxQ frag_size from DMA write length to xdp.frame_sz

Assigner: Linux
Reserved: 13.01.2026 Published: 25.03.2026 Updated: 25.03.2026

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

ice: change XDP RxQ frag_size from DMA write length to xdp.frame_sz

The only user of frag_size field in XDP RxQ info is bpf_xdp_frags_increase_tail(). It clearly expects whole buff size instead of DMA write size. Different assumptions in ice driver configuration lead to negative tailroom.

This allows to trigger kernel panic, when using XDP_ADJUST_TAIL_GROW_MULTI_BUFF xskxceiver test and changing packet size to 6912 and the requested offset to a huge value, e.g. XSK_UMEM__MAX_FRAME_SIZE * 100.

Due to other quirks of the ZC configuration in ice, panic is not observed in ZC mode, but tailroom growing still fails when it should not.

Use fill queue buffer truesize instead of DMA write size in XDP RxQ info. Fix ZC mode too by using the new helper.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 to b0f05100e8795aadd1c0606bae9caefbda070d63 (excl.)
  • affected from 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 to e142dc4ef0f451b7ef99d09aaa84e9389af629d7 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.3 is affected
  • unaffected from 0 to 6.3 (excl.)
  • unaffected from 6.19.7 to 6.19.* (incl.)
  • unaffected from 7.0-rc3 to * (incl.)

References