PT-2023-9102 · Linux+5 · Linux Kernel+5

Carlos Llamas

·

Published

2023-12-05

·

Updated

2025-09-29

·

CVE-2023-52438

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.0-rc5
Description The issue is related to a use-after-free vulnerability in the binder driver's shrinker callback. The mmap read lock is used during the shrinker's callback, which can lead to a race condition with munmap(). This vulnerability can be exploited to impact the confidentiality, integrity, and availability of protected information. The vulnerability was confirmed by a KASAN report, which showed a slab-use-after-free in zap page range single.
Recommendations To resolve this issue, perform a vma lookup() instead, which will fail to find the vma that was isolated before the mmap lock downgrade. This option has better performance than upgrading to a mmap write lock, which would increase contention. Additionally, mmap write trylock() has been recently removed.
Note: The provided information does not specify the exact version that contains the fix for this vulnerability. Therefore, it is recommended to update to the latest version of the Linux kernel to ensure you have the latest security patches.

Exploit

Fix

Race Condition

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-17576
ALT-PU-2024-3291
ALT-PU-2024-4263
ALT-PU-2024-4623
ALT-PU-2024-4843
BDU:2024-03705
CVE-2023-52438
DLA-3841-1
OESA-2024-1244
OESA-2024-1283
OESA-2024-1284
OESA-2024-1285
USN-6688-1
USN-6724-1
USN-6724-2
USN-6725-1
USN-6725-2
USN-6726-1
USN-6726-2
USN-6726-3

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu