CVE-2026-46263
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
03/06/2026
Last modified:
09/06/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/display: Fix out-of-bounds stream encoder index v3<br />
<br />
eng_id can be negative and that stream_enc_regs[]<br />
can be indexed out of bounds.<br />
<br />
eng_id is used directly as an index into stream_enc_regs[], which has<br />
only 5 entries. When eng_id is 5 (ENGINE_ID_DIGF) or negative, this can<br />
access memory past the end of the array.<br />
<br />
Add a bounds check using ARRAY_SIZE() before using eng_id as an index.<br />
The unsigned cast also rejects negative values.<br />
<br />
This avoids out-of-bounds access.<br />
<br />
Fixes the below smatch error:<br />
dcn*_resource.c: stream_encoder_create() may index<br />
stream_enc_regs[eng_id] out of bounds (size 5).<br />
<br />
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn351/dcn351_resource.c<br />
1246 static struct stream_encoder *dcn35_stream_encoder_create(<br />
1247 enum engine_id eng_id,<br />
1248 struct dc_context *ctx)<br />
1249 {<br />
<br />
...<br />
<br />
1255<br />
1256 /* Mapping of VPG, AFMT, DME register blocks to DIO block instance */<br />
1257 if (eng_id
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.9 (including) | 6.12.75 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 6.19.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



