Skip to main content
Network Thinking Solutions Logo

CVE-2022-50240

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.

All CVEs
CVE-2022-50240Published 9/15/2025

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.

Vendor advisory
CVSS7.8High

Overview

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
9/15/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.20, < 5.4.224

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.154

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < 27a594bc7a7c8238d239e3cdbcf2edfa3bbe9a1b

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < 015ac18be7de25d17d6e5f1643cb3b60bfbe859e

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < 622ef885a89ad04cfb76ee478fb44f051125d1f1

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < 925e6b6f82c9c80ab3c17acbde8d16f349da7d26

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < 1ec3f76a436d750fd5023caec5da0494fc2870d2

Verify advisory

Source
Linux
Linux
≥ dd2283f2605e3b3e9c61bcae844b34f2afa4813f, < a43cfc87caaf46710c8027a8c23b8a55f1078f19

Verify advisory

Source
Linux
Linux
4.20

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.