Skip to main content
EPSS 0.2%top 94%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()… (CVE-2026-45853)

0
Low
Published: 05/27/2026 (05/27/2026, 14:16:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

A vulnerability in the Linux kernel's AMDGPU driver was resolved by replacing kfree() with kvfree() in the amdgpu_gmc_get_nps_memranges() function. The issue involved improper memory deallocation where kfree() was used to free memory allocated by kvcalloc(), which may internally use vmalloc() for large allocations. Using kfree() on vmalloc memory can cause memory corruption. This vulnerability was identified through static analysis and code review and has a CVSS score of 7.8.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 02:51:59 UTC

Technical Analysis

The Linux kernel's AMDGPU driver contained a vulnerability (CVE-2026-45853) due to incorrect memory deallocation in the amdgpu_gmc_get_nps_memranges() function. The function amdgpu_discovery_get_nps_info() allocates memory using kvcalloc(), which can allocate vmalloc memory for large sizes. The original code used kfree() to free this memory, which is unsafe for vmalloc memory and can lead to memory corruption. The fix replaces kfree() with kvfree(), which correctly handles both kmalloc and vmalloc allocated memory. This issue was found via static analysis and code review and affects the Linux kernel's AMDGPU driver. The CVSS 3.1 vector indicates local attack vector, low complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.

Potential Impact

Improper memory deallocation can lead to memory corruption, which may cause system instability, crashes, or potentially allow an attacker with local privileges to escalate privileges or cause denial of service. The CVSS score of 7.8 reflects a high impact on confidentiality, integrity, and availability, though exploitation requires local access and low privileges.

Mitigation Recommendations

A fix has been implemented by replacing kfree() with kvfree() in the affected function to safely handle memory deallocation. Since this is a kernel vulnerability, users should apply the official Linux kernel updates or patches provided by their distribution to remediate this issue. No known exploits are reported in the wild. Patch status is not explicitly confirmed in the provided data; users should check their vendor or distribution advisories for the latest updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-f6wq-h8g2-9j9p
Osv Schema Version
1.4.0
Aliases
["CVE-2026-45853"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a3ef7f227e9c79719036e36

Added to database: 06/26/2026, 22:06:42 UTC

Last enriched: 08/01/2026, 02:51:59 UTC

Last updated: 09/14/2026, 14:47:16 UTC

Views: 170

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses