{"id":"CVE-2026-90115","summary":"xsk: fix NULL pointer dereference in __xsk_rcv()","details":"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.","modified":"2026-09-19T03:47:24.742961574Z","published":"2026-09-17T16:06:21.376Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90115.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/214fb79b0379cb0214905632a2537c0c33f594eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60d7d3559ce66e227e195e9463cdfed8077c8659"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aaebce297efc3e3dccb98a6ff838cfaa47db08db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e37b2abca80473e106176e41712a369fd2f72117"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90115.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90115"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"804627751b4281dd95148e7564759145da67855e"},{"fixed":"aaebce297efc3e3dccb98a6ff838cfaa47db08db"},{"fixed":"60d7d3559ce66e227e195e9463cdfed8077c8659"},{"fixed":"214fb79b0379cb0214905632a2537c0c33f594eb"},{"fixed":"8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194"},{"fixed":"e37b2abca80473e106176e41712a369fd2f72117"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90115.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90115.json"}}],"schema_version":"1.9.0"}