CVE-2024-35901 Information
Description
In the Linux kernel the following vulnerability has been resolved:
net: mana: Fix Rx DMA datasize and skb_over_panic
mana_get_rxbuf_cfg() aligns the RX buffer’s DMA datasize to be multiple of 64. So a packet slightly bigger than mtu+14 say 1536 can be received and cause skb_over_panic.
Sample dmesg:
[ 5325.237162] skbuff: skb_over_panic: text:ffffffffc043277a len:1536 put:1536 head:ff1100018b517000 data:ff1100018b517100 tail:0x700 end:0x6ea dev:
As discussed internally this alignment is not necessary. To fix this bug remove it from the code. So oversized packets will be marked as CQE_RX_TRUNCATED by NIC and dropped.
Reference
https://git.kernel.org/stable/c/ca58927b00385005f488b6a9905ced7a4f719aad https://git.kernel.org/stable/c/05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b https://git.kernel.org/stable/c/c0de6ab920aafb56feab56058e46b688e694a246
Share on: