{"id":"CVE-2026-90417","aliases":["CVE-2026-90417"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry()\n\nWhen the device is in the fatal error state, write_tpt_entry() returns -EIO\nbefore handing the caller's preallocated skb to the transmit path; its\nallocation-failure returns do the same. c4iw_dereg_mr() ignores the error\nand frees mhp, leaking mhp->dereg_skb. c4iw_get_dma_mr() instead frees the\nskb a second time after dereg_mem() already consumed it, a double free.\n\nMake write_tpt_entry() the sole owner of a non-NULL skb, freeing it on\nevery return preceding handoff to c4iw_ofld_send(): fatal error, tpt and\nstag allocation failure. c4iw_ofld_send() consumes the skb on success and\nerror alike, so drop the redundant kfree_skb() in c4iw_get_dma_mr() after\ndereg_mem().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry()\n\nWhen the device is in the fatal error state, write_tpt_entry() returns -EIO\nbefore handing the caller's preallocated skb to the transmit path; its\nallocation-failure returns do the same. c4iw_dereg_mr() ignores the error\nand frees mhp, leaking mhp->dereg_skb. c4iw_get_dma_mr() instead frees the\nskb a second time after dereg_mem() already consumed it, a double free.\n\nMake write_tpt_entry() the sole owner of a non-NULL skb, freeing it on\nevery return preceding handoff to c4iw_ofld_send(): fatal error, tpt and\nstag allocation failure. c4iw_ofld_send() consumes the skb on success and\nerror alike, so drop the redundant kfree_skb() in c4iw_get_dma_mr() after\ndereg_mem().","source":"cvelist"}],"published":"2026-09-17T16:09:42.342Z","modified":"2026-10-30T13:20:52.660Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"26c6e9bc0b907b880c5d8486291f0452c8227fbe","status":"affected"},{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"68c1d2c085f205e8a5338bc3d3304f897deca4d9","status":"affected"},{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"379cf06e6fe34af980064c6ccaf15d8e26ec4a42","status":"affected"},{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"2fcd26f4680143e9ec477069530548dbe20fce6f","status":"affected"},{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"6b15fc9bc117fb6597fa1c2cc30284aafe71101c","status":"affected"},{"type":"git","introduced":"0f8ab0b6e91b4d5302ceee5ec12ce54d81297635","fixed":"373f3716a2de7adc739269ebb4d87e5bf4dc180c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/26c6e9bc0b907b880c5d8486291f0452c8227fbe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68c1d2c085f205e8a5338bc3d3304f897deca4d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/379cf06e6fe34af980064c6ccaf15d8e26ec4a42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2fcd26f4680143e9ec477069530548dbe20fce6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b15fc9bc117fb6597fa1c2cc30284aafe71101c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/373f3716a2de7adc739269ebb4d87e5bf4dc180c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90417","url":"https://www.cve.org/CVERecord?id=CVE-2026-90417","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:32.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90417","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90417","licence":"Public domain","modified":"2026-10-30T13:20:52.660Z"}],"updatedAt":"2026-11-25T22:59:39.410Z","epss":{"score":0.00219,"percentile":0.13221,"date":"2026-12-01T12:00:22.000Z"}}