Use-after-free in Linux kernel - CVE-2026-98520

 

Use-after-free in Linux kernel - CVE-2026-98520

Published: October 22, 2026


Vulnerability identifier: #VU156821
CSH Severity: Low
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98520
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service through a kernel hang during GPU reset.

The vulnerability exists due to use-after-free in the Linux kernel AMD KFD mapping management code when processing a GPU reset after the first /dev/kfd opener's container exits and its inode is released. A local user can open /dev/kfd from a container that subsequently exits, leaving a dangling cached address_space pointer that a later GPU reset dereferences in unmap_mapping_range(), causing an uninterruptible wait on the freed inode's i_mmap_rwsem.

The issue manifests under SRIOV with multiple containers.


Affected software

Linux kernel

How to mitigate CVE-2026-98520

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins