{"id":"CVE-2026-90115","aliases":["CVE-2026-90115"],"related":[],"kind":"vulnerability","state":"published","title":"xsk: fix NULL pointer dereference in __xsk_rcv()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: fix NULL pointer dereference in __xsk_rcv()\n\nIn the __xsk_rcv() multi-buffer path, xsk_buff_alloc() is called in a\nloop without checking its return value. xsk_buff_can_alloc() only\ncounts fill queue entries without validating their addresses, so it\ncan succeed while xsk_buff_alloc() rejects all remaining entries and\nreturns NULL.\n\n  Oops: general protection fault, probably for non-canonical address\n   0xdffffc0000000000\n  KASAN: null-ptr-deref in range\n   [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:__xsk_rcv+0x426/0xc20 (net/xdp/xsk.c:350)\n  Call Trace:\n   xsk_generic_rcv+0x26d/0x5f0\n   xdp_do_generic_redirect+0x3c5/0xcf0\n   do_xdp_generic+0x92f/0xe70\n   __netif_receive_skb_core.constprop.0+0xf7e/0x2b30\n\nFix this with a two-stage transaction. First allocate and stage all\nbuffers required for the packet, recycling all staged buffers with\nxsk_buff_free() if any allocation fails. Only after this stage\nsucceeds, copy the data, reserve the RX descriptors, and release the\nbuffers in an error-free loop.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: fix NULL pointer dereference in __xsk_rcv()\n\nIn the __xsk_rcv() multi-buffer path, xsk_buff_alloc() is called in a\nloop without checking its return value. xsk_buff_can_alloc() only\ncounts fill queue entries without validating their addresses, so it\ncan succeed while xsk_buff_alloc() rejects all remaining entries and\nreturns NULL.\n\n  Oops: general protection fault, probably for non-canonical address\n   0xdffffc0000000000\n  KASAN: null-ptr-deref in range\n   [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:__xsk_rcv+0x426/0xc20 (net/xdp/xsk.c:350)\n  Call Trace:\n   xsk_generic_rcv+0x26d/0x5f0\n   xdp_do_generic_redirect+0x3c5/0xcf0\n   do_xdp_generic+0x92f/0xe70\n   __netif_receive_skb_core.constprop.0+0xf7e/0x2b30\n\nFix this with a two-stage transaction. First allocate and stage all\nbuffers required for the packet, recycling all staged buffers with\nxsk_buff_free() if any allocation fails. Only after this stage\nsucceeds, copy the data, reserve the RX descriptors, and release the\nbuffers in an error-free loop.","source":"cvelist"}],"published":"2026-09-17T16:06:21.376Z","modified":"2026-10-19T09:19:00.970Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"804627751b4281dd95148e7564759145da67855e","fixed":"aaebce297efc3e3dccb98a6ff838cfaa47db08db","status":"affected"},{"type":"git","introduced":"804627751b4281dd95148e7564759145da67855e","fixed":"60d7d3559ce66e227e195e9463cdfed8077c8659","status":"affected"},{"type":"git","introduced":"804627751b4281dd95148e7564759145da67855e","fixed":"214fb79b0379cb0214905632a2537c0c33f594eb","status":"affected"},{"type":"git","introduced":"804627751b4281dd95148e7564759145da67855e","fixed":"8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194","status":"affected"},{"type":"git","introduced":"804627751b4281dd95148e7564759145da67855e","fixed":"e37b2abca80473e106176e41712a369fd2f72117","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","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/aaebce297efc3e3dccb98a6ff838cfaa47db08db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60d7d3559ce66e227e195e9463cdfed8077c8659","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/214fb79b0379cb0214905632a2537c0c33f594eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e37b2abca80473e106176e41712a369fd2f72117","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90115","url":"https://www.cve.org/CVERecord?id=CVE-2026-90115","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:13.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90115","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90115","licence":"Public domain","modified":"2026-10-19T09:19:00.970Z"}],"updatedAt":"2026-11-25T22:59:39.308Z","epss":{"score":0.00206,"percentile":0.1117,"date":"2026-12-01T12:00:22.000Z"}}