{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "317460317a02a1af512697e6e964298dedd8a163"
            },
            {
              "fixed": "c6850945f8da9bc4940b2b1079cc130c0225b31d"
            },
            {
              "fixed": "92b5ce3ca5b7c641e2678f92419aa7833951bc9d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.9.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143324.json"
  },
  "details": "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 \u003e\u003e 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.",
  "id": "CVE-2026-143324",
  "modified": "2026-12-03T10:45:38.143474698Z",
  "published": "2026-12-03T09:21:51.023Z",
  "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/92b5ce3ca5b7c641e2678f92419aa7833951bc9d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c6850945f8da9bc4940b2b1079cc130c0225b31d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143324.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143324"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Don't move a MAP_FIXED address in arena_get_unmapped_area()"
}