{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40159","published":"2025-11-12T11:15:46Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40159/","html_en":"/en/cve/CVE-2025-40159/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40159","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40159"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: Harden userspace-supplied xdp_desc validation\n\nTurned out certain clearly invalid values passed in xdp_desc from\nuserspace can pass xp_{,un}aligned_validate_desc() and then lead\nto UBs or just invalid frames to be queued for xmit.\n\ndesc->len close to ``U32_MAX`` with a non-zero pool->tx_metadata_len\ncan cause positive integer overflow and wraparound, the same way low\nenough desc->addr with a non-zero pool->tx_metadata_len can cause\nnegative integer overflow. Both scenarios can then pass the\nvalidation successfully.\nThis doesn't happen with valid XSk applications, but can be used\nto perform attacks.\n\nAlways promote desc->len to ``u64`` first to exclude positive\noverflows of it. Use explicit check_{add,sub}_overflow() when\nvalidating desc->addr (which is ``u64`` already).\n\nbloat-o-meter reports a little growth of the code size:\n\nadd/remove: 0/0 grow/shrink: 2/1 up/down: 60/-16 (44)\nFunction                                     old     new   delta\nxskq_cons_peek_desc                          299     330     +31\nxsk_tx_peek_release_desc_batch               973    1002     +29\nxsk_generic_xmit                            3148    3132     -16\n\nbut hopefully this doesn't hurt the performance much.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/07ca98f906a403637fc5e513a872a50ef1247f3b","tags":[]},{"url":"https://git.kernel.org/stable/c/1463cd066f32efd56ddfd3ac4e3524200f362980","tags":[]},{"url":"https://git.kernel.org/stable/c/5b5fffa7c81e55d8c8edf05ad40d811ec7047e21","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:21102-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621102-1/","published":"2026-04-13T09:00:51+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 2 for SUSE Linux Enterprise 16)"}},{"source":"suse","id":"SUSE-SU-2026:21221-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621221-1/","published":"2026-04-13T09:00:51+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 2 for SUSE Linux Enterprise 16)"}},{"source":"suse","id":"SUSE-SU-2026:21099-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621099-1/","published":"2026-04-13T02:46:56+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 1 for SUSE Linux Enterprise 16)"}}]}