CVE-2023-52438
7.8 · HIGHIn the Linux kernel, the following vulnerability has been resolved: binder: fix use-after-free in shinker's callback The mmap read lock is used during the shrinker's callback, which means that us…
Overview
CVE-2023-52438 is a high-severity vulnerability. It was published on February 20, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).
This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
Technical description
In the Linux kernel, the following vulnerability has been resolved:
binder: fix use-after-free in shinker's callback
The mmap read lock is used during the shrinker's callback, which means
that using alloc->vma pointer isn't safe as it can race with munmap().
As of commit dd2283f2605e ("mm: mmap: zap pages with read mmap_sem in
munmap") the mmap lock is downgraded after the vma has been isolated.
I was able to reproduce this issue by manually adding some delays and
triggering page reclaiming through the shrinker's debug sysfs. The
following KASAN report confirms the UAF:
==================================================================
BUG: KASAN: slab-use-after-free in zap_page_range_single+0x470/0x4b8
Read of size 8 at addr ffff356ed50e50f0 by task bash/478
CPU: 1 PID: 478 Comm: bash Not tainted 6.6.0-rc5-00055-g1c8b86a3799f-dirty #70
Hardware name: linux,dummy-virt (DT)
Call trace:
zap_page_range_single+0x470/0x4b8
binder_alloc_free_page+0x608/0xadc
__list_
Remediation
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
References
How CyberStrike helps
Reason, not just scan
It reasons through your app's logic the way a human pentester would, so it finds flaws signature scanners miss.
Learn moreVerified findings
Every finding is proven exploitable before you see it, which cuts the false positives that bury real risk.
Learn moreAI-driven DAST and SAST
Probe running apps and read source from one engine, so issues are caught before and after they ship.
Learn moreOpen source
Read exactly how it tests and what it reports. CyberStrike is open source and in early access.
View the repo
Frequently asked questions
What is CVE-2023-52438?
CVE-2023-52438 is a high-severity vulnerability. It was published on February 20, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).
How severe is CVE-2023-52438?
This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2023-52438?
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2023-52438?
CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52438 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.
Related HIGH CVEs from 2023
View all- 8.9CVE-2022-4428
support_uri parameter in the WARP client local settings file (mdm.xml) lacked proper validation whic
View details - 8.9CVE-2023-26032
ZoneMinder is a free, open source Closed-circuit television software application for Linux which sup
View details - 8.9CVE-2023-26037
ZoneMinder is a free, open source Closed-circuit television software application for Linux which sup
View details - 8.9CVE-2023-26480
XWiki Platform is a generic wiki platform. Starting in version 12.10, a user without script rights c
View details - 8.9CVE-2023-29207
XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetab
View details - 8.9CVE-2023-29508
XWiki Commons are technical libraries common to several other top level XWiki projects. A user witho
View details - 8.9CVE-2023-27524
Session Validation attacks in Apache Superset versions up to and including 2.0.1. Installations that
View details - 8.9CVE-2023-33961
Leantime is a lean open source project management system. Starting in version 2.3.21, an authenticat
View details - 8.9CVE-2023-30435
IBM Security Guardium 11.3, 11.4, and 11.5 is vulnerable to stored cross-site scripting. This vulner
View details - 8.9CVE-2023-39446
Thanks to the weaknesses that the web application has at the user management level, an attack
View details - 8.9CVE-2023-42819
JumpServer is an open source bastion host. Logged-in users can access and modify the contents of any
View details - 8.9CVE-2023-46723
lte-pic32-writer is a writer for PIC32 devices. In versions 0.0.1 and prior, those who use `sendto.t
View details
