{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-53080",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-05-02T15:51:43.549Z",
        "datePublished": "2025-05-02T15:55:29.825Z",
        "dateUpdated": "2026-08-05T09:12:38.067Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:12:38.067Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: Add missing overflow check in xdp_umem_reg\n\nThe number of chunks can overflow u32. Make sure to return -EINVAL on\noverflow. Also remove a redundant u32 cast assigning umem->npgs."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The bug is reached via AF_XDP setsockopt(XDP_UMEM_REG) on a local socket (socket(AF_XDP) → xsk_setsockopt → xdp_umem_create → xdp_umem_reg), not via remote packet processing.\nAC:L - The attacker fully controls umem size and chunk_size; on a large-memory AF_XDP host with sufficient memlock the overflow and subsequent OOB via crafted fill-queue addresses are reliably reproducible with no race or victim-state dependency.\nPR:L - Socket creation only requires ns_capable(net->user_ns, CAP_NET_RAW), which an unprivileged user can obtain in a user+net namespace (unshare -Urn); no init-namespace root is required for the vulnerable registration path.\nUI:N - Exploitation is entirely via the attacker’s own syscalls (socket/setsockopt/bind and ring operations); no victim action is required.\nS:U - Impact is memory corruption within the host kernel’s AF_XDP/umem subsystem and does not cross a VM, IOMMU, or other security authority boundary.\nC:H - Truncated umem->chunks undersizes pool->heads while addrs_cnt remains the full umem size, so xp_alloc indexing via xp_aligned_extract_idx yields out-of-bounds reads of adjacent kernel heap objects.\nI:H - The same heads[] OOB write/use of attacker-influenced xdp_buff_xsk slots is memory corruption that can be leveraged for control-flow hijacking or arbitrary kernel writes.\nA:H - Out-of-bounds heads[] access can oops/panic the kernel, and any such memory-corruption path is scored Availability High."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/xdp/xdp_umem.c"
                    ],
                    "versions": [
                        {
                            "version": "bbff2f321a864ee07c9d3d1245af498023146951",
                            "lessThan": "580634b03a55f04a3c1968bcbd97736c079c6601",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bbff2f321a864ee07c9d3d1245af498023146951",
                            "lessThan": "3cfc3564411acf96bf2fb791f706a1aa4f872c1d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bbff2f321a864ee07c9d3d1245af498023146951",
                            "lessThan": "a069909acc4435eeb41d05ccc03baa447cc01b7e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bbff2f321a864ee07c9d3d1245af498023146951",
                            "lessThan": "bb2e3bfb2a79db0c2057c6f701b782954394c67f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bbff2f321a864ee07c9d3d1245af498023146951",
                            "lessThan": "c7df4813b149362248d6ef7be41a311e27bf75fe",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/xdp/xdp_umem.c"
                    ],
                    "versions": [
                        {
                            "version": "4.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.177",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.105",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.22",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.9",
                            "lessThanOrEqual": "6.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3",
                            "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": "4.18",
                                    "versionEndExcluding": "5.10.177"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.15.105"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.1.22"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.2.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/580634b03a55f04a3c1968bcbd97736c079c6601"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3cfc3564411acf96bf2fb791f706a1aa4f872c1d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a069909acc4435eeb41d05ccc03baa447cc01b7e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bb2e3bfb2a79db0c2057c6f701b782954394c67f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c7df4813b149362248d6ef7be41a311e27bf75fe"
                }
            ],
            "title": "xsk: Add missing overflow check in xdp_umem_reg",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}