{
  "cveId": "CVE-2022-50240",
  "url": "https://patchblox.com/security/cve/CVE-2022-50240",
  "summary": "CVE-2022-50240 is fixed in 20 products on 1 platform, first by ALAS2023-2023-228, released June 21, 2023. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  android: binder: stop saving a pointer to the VM...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  android: binder: stop saving a pointer to the VMA  Do not record a pointer to a VMA outside of the mmap_lock for later use.  This is unsafe and there are a number of failure paths *after* the recorded VMA pointer may be freed during setup.  There is no callback to the driver to clear the saved pointer from generic mm code.  Furthermore, the VMA pointer may become stale if any number of VMA operations end up freeing the VMA so saving it was fragile to being with.  Instead, change the binder_alloc struct to record the start address of the VMA and use vma_lookup() to get the vma when needed.  Add lockdep mmap_lock checks on updates to the vma pointer to ensure the lock is held and depend on that lock for synchronization of readers and writers - which was already the case anyways, so the smp_wmb()/smp_rmb() was not necessary.  [akpm@linux-foundation.org: fix drivers/android/binder_alloc_selftest.c]",
  "published": "2023-06-21T19:11:00Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00168,
  "epssPercentile": 0.06171,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "bpftool",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "bpftool-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-aarch64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-x86_64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-headers",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-static",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-6.1.34-56.100",
      "release": "amzn 2023",
      "fixedVersion": "1.0-0.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.19.6-1",
      "fix": "DEBIAN-CVE-2022-50240",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50240",
      "released": "2025-09-15T14:15:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.19.6-1",
      "fix": "DEBIAN-CVE-2022-50240",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50240",
      "released": "2025-09-15T14:15:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.19.6-1",
      "fix": "DEBIAN-CVE-2022-50240",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50240",
      "released": "2025-09-15T14:15:34Z"
    },
    {
      "platform": "linux",
      "product": "perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.34-56.100.amzn2023",
      "fix": "ALAS2023-2023-228",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-228",
      "released": "2023-06-21T19:11:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}