ice: change XDP RxQ frag_size from DMA write length to xdp.frame_sz
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.19.7, Kernel 6aed180a44b1c0a3971107fa052a41b03acdb31e, Kernel b0f05100e8795aadd1c0606bae9caefbda070d63 and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.3 <6.19.7, =7.0, >=2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 <6aed180a44b1c0a3971107fa052a41b03acdb31e, >=2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 <b0f05100e8795aadd1c0606bae9caefbda070d63, >=2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 <e142dc4ef0f451b7ef99d09aaa84e9389af629d7, >=2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 <f2b29bbe355221a65c3eccf9500e5e33e4f1cb5c, =6.3, >=2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 <2a2927e95cf1b8efb15bcb741bbd06c9bb0537b7 | 6.19.7, 6aed180a44b1c0a3971107fa052a41b03acdb31e, b0f05100e8795aadd1c0606bae9caefbda070d63, e142dc4ef0f451b7ef99d09aaa84e9389af629d7, f2b29bbe355221a65c3eccf9500e5e33e4f1cb5c, 2a2927e95cf1b8efb15bcb741bbd06c9bb0537b7 |
| linux-kernel: Kernel | >=6.13.0 <6.18.60, >=6.19.0 <6.19.7, >=6.3.0 <6.6.160, >=6.7.0 <6.12.114 | 6.18.60, 6.19.7, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket