# CVE-2026-23163: drm/amdgpu: fix NULL pointer dereference in amdgpu\_gmc\_filter\_faults\_remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-02-14T16:01:27.912Z
- **Modified:** 2026-11-05T22:18:05.233Z

## Who should check

- Anyone running Linux \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< c74e2dbb5316898fb2113a8ea3a93b27698dbf68; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 7611d7faccc1218be477671f892a89b25c0cb352; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< ac251d17d8af58ddc3daba65eaf0a99e63dc4284; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007
- Anyone running Linux 6.4

## Description

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

drm/amdgpu: fix NULL pointer dereference in amdgpu\_gmc\_filter\_faults\_remove

On APUs such as Raven and Renoir (GC 9.1.0, 9.2.2, 9.3.0), the ih1 and
ih2 interrupt ring buffers are not initialized. This is by design, as
these secondary IH rings are only available on discrete GPUs. See
vega10\_ih\_sw\_init() which explicitly skips ih1/ih2 initialization when
AMD\_IS\_APU is set.

However, amdgpu\_gmc\_filter\_faults\_remove() unconditionally uses ih1 to
get the timestamp of the last interrupt entry. When retry faults are
enabled on APUs (noretry=0), this function is called from the SVM page
fault recovery path, resulting in a NULL pointer dereference when
amdgpu\_ih\_decode\_iv\_ts\_helper() attempts to access ih-\>ring\[\].

The crash manifests as:

  BUG: kernel NULL pointer dereference, address: 0000000000000004
  RIP: 0010:amdgpu\_ih\_decode\_iv\_ts\_helper+0x22/0x40 \[amdgpu\]
  Call Trace:
   amdgpu\_gmc\_filter\_faults\_remove+0x60/0x130 \[amdgpu\]
   svm\_range\_restore\_pages+0xae5/0x11c0 \[amdgpu\]
   amdgpu\_vm\_handle\_fault+0xc8/0x340 \[amdgpu\]
   gmc\_v9\_0\_process\_interrupt+0x191/0x220 \[amdgpu\]
   amdgpu\_irq\_dispatch+0xed/0x2c0 \[amdgpu\]
   amdgpu\_ih\_process+0x84/0x100 \[amdgpu\]

This issue was exposed by commit 1446226d32a4 ("drm/amdgpu: Remove GC HW
IP 9.3.0 from noretry=1") which changed the default for Renoir APU from
noretry=1 to noretry=0, enabling retry fault handling and thus
exercising the buggy code path.

Fix this by adding a check for ih1.ring\_size before attempting to use
it. Also restore the soft\_ih support from commit dd299441654f ("drm/amdgpu:
Rework retry fault removal").  This is needed if the hardware doesn't
support secondary HW IH rings.

v2: additional updates (Alex)

(cherry picked from commit 6ce8d536c80aa1f059e82184f0d1994436b1d526)

## Affected and fixed versions

- Linux: \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< c74e2dbb5316898fb2113a8ea3a93b27698dbf68; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 7611d7faccc1218be477671f892a89b25c0cb352; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< ac251d17d8af58ddc3daba65eaf0a99e63dc4284; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23163. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23163.md
Affected: Linux >= dd299441654fd8209056c7985ddf2373ebaba6ed, < c74e2dbb5316898fb2113a8ea3a93b27698dbf68; >= dd299441654fd8209056c7985ddf2373ebaba6ed, < 7611d7faccc1218be477671f892a89b25c0cb352; >= dd299441654fd8209056c7985ddf2373ebaba6ed, < ac251d17d8af58ddc3daba65eaf0a99e63dc4284; >= dd299441654fd8209056c79…
Fixed in: Linux 7611d7faccc1218be477671f892a89b25c0cb352, Linux 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23163 being exploited?

There is no confirmed exploitation: CVE-2026-23163 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23163?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23163?

Linux \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< c74e2dbb5316898fb2113a8ea3a93b27698dbf68; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 7611d7faccc1218be477671f892a89b25c0cb352; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< ac251d17d8af58ddc3daba65eaf0a99e63dc4284; \>= dd299441654fd8209056c7985ddf2373ebaba6ed, \< 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007; Linux 6.4.

### Is there a fix for CVE-2026-23163?

Yes. Fixed in Linux 7611d7faccc1218be477671f892a89b25c0cb352, Linux 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007. Upgrade Linux to 8b1ecc9377bc641533cd9e76dfa3aee3cd04a007 or later.

### How do I check if I'm affected by CVE-2026-23163?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c74e2dbb5316898fb2113a8ea3a93b27698dbf68>
- patch: <https://git.kernel.org/stable/c/7611d7faccc1218be477671f892a89b25c0cb352>
- patch: <https://git.kernel.org/stable/c/ac251d17d8af58ddc3daba65eaf0a99e63dc4284>
- patch: <https://git.kernel.org/stable/c/8b1ecc9377bc641533cd9e76dfa3aee3cd04a007>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23163>

HTML: <https://flawdb.com/CVE-2026-23163> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23163>
