UBUNTU-CVE-2026-90417: Double Free
In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Fix deregskb leak and double free in writetptentry() When the device is in the fatal error state, writetptentry() returns -EIO before handing the caller's preallocated skb to the transmit path; its allocation-failure returns do the same. c4iwderegmr() ignores the error and frees mhp, leaking mhp->deregskb. c4iwgetdmamr() instead frees the skb a second time after deregmem() already consumed it, a double free. Make writetptentry() the sole owner of a non-NULL skb, freeing it on every return preceding handoff to c4iwofldsend(): fatal error, tpt and stag allocation failure. c4iwofldsend() consumes the skb on success and error alike, so drop the redundant kfreeskb() in c4iwgetdmamr() after deregmem().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1