# CVE-2026-46263: drm/amd/display: Fix out-of-bounds stream encoder index v3

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-06-03T15:50:02.572Z
- **Modified:** 2026-10-19T20:18:40.083Z

## Who should check

- Anyone running Linux \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 29f3824b08a98d41ecbbfd33580630d7607f962e; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 263e28add4f4472cfa95150d218955d1945aa413; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< ca3808d560ad946ab6d089fd1f5bee04b952ead4; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< abde491143e4e12eecc41337910aace4e8d59603
- Anyone running Linux 6.9

## Description

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

drm/amd/display: Fix out-of-bounds stream encoder index v3

eng\_id can be negative and that stream\_enc\_regs\[\]
can be indexed out of bounds.

eng\_id is used directly as an index into stream\_enc\_regs\[\], which has
only 5 entries. When eng\_id is 5 (ENGINE\_ID\_DIGF) or negative, this can
access memory past the end of the array.

Add a bounds check using ARRAY\_SIZE() before using eng\_id as an index.
The unsigned cast also rejects negative values.

This avoids out-of-bounds access.

Fixes the below smatch error:
dcn\*\_resource.c: stream\_encoder\_create() may index
stream\_enc\_regs\[eng\_id\] out of bounds (size 5).

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn351/dcn351\_resource.c
    1246 static struct stream\_encoder \*dcn35\_stream\_encoder\_create(
    1247         enum engine\_id eng\_id,
    1248         struct dc\_context \*ctx)
    1249 {

    ...

    1255
    1256         /\* Mapping of VPG, AFMT, DME register blocks to DIO block instance \*/
    1257         if (eng\_id \<= ENGINE\_ID\_DIGF) {

ENGINE\_ID\_DIGF is 5.  should \<= be \<?

Unrelated but, ugh, why is Smatch saying that "eng\_id" can be negative?
end\_id is type signed long, but there are checks in the caller which prevent it from being negative.

    1258                 vpg\_inst = eng\_id;
    1259                 afmt\_inst = eng\_id;
    1260         } else
    1261                 return NULL;
    1262

    ...

    1281
    1282         dcn35\_dio\_stream\_encoder\_construct(enc1, ctx, ctx-\>dc\_bios,
    1283                                         eng\_id, vpg, afmt,
--\> 1284                                         &stream\_enc\_regs\[eng\_id\],
                                                  ^^^^^^^^^^^^^^^^^^^^^^^ This stream\_enc\_regs\[\] array has 5 elements so we are one element beyond the end of the array.

    ...

    1287         return &enc1-\>base;
    1288 }

v2: use explicit bounds check as suggested by Roman/Dan; avoid unsigned int cast

v3: The compiler already knows how to compare the two values, so the
    cast (int) is not needed. (Roman)

## Affected and fixed versions

- Linux: \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 29f3824b08a98d41ecbbfd33580630d7607f962e; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 263e28add4f4472cfa95150d218955d1945aa413; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< ca3808d560ad946ab6d089fd1f5bee04b952ead4; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< abde491143e4e12eecc41337910aace4e8d59603 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-46263.md
Affected: Linux >= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, < 29f3824b08a98d41ecbbfd33580630d7607f962e; >= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, < 263e28add4f4472cfa95150d218955d1945aa413; >= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, < ca3808d560ad946ab6d089fd1f5bee04b952ead4; >= 2728e9c7c84235d2d7bc140…
Fixed in: Linux 29f3824b08a98d41ecbbfd33580630d7607f962e, Linux 263e28add4f4472cfa95150d218955d1945aa413

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-46263 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 29f3824b08a98d41ecbbfd33580630d7607f962e; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< 263e28add4f4472cfa95150d218955d1945aa413; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< ca3808d560ad946ab6d089fd1f5bee04b952ead4; \>= 2728e9c7c84235d2d7bc1403174d071ffc82d6d2, \< abde491143e4e12eecc41337910aace4e8d59603; Linux 6.9.

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

Yes. Fixed in Linux 29f3824b08a98d41ecbbfd33580630d7607f962e, Linux 263e28add4f4472cfa95150d218955d1945aa413. No fix listed yet: follow the vendor advisory.

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

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/29f3824b08a98d41ecbbfd33580630d7607f962e>
- patch: <https://git.kernel.org/stable/c/263e28add4f4472cfa95150d218955d1945aa413>
- patch: <https://git.kernel.org/stable/c/ca3808d560ad946ab6d089fd1f5bee04b952ead4>
- patch: <https://git.kernel.org/stable/c/abde491143e4e12eecc41337910aace4e8d59603>

## 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-46263>

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