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:<NULL> [ 5325.243689] ------------[ cut here ]------------ [
5325.245748] kernel BUG at net/core/skbuff.c:192! [ 5325.247838] invalid
opcode: 0000 [#1] PREEMPT SMP NOPTI [ 5325.258374] RIP:
0010:skb_panic+0x4f/0x60 [ 5325.302941] Call Trace: [ 5325.304389] <IRQ> [
5325.315794] ? skb_panic+0x4f/0x60 [ 5325.317457] ?
asm_exc_invalid_op+0x1f/0x30 [ 5325.319490] ? skb_panic+0x4f/0x60 [
5325.321161] skb_put+0x4e/0x50 [ 5325.322670] mana_poll+0x6fa/0xb50 [mana]
[ 5325.324578] __napi_poll+0x33/0x1e0 [ 5325.326328]
net_rx_action+0x12e/0x280 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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 24.04 | noarch | linux | < 6.8.0-38.38 | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < 6.8.0-1011.12 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws-6.5 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < 5.15.0-1068.77 | UNKNOWN |
ubuntu | 23.10 | noarch | linux-azure | < 6.5.0-1023.24 | UNKNOWN |
ubuntu | 24.04 | noarch | linux-azure | < 6.8.0-1009.9 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure-5.15 | < 5.15.0-1068.77~20.04.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure-6.5 | < 6.5.0-1023.24~22.04.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure-fde | < 5.15.0-1068.77.1 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure-fde-5.15 | < 5.15.0-1068.77~20.04.1.1 | UNKNOWN |
git.kernel.org/linus/c0de6ab920aafb56feab56058e46b688e694a246 (6.9-rc3)
git.kernel.org/stable/c/05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b
git.kernel.org/stable/c/c0de6ab920aafb56feab56058e46b688e694a246
git.kernel.org/stable/c/ca58927b00385005f488b6a9905ced7a4f719aad
launchpad.net/bugs/cve/CVE-2024-35901
nvd.nist.gov/vuln/detail/CVE-2024-35901
security-tracker.debian.org/tracker/CVE-2024-35901
ubuntu.com/security/notices/USN-6874-1
ubuntu.com/security/notices/USN-6875-1
ubuntu.com/security/notices/USN-6893-1
ubuntu.com/security/notices/USN-6893-2
ubuntu.com/security/notices/USN-6893-3
ubuntu.com/security/notices/USN-6898-1
ubuntu.com/security/notices/USN-6898-3
ubuntu.com/security/notices/USN-6917-1
ubuntu.com/security/notices/USN-6918-1
www.cve.org/CVERecord?id=CVE-2024-35901