Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-56556 — kernel

🟠 CVSS 7.0 — High ✅ No Known Exploit NVD
7.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

binder: fix node UAF in binder_add_freeze_work()

In the Linux kernel, the following vulnerability has been resolved:

binder: fix node UAF in binder_add_freeze_work()

In binder_add_freeze_work() we iterate over the proc->nodes with the

proc->inner_lock held. However, this lock is temporarily dropped in

order to acquire the node->lock first (lock nesting order). This can

race with binder_node_release() and trigger a use-after-free:

==================================================================

BUG: KASAN: slab-use-after-free in _raw_spin_lock+0xe4/0x19c

Write of size 4 at addr ffff53c04c29dd04 by task freeze/640

CPU: 5 UID: 0 PID: 640 Comm: freeze Not tainted 6.11.0-07343-ga727812a8d45 #17

Hardware name: linux,dummy-virt (DT)

Call trace:

_raw_spin_lock+0xe4/0x19c

binder_add_freeze_work+0x148/0x478

binder_ioctl+0x1e70/0x25ac

__arm64_sys_ioctl+0x124/0x190

Allocated by task 637:

__kmalloc_cache_noprof+0x12c/0x27c

binder_new_node+0x50/0x700

binder_transaction+0x35ac/0x6f74

binder_thread_write+0xfb8/0x42a0

binder_ioctl+0x18f0/0x25ac

__arm64_sys_ioctl+0x124/0x190

Freed by task 637:

kfree+0xf0/0x330

binder_thread_read+0x1e88/0x3a68

binder_ioctl+0x16d8/0x25ac

__arm64_sys_ioctl+0x124/0x190

==================================================================

Fix the race by taking a temporary reference on the node before

releasing the proc->inner lock. This ensures the node remains alive

while in use.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2024-56556 is recorded against 3 packages.

  • :linux-kernel: (from :0 up to :2025-04-05)
  • kernel (from 6.12.0 up to 6.12.4)
  • linux-kernel (from 6.12 up to 6.12.4)

Timeline and source

Published on 1 April 2025 and last revised on 20 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

source.android.com (Advisory)
android.googlesource.com (Fix)
android.googlesource.com (Fix)

Other advisories for this package

:linux-kernel: has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-56556 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 7.0
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-04-01
Updated 2026-08-20
Modified 2026-08-20

Affected Packages

Software From version Fixed in
:linux-kernel: :0 :2025-04-05
kernel 6.12.0 6.12.4
linux-kernel 6.12 6.12.4

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2024-56556 is rated CVSS 7.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓