CVE-2026-23377

MEDIUM

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

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (10)
linux/Kernel 6.3.0 - 6.19.7linux
Linux/Linux < 6.3
Linux/Linux 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 - b0f05100e8795aadd1c0606bae9caefbda070d63
Linux/Linux 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 - e142dc4ef0f451b7ef99d09aaa84e9389af629d7
Linux/Linux 6.19.7 - 6.19.*
Linux/Linux 6.3
Linux/Linux 7.0
Linux/Linux 7.0-rc3
linux/linux_kernel 7.0 rc1 (2 CPE variants)
linux/linux_kernel 6.3 - 6.19.7
Published Mar 25, 2026
Tracked Since Mar 25, 2026