{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143198",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.359Z",
        "datePublished": "2026-12-03T09:20:24.386Z",
        "dateUpdated": "2026-12-04T03:30:42.680Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:30:42.680Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->page 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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
                        "baseScore": 7.4,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - ena_intr_msix_io() schedules ena_io_poll(), which calls ena_clean_rx_irq() and ena_rx_skb() for a frame ena_com_rx_pkt() completed. The frame is not malformed; when napi_build_skb() fails, ena_refill_rx_bufs() reposts the unmapped IOVA via ena_com_add_single_rx_desc(), and the ENA device DMA-writes the next received Ethernet frame into that address.\nAC:H - The unmap-before-fail path runs only when ena_alloc_skb() gets NULL from napi_build_skb(), which fails only if napi_skb_cache_get() cannot bulk-allocate an sk_buff with GFP_ATOMIC. That is the global-OOM state in the fix report; a remote sender cannot force it, because RX queue and socket memory stay bounded.\nPR:N - The receive path from ena_intr_msix_io() to ena_rx_skb() checks no credential and no capability before ena_unmap_rx_buff_attrs(). Any host that can deliver an IP frame to the ENA interface reaches it.\nUI:N - ena_clean_rx_irq() runs from NAPI on device completion and does not require a user to mount media, open a file, or accept a prompt.\nS:U - The recycled IOVA and the page the device writes stay in the IOMMU domain of the ENA PCI device owned by this kernel. The bug does not cross into a hypervisor or another guest.\nC:N - On the failing call ena_rx_skb() returns NULL before any skb is attached, and the later completion still builds from rx_info->page, the original buffer, while the device write lands on the recycled IOVA. That path never copies the recycled page back to the sender.\nI:H - If reuse fails, ena_rx_skb() unmaps via ena_unmap_rx_buff_attrs() and returns NULL with rx_info->page still set, so ena_alloc_rx_buffer() skips remapping and ena_com_add_single_rx_desc() posts the old ena_buf.paddr and page-sized length. A reused IOVA is overwritten with the next frame, and the next completion unmaps the new owner in iommu_dma_unmap_phys().\nA:H - The reposted IOVA produces the SMMU F_TRANSLATION write fault and the WARN_ON(!phys) in iommu_dma_unmap_phys() called from ena_io_poll() on the double unmap. Overwriting and then unmapping the recycled page corrupts a live DMA mapping and can oops the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/amazon/ena/ena_netdev.c"
                    ],
                    "versions": [
                        {
                            "version": "9e5269a915a8e3d6f4bae5641451737e9cca70c0",
                            "lessThan": "38be80261cd5d277b8c4c59c9d5cda241dda13a9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e5269a915a8e3d6f4bae5641451737e9cca70c0",
                            "lessThan": "8c7a0768a9465fe056e16ea36b76b7ef8b59ed84",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e5269a915a8e3d6f4bae5641451737e9cca70c0",
                            "lessThan": "f5d148ebbd4f548760dde16d85b0634449f86abf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e5269a915a8e3d6f4bae5641451737e9cca70c0",
                            "lessThan": "2601df068c0d845ea22d1ca98863dc4ce94e0621",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e5269a915a8e3d6f4bae5641451737e9cca70c0",
                            "lessThan": "3e8e22a1007a6337ba2400b3ea87077947005c20",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/amazon/ena/ena_netdev.c"
                    ],
                    "versions": [
                        {
                            "version": "5.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/38be80261cd5d277b8c4c59c9d5cda241dda13a9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8c7a0768a9465fe056e16ea36b76b7ef8b59ed84"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f5d148ebbd4f548760dde16d85b0634449f86abf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2601df068c0d845ea22d1ca98863dc4ce94e0621"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3e8e22a1007a6337ba2400b3ea87077947005c20"
                }
            ],
            "title": "net: ena: Keep the RX buffer mapped if skb allocation fails",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}