Kernel memory corruption via stale Binder VMA pointer
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in the Linux kernel Binder driver allows local users to corrupt kernel memory through concurrent Binder and munmap operations. The binder_update_page_range function reads alloc->vma while munmap can detach and free that VMA under only a shared mmap lock, leaving vm_insert_page to dereference stale memory. The CNA rejected this identifier after assigning the issue to CVE-2022-50240; triggering requires local Binder access and can crash the kernel or compromise kernel memory.
Summary
What happened
Use-after-free in the Linux kernel Binder driver allows local users to corrupt kernel memory through concurrent Binder and munmap operations. The binder_update_page_range function reads alloc->vma while munmap can detach and free that VMA under only a shared mmap lock, leaving vm_insert_page to dereference stale memory. The CNA rejected this identifier after assigning the issue to CVE-2022-50240; triggering requires local Binder access and can crash the kernel or compromise kernel memory.
The record
- CVE
- CVE-2022-50338
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.20
- Affected versionversion=dd2283f2605e3b3e9c61bcae844b34f2afa4813f <27a594bc7a7c8238d239e3cdbcf2edfa3bbe9a1b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo