{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-98911",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.379Z",
        "datePublished": "2026-10-23T11:54:57.029Z",
        "dateUpdated": "2026-10-24T14:09:31.202Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-24T14:09:31.202Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: fix the error path in dpaa2_switch_rx()\n\nIn case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd()\nfunction is called in order to free the FD. This is incorrect since the\ndpaa2_switch_free_fd() is intended to be used on Tx frame descriptors,\nmeaning that it expects in the software annotation area of the FD data\nto find a valid skb pointer on which to call dev_kfree_skb().\n\nFix this by extracting the dma_unmap_page() from\ndpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx()\nfunction. This allows us to directly use free_pages() in case of an\nerror before an SKB was created and kfree_skb() afterwards."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - An adjacent Ethernet peer can send an oversized or malformed frame to the trapped STP address 01:80:c2:00:00:00; dpaa2_switch_port_trap_mac_addr() redirects it through dpaa2_switch_poll() and dpaa2_switch_store_consume() to dpaa2_switch_rx().\nAC:H - The peer controls frame contents and length but not the resulting FD format directly; the bad cleanup requires a non-single FD under the target's frame-length and page-pool configuration, a surviving runt, allocation failure, or invalid hardware FLC metadata.\nPR:N - The default STP ACL trap accepts link-layer frames without authentication, and the DPIO callback and NAPI receive path perform no credential or capability check before calling dpaa2_switch_rx().\nUI:N - Once the switch port and control interface are operating, receipt of the peer's trapped frame schedules NAPI and invokes dpaa2_switch_rx() automatically, without any victim action.\nS:U - dpaa2_switch_rx() and the erroneous dpaa2_switch_free_fd() cleanup both execute within the host kernel and do not cross a VM, IOMMU, or other security-authority boundary.\nC:H - dpaa2_switch_free_fd() interprets an RX page's opaque software-annotation word as an skb pointer, and skb_tail_pointer() and skb teardown then follow fields through that unrelated address, permitting reads of unintended kernel objects.\nI:H - dev_kfree_skb() can decrement the bogus object's users field and release or free pointers obtained from it, allowing wrong-object refcount changes, invalid frees, and allocator corruption capable of control-flow compromise.\nA:H - The bogus skb pointer can fault immediately in skb_tail_pointer() or during dev_kfree_skb() teardown from the NAPI receive path, causing a kernel oops or panic."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"
                    ],
                    "versions": [
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "791068c962469af0090e1a1ee63657fb9eef40db",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "259ad6093204b999d41e7e6d0ad90ef9a71a44ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "fa232b4496cb59503ae5108c756cbe10e59b0bc3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15.222",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.1.189",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.6.158",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12.111",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18.53",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"
                    ],
                    "versions": [
                        {
                            "version": "5.15.222",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.189",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.158",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.111",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "5.15.222"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.1.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.6.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.12.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/791068c962469af0090e1a1ee63657fb9eef40db"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/259ad6093204b999d41e7e6d0ad90ef9a71a44ab"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fa232b4496cb59503ae5108c756cbe10e59b0bc3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d"
                }
            ],
            "title": "dpaa2-switch: fix the error path in dpaa2_switch_rx()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}