{"id":"CVE-2026-139355","aliases":["CVE-2026-139355"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Hold netdev reference for transmit skbs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Hold netdev reference for transmit skbs\n\nrxe_init_packet() assigns skb->dev from an RCU-protected GID attribute\nwithout holding a netdev reference. If the netdev is unregistered before\nthe skb is freed, subsequent accesses to skb->dev are unsafe.\n\nHold a reference with dev_hold() when the skb is initialized and release\nit from the transmit destructor or via rxe_put_skb() on error paths that\nrun before the destructor is installed.\n\nskb->dev can change on the TX path (VLAN/bond/tunnel, ip_finish_output2,\netc.), so put must use the same netdev that was held. Stash that pointer\nin skb_shinfo()->destructor_arg: skb->cb is already used by\nrxe_pkt_info and is rewritten by IP control blocks.\n\nTo avoid blocking netdev unregistration on held skbs, flush all QPs to\nthe error state on NETDEV_GOING_DOWN and NETDEV_UNREGISTER so pending TX\nwork is drained and references can be dropped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Hold netdev reference for transmit skbs\n\nrxe_init_packet() assigns skb->dev from an RCU-protected GID attribute\nwithout holding a netdev reference. If the netdev is unregistered before\nthe skb is freed, subsequent accesses to skb->dev are unsafe.\n\nHold a reference with dev_hold() when the skb is initialized and release\nit from the transmit destructor or via rxe_put_skb() on error paths that\nrun before the destructor is installed.\n\nskb->dev can change on the TX path (VLAN/bond/tunnel, ip_finish_output2,\netc.), so put must use the same netdev that was held. Stash that pointer\nin skb_shinfo()->destructor_arg: skb->cb is already used by\nrxe_pkt_info and is rewritten by IP control blocks.\n\nTo avoid blocking netdev unregistration on held skbs, flush all QPs to\nthe error state on NETDEV_GOING_DOWN and NETDEV_UNREGISTER so pending TX\nwork is drained and references can be dropped.","source":"cvelist"}],"published":"2026-11-30T13:33:59.657Z","modified":"2026-12-01T06:17:43.277Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"e04100461ab819f13350de4c51c324f1c2223f0c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"acf8eb1a285c4ee840fdd4c77d573c791e96402b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"3e582711768f88c296b06624a319b18dc26f450b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"357bb10d3fdd35c7c8023796e5d96197b19b2cbf","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"19881618ffa454c63e6b6bf34acd7cac28c695dc","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.119","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18.65","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/e04100461ab819f13350de4c51c324f1c2223f0c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acf8eb1a285c4ee840fdd4c77d573c791e96402b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e582711768f88c296b06624a319b18dc26f450b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/357bb10d3fdd35c7c8023796e5d96197b19b2cbf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19881618ffa454c63e6b6bf34acd7cac28c695dc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139355","url":"https://www.cve.org/CVERecord?id=CVE-2026-139355","licence":"CVE Terms of Use","modified":"2026-12-01T05:42:26.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139355","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139355","licence":"Public domain","modified":"2026-12-01T06:17:43.277Z"}],"updatedAt":"2026-12-01T06:32:20.970Z","epss":{"score":0.00165,"percentile":0.05984,"date":"2026-12-01T12:00:22.000Z"}}