Linux Kernel up to 5.19.7 binder binder_deferred_release use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Linux Kernel up to 5.19.7. The impacted element is the function binder_deferred_release of the component binder. The manipulation results in use after free. This vulnerability is cataloged as CVE-2022-49939. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.19.7. Affected is the function binder_deferred_release of the component binder. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: binder: fix UAF of ref->proc caused by race condition A transaction of type BINDER_TYPE_WEAK_HANDLE can fail to increment the reference for a node. In this case, the target proc normally releases the failed reference upon close as expected. However, if the target is dying in parallel the call will race with binder_deferred_release(), so the target could have released all of its references by now leaving the cleanup of the new failed reference unhandled. The transaction then ends and the target proc gets released making the ref->proc now a dangling pointer. Later on, ref->node is closed and we attempt to take spin_lock(&ref->proc->inner_lock), which leads to the use-after-free bug reported below. Let's fix this by cleaning up the failed reference on the spot instead of relying on the target to do so. ================================================================== BUG: KASAN: use-after-free in _raw_spin_lock+0xa8/0x150 Write of size 4 at addr ffff5ca207094238 by task kworker/1:0/590 CPU: 1 PID: 590 Comm: kworker/1:0 Not tainted 5.19.0-rc8 #10 Hardware name: linux,dummy-virt (DT) Workqueue: events binder_deferred_func Call trace: dump_backtrace.part.0+0x1d0/0x1e0 show_stack+0x18/0x70 dump_stack_lvl+0x68/0x84 print_report+0x2e4/0x61c kasan_report+0xa4/0x110 kasan_check_range+0xfc/0x1a4 __kasan_check_write+0x3c/0x50 _raw_spin_lock+0xa8/0x150 binder_deferred_func+0x5e0/0x9b0 process_one_work+0x38c/0x5f0 worker_thread+0x9c/0x694 kthread+0x188/0x190 ret_from_fork+0x10/0x20

The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2022-49939 since 05/01/2025. The exploitability is told to be easy. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 11/19/2025).

The vulnerability scanner Nessus provides a plugin with the ID 246997 (Linux Distros Unpatched Vulnerability : CVE-2022-49939), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.14.293, 4.19.258, 5.4.213, 5.10.142, 5.15.66 or 5.19.8 eliminates this vulnerability. Applying the patch 229f47603dd306bc0eb1a831439adb8e48bb0eae/06e5b43ca4dab06a92bf4c2f33766e6fb11b880a/30d0901b307f27d36b2655fb3048cf31ee0e89c0/9629f2dfdb1dad294b468038ff8e161e94d0b609/c2a4b5dc8fa71af73bab704d0cac42ac39767ed6/603a47f2ae56bf68288784d3c0a8c5b8e0a827ed/a0e44c64b6061dda7e00b7c458e4523e2331b739 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (246997), EUVD (EUVD-2022-55189) and CERT Bund (WID-SEC-2025-1350). Once again VulDB remains the best source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Avamar
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.3

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.0
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 246997
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-49939

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.14.293/4.19.258/5.4.213/5.10.142/5.15.66/5.19.8
Patch: 229f47603dd306bc0eb1a831439adb8e48bb0eae/06e5b43ca4dab06a92bf4c2f33766e6fb11b880a/30d0901b307f27d36b2655fb3048cf31ee0e89c0/9629f2dfdb1dad294b468038ff8e161e94d0b609/c2a4b5dc8fa71af73bab704d0cac42ac39767ed6/603a47f2ae56bf68288784d3c0a8c5b8e0a827ed/a0e44c64b6061dda7e00b7c458e4523e2331b739

Timelineinfo

05/01/2025 🔍
06/18/2025 +48 days 🔍
06/18/2025 +0 days 🔍
11/19/2025 +154 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49939 (🔍)
GCVE (CVE): GCVE-0-2022-49939
GCVE (VulDB): GCVE-100-312924
EUVD: 🔍
CERT Bund: WID-SEC-2025-1350 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 06/18/2025 14:24
Updated: 11/19/2025 09:45
Changes: 06/18/2025 14:24 (59), 06/18/2025 14:37 (1), 07/17/2025 14:01 (7), 07/29/2025 01:05 (1), 08/10/2025 04:25 (2), 09/08/2025 01:18 (1), 09/16/2025 12:34 (1), 10/01/2025 09:17 (1), 11/15/2025 04:17 (12), 11/19/2025 09:45 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!