CVE-2024-24863 in Linuxinfo

Summary

by MITRE • 04/14/2024

In malidp_mw_connector_reset, new memory is allocated with kzalloc, but no check is performed. In order to prevent null pointer dereferencing, ensure that mw_state is checked before calling __drm_atomic_helper_connector_reset.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 06/11/2026

The vulnerability exists in the malidp_mw_connector_reset function within the Mali Display Port multi-window connector implementation where memory allocation occurs using kzalloc without proper validation of the allocation result. This represents a classic memory management flaw that can lead to null pointer dereference conditions when the allocated memory pointer is subsequently used without verification. The function fails to perform a critical null check after memory allocation, creating a potential pathway for system instability or exploitation. When kzalloc returns a null pointer due to allocation failure, the subsequent call to __drm_atomic_helper_connector_reset will attempt to dereference this null pointer, resulting in immediate system crash or undefined behavior. This type of vulnerability falls under CWE-476 which specifically addresses null pointer dereference conditions, and aligns with ATT&CK technique T1499.201 related to resource exhaustion through memory allocation manipulation.

The operational impact of this vulnerability extends beyond simple system crashes to potentially enable more sophisticated attack vectors when combined with other weaknesses in the display subsystem. An attacker who can trigger the specific code path leading to this vulnerability may be able to cause denial of service conditions that affect display output functionality, potentially disrupting critical user interface operations. In embedded systems or mobile devices where display drivers are integral to user experience, such a flaw could be exploited to create persistent denial of service conditions that prevent normal system operation. The vulnerability is particularly concerning in automotive or industrial applications where display reliability is paramount, as it could lead to complete display failure during critical operations.

Mitigation strategies should focus on implementing proper null pointer validation immediately following memory allocation operations. The recommended fix involves adding a conditional check to verify that the kzalloc result is not null before proceeding with subsequent operations. This validation should occur before the call to __drm_atomic_helper_connector_reset to ensure that the memory allocation was successful. Additionally, system administrators should implement robust error handling and logging mechanisms to detect and respond to allocation failures. The fix should also consider implementing memory allocation failure recovery procedures that can gracefully handle situations where memory is unavailable, potentially including fallback mechanisms or system alerts. Security monitoring should be enhanced to detect unusual patterns of memory allocation failures that could indicate exploitation attempts, and system updates should be prioritized to address this vulnerability in production environments where display functionality is critical.

Responsible

OpenAnolis

Reservation

02/01/2024

Disclosure

04/14/2024

Moderation

revoked

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!