PT-2024-32199 · Linux+4 · Linux Kernel+4

Chi Zhiling

·

Published

2024-08-26

·

Updated

2025-01-09

·

CVE-2024-46785

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.52
Description A null pointer accessing vulnerability was found in the Linux kernel's eventfs. The issue occurs when the variable 'ei child' is set to LIST POISON1, indicating that the list was removed in eventfs remove rec, and then an attempt is made to access ei child->is freed, resulting in a panic. This vulnerability can be reproduced using a specific script that involves echoing commands to /sys/kernel/debug/tracing/kprobe events and running a tree command on /sys/kernel/debug/tracing/events/kprobes/. The vulnerability is related to the use of list del rcu() for SRCU protected list variables.
Recommendations To resolve this issue, update the Linux kernel to version 6.6.52 or later. As a temporary workaround, consider disabling the eventfs iterate function until a patch is available. Restrict access to the vulnerable module to minimize the risk of exploitation. Avoid using the variable 'ei child' in the affected API endpoint until the issue is resolved.

Exploit

Fix

NULL Pointer Dereference

Memory Leak

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

Weakness Enumeration

Related Identifiers

BDU:2024-08078
BDU:2025-08020
CVE-2024-46785
MGASA-2024-0316
MGASA-2024-0318
OESA-2024-2181
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7196-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu