CVE-2022-49947
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's binder driver occurs because the code attempts to acquire a memory map lock (mmap_lock) using a pointer (alloc->vma_vm_mm) that has not been initialized yet, leading to a null-pointer dereference. This happens if a binder process receives a transaction without having previously set up its allocation space via mmap(), or when dumping debugfs binder stats. The issue was fixed by ensuring the alloc->vma_vm_mm pointer is properly set during open(), guaranteeing a valid reference for locking.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash due to a null-pointer dereference, potentially leading to denial of service. It may affect system stability and reliability, especially on systems using the binder driver for inter-process communication.
What immediate steps should I take to mitigate this vulnerability?
Apply the fix that sets up the alloc->vma_vm_mm pointer during open() and caches it directly from current->mm to ensure a valid reference for mmap_lock. This prevents null-pointer dereference issues described. Essentially, update your Linux kernel to a version that includes this fix.