{"id":"CVE-2026-143198","summary":"net: ena: Keep the RX buffer mapped if skb allocation fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ena: Keep the RX buffer mapped if skb allocation fails\n\nWe are seeing the following issue in production on arm64 EC2 hosts\n(m8g.metal-24xl, 64K pages, SMMUv3 in strict mode, 6.18 based kernel).\nRight after a global OOM, the SMMU reports F_TRANSLATION write faults\nfrom the ENA device, followed by a burst of:\n\n  WARNING: CPU: 48 PID: 1656834 at drivers/iommu/dma-iommu.c:1242 iommu_dma_unmap_phys+0xf4/0x108\n  Call trace:\n   iommu_dma_unmap_phys+0xf4/0x108 (P)\n   dma_unmap_phys+0x194/0x2a8\n   dma_unmap_page_attrs+0x1c/0x38\n   ena_io_poll+0x7bc/0x1790 [ena]\n   __napi_poll+0x54/0x220\n   net_rx_action+0x250/0x520\n\nena_rx_skb() unmaps the RX buffer, or takes an extra page reference to\nreuse it, before napi_build_skb() allocates the skb. If the allocation\nfails, it returns NULL with rx_info-\u003epage still set. ena_clean_rx_irq()\nthen puts the req_id back on the free list, and ena_alloc_rx_buffer()\ntreats the buffer as still mapped and posts its old DMA address to the\ndevice again.\n\nWith the IOMMU in strict mode, the device then writes to an unmapped\nIOVA, and the next completion of that buffer unmaps it a second time.\nIf the IOVA was handed to a new mapping in between, the device can\nwrite into that buffer instead. On the reuse path, the extra page\nreference is never dropped.\n\nAllocate the skb before touching rx_info, so that a failed allocation\nleaves the buffer mapped and unchanged for the refill.","modified":"2026-12-03T11:01:36.523616367Z","published":"2026-12-03T09:20:24.386Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143198.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2601df068c0d845ea22d1ca98863dc4ce94e0621"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38be80261cd5d277b8c4c59c9d5cda241dda13a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e8e22a1007a6337ba2400b3ea87077947005c20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c7a0768a9465fe056e16ea36b76b7ef8b59ed84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5d148ebbd4f548760dde16d85b0634449f86abf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143198.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143198"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9e5269a915a8e3d6f4bae5641451737e9cca70c0"},{"fixed":"38be80261cd5d277b8c4c59c9d5cda241dda13a9"},{"fixed":"8c7a0768a9465fe056e16ea36b76b7ef8b59ed84"},{"fixed":"f5d148ebbd4f548760dde16d85b0634449f86abf"},{"fixed":"2601df068c0d845ea22d1ca98863dc4ce94e0621"},{"fixed":"3e8e22a1007a6337ba2400b3ea87077947005c20"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143198.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143198.json"}}],"schema_version":"1.9.2"}