CVE-2024-56678

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Dec 28, 2024
Updated: Feb 11, 2025
CWE ID 416

Summary

CVE-2024-56678 is a vulnerability affecting the Linux kernel's powerpc/mm/fault subsystem. The issue lies in the use of the copy_from_kernel_nofault() function when reading from /proc/kcore, which can result in page faults caused by unmapped kfence objects. These page faults can be triggered by attempting to read large amounts of data from /proc/kcore, such as with the 'dd' command. The vulnerability can lead to invalid reads and use-after-free read issues, as demonstrated by the provided example. To mitigate these issues, the kernel now searches exception tables for the nip that generated the fault and lets the fixup table handler handle the page fault.

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