PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-98520 Linux CVE debrief

A use-after-free and multi-container gap vulnerability was found in the Linux kernel's drm/amdkfd component. The kfd_dev_mapping caches the address_space of the first /dev/kfd opener, which can lead to a dangling pointer and rwsem deadlock when the container exits. Additionally, only the first opener's address_space is cached, leaving VMAs created by later openers unmapped after a GPU reset, risking PCIe transaction timeouts and NMI panics.

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-18
Original CVE updated
2026-10-18
Advisory published
2026-10-18
Advisory updated
2026-10-18

Who should care

Defenders responsible for Linux kernel security, particularly those managing systems using the drm/amdkfd component, should assess exposure and prioritize patching. This includes operators, platform administrators, vulnerability management teams, and security teams who need to ensure proper GPU reset handling and monitor for potential PCIe transaction timeouts and NMI panics.

Why it matters

Defenders should prioritize verifying and applying patches for Linux kernel versions affected by this vulnerability, particularly in environments using the drm/amdkfd component, to prevent use-after-free and multi-container gap vulnerabilities.

  • Verify and apply patches to prevent use-after-free and multi-container gap vulnerabilities
  • Ensure proper GPU reset handling to prevent PCIe transaction timeouts and NMI panics
  • Review system configurations to prevent potential security risks

Technical summary

The Linux kernel's drm/amdkfd component has a use-after-free and multi-container gap vulnerability. The kfd_dev_mapping caches the address_space of the first /dev/kfd opener, leading to a dangling pointer and rwsem deadlock when the container exits. Only the first opener's address_space is cached, leaving VMAs created by later openers unmapped after a GPU reset. This can cause PCIe transaction timeouts and NMI panics. The vulnerability was resolved with a commit that creates a private pseudo-filesystem at module init time and allocates one anonymous inode from it. In kfd_open(), every opener's file->f_mapping is redirected to that inode's address_space.

Defensive priority

Defenders should prioritize verifying and applying patches for Linux kernel versions affected by this vulnerability, particularly in environments using the drm/amdkfd component.

Recommended defensive actions

  • Verify Linux kernel versions and apply patches for drm/amdkfd component
  • Review system configurations and ensure proper GPU reset handling
  • Monitor for potential PCIe transaction timeouts and NMI panics
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance

Evidence notes

The vulnerability was resolved with a commit that creates a private pseudo-filesystem at module init time and allocates one anonymous inode from it. In kfd_open(), every opener's file->f_mapping is redirected to that inode's address_space.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-98520 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-98520

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-98520 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-98520

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/02b74891624e09a5512c6d84f267d01fcc306a3b

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.