---
id: CVE-2026-98894
title: 'drm/amd/ras: reset CPER ring on corrupt entry size'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/amd/ras: reset CPER ring on corrupt entry size

  When CPER ring overflow handling advances the read pointer, it trusts the
  parsed entry size from the current ring co…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    a98d0d49757a113ce17960262b9cd4ccc1420108
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    4d695e66d7027a0c78302e47ac76293675fbbb4d
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T11:37:55.539Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98894'
references:
  - url: 'https://git.kernel.org/stable/c/a98d0d49757a113ce17960262b9cd4ccc1420108'
  - url: 'https://git.kernel.org/stable/c/4d695e66d7027a0c78302e47ac76293675fbbb4d'
tags:
  - cve.org
ingestedAt: '2026-10-23T13:24:55.578Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/ras: reset CPER ring on corrupt entry size

When CPER ring overflow handling advances the read pointer, it trusts the
parsed entry size from the current ring contents. Corrupt CPER data can
produce an entry size that does not advance rptr after dword conversion
and pointer masking.

In that case the recovery loop keeps testing the same location while
holding the CPER ring mutex. This can hang the worker that is writing the
next CPER record.

Detect a no-progress rptr update and reset the CPER ring to an empty
state instead. This drops the corrupt contents and lets the writer leave
the recovery path without spinning.

## Affected

- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a98d0d49757a113ce17960262b9cd4ccc1420108`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4d695e66d7027a0c78302e47ac76293675fbbb4d`
- `Linux < 6.18.53`
- `Linux (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
