Memory Allocation Vulnerability in AMD Graphics Drivers
CVE-2024-56697
Key Information:
- Vendor
Linux
- Status
- CVE ID
- CVE ID:
- CVE-2024-56697
- Vendor
- CVE Published:
- 28 December 2024
- Fixed in
- Fixed in:
- 6.11.11, 6.12.2, 6.13
Timeline
Vulnerability published
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
Install the Linux release that fixes your version line, or later:
2Why it's rated "Monitor"
- Its CVSS severity is medium (5.5).
What is CVE-2024-56697?
A vulnerability in the AMD graphics drivers within the Linux kernel identified issues in memory allocation during the execution of the amdgpu_discovery_get_nps_info() function. The vulnerability was characterized by a lack of checks for allocation failures, which could potentially lead to dereferencing a null pointer, resulting in application crashes or undefined behavior. The solution involved implementing safety checks and utilizing the kvcalloc() function, which ensures safe memory allocation by checking for multiplication overflow. Furthermore, the output parameters nps_type and range_cnt are now assigned post-memory allocation to guarantee their integrity in case of an allocation error.
Affected Version(s)
Linux b194d21b9bcc…
Linux b194d21b9bcc…
Linux b194d21b9bcc…
References
More Linux Vulnerabilities
Memory Ordering Flaw in Linux Kernel
Linux Kernel Vulnerability in SCTP Control Chunk Migration
Data Copy Vulnerability in Linux Kernel
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction