CVE-2023-52438

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Feb 20, 2024
Updated: Jun 25, 2024
CWE ID 416

Summary

CVE-2023-52438 is a vulnerability affecting the Linux kernel that involves a use-after-free issue in the binder's shrinker's callback. This issue arises due to the mmap read lock being used during the shrinker's callback, which can result in races with munmap() and the use of an unsafe alloc->vma pointer. The vulnerability was identified when a KASAN report confirmed a UAF (use-after-free) error. Allocations and frees of the affected memory were traced to tasks 492 and 491, respectively. The recommended fix for this issue is to perform a vma_lookup() instead of using the unsafe alloc->vma pointer, which offers better performance than upgrading to a mmap write lock and is a more efficient solution since mmap_write_trylock() has been recently removed.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share