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

CVE-2026-23377
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 < f2b29bbe355221a65c3eccf9500e5e33e4f1cb5c
affected : ≥ 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 < 6aed180a44b1c0a3971107fa052a41b03acdb31e
affected : ≥ 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 < 2a2927e95cf1b8efb15bcb741bbd06c9bb0537b7
affected : ≥ 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 < b0f05100e8795aadd1c0606bae9caefbda070d63
affected : ≥ 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 < e142dc4ef0f451b7ef99d09aaa84e9389af629d7
Other versions : unaffected
Linux · Linux
affected : 6.3
unaffected : ≥ 0 < 6.3
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.60 ≤ 6.18.*
unaffected : ≥ 6.19.7 ≤ 6.19.*
unaffected : ≥ 7.0 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD