{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143324",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.366Z",
        "datePublished": "2026-12-03T09:21:51.023Z",
        "dateUpdated": "2026-12-03T09:21:51.023Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:21:51.023Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't move a MAP_FIXED address in arena_get_unmapped_area()\n\nThe user range of an arena must not cross a 4 GiB boundary. Thus\narena_get_unmapped_area() asks the mm for 2 * len bytes and rounds the\nresult up if necessary. This is correct only if the mm finds a free range.\nWith MAP_FIXED the mm does no search and returns addr. For\nMAP_FIXED_NOREPLACE, do_mmap() also sets MAP_FIXED.\n\nWith MAP_FIXED the arena is not at addr after round_up(). Thus mmap()\nremoves mappings outside the range from addr to addr + len. It keeps a part\nof those in this range. Also, round_up() can wrap to address 0, and the\ntest for address 0 is before it.\n\nThe arch code gets twice the length of the mapping. Thus it can refuse a\nvalid MAP_FIXED range. On s390 the arch code also grows the page table for\nthe range. With the double length it can omit this step for a valid range.\n\nThe test for a crossing is not exact. Because ret is a long, ret >> 32\nextends the sign, but the other side is unsigned. The sides are never equal\nfor an address with bit 63 set, and round_up() always runs. Such user\naddresses exist on s390. arena_map_alloc() does the same test with a u64.\n\nWith MAP_FIXED, pass len to the mm. Return -EINVAL if the range crosses a\nboundary, as for address 0. Make ret unsigned, so that only these ranges\nget the error. On x86-64, if round_up() gives address 0 today, mmap() now\nfails with -EINVAL or with -ENOMEM from the mm. Today mmap() can also fail\nfor the address after round_up(), for example with -ENOMEM, -EEXIST, -EPERM\nor -EBUSY.\n\nWithout MAP_FIXED the mm must still find a free range of 2 * len bytes\ninside the address space of the task. The range after round_up() is inside\nit, and round_up() cannot wrap. An address with bit 63 set now moves only\nif its range crosses a boundary.\n\nFor an arena, libbpf uses MAP_FIXED only with map_extra, and\narena_map_alloc() refuses a map_extra range that crosses a boundary. A\nsubsequent mmap() must use the range of the first mmap(). For mmap() of the\nmap fd, this range comes from arena_get_unmapped_area(), thus it crosses no\nboundary. arena_map_alloc() still accepts a map_extra above TASK_SIZE, and\nmmap() of such an arena fails."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/arena.c"
                    ],
                    "versions": [
                        {
                            "version": "317460317a02a1af512697e6e964298dedd8a163",
                            "lessThan": "c6850945f8da9bc4940b2b1079cc130c0225b31d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "317460317a02a1af512697e6e964298dedd8a163",
                            "lessThan": "92b5ce3ca5b7c641e2678f92419aa7833951bc9d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/arena.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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": "6.9",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c6850945f8da9bc4940b2b1079cc130c0225b31d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/92b5ce3ca5b7c641e2678f92419aa7833951bc9d"
                }
            ],
            "title": "bpf: Don't move a MAP_FIXED address in arena_get_unmapped_area()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}