CVE-2024-56549

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Dec 27, 2024
Updated: Feb 21, 2025
CWE ID 476

Summary

CVE-2024-56549 is a vulnerability affecting the Linux kernel where a NULL pointer dereference issue has been identified in the 'cachefiles' module. Specifically, the 'object->file' can be left as a NULL pointer during on-demand mode, leading to a inconsistency between the file descriptor (fd) and the object's file lifetime. This results in a NULL pointer dereference when the user-space invokes anon_fd using object->file. To address this issue, an additional reference count has been added to the object->file before write/llseek operations and decremented afterwards.

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