In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add NULL pointer checks in dc_stream cursor attribute functions
The function dc_stream_set_cursor_attributes() currently dereferences the `stream` pointer and nested members `stream->ctx->dc->current_state` without checking for NULL.
All callers of these functions, such as in `dcn30_apply_idle_power_optimizations()` and `amdgpu_dm_plane_handle_cursor_update()`, already perform NULL checks before calling these functions.
Fixes below: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:336 dc_stream_program_cursor_attributes() error: we previously assumed 'stream' could be null (see line 334)
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c 327 bool dc_stream_program_cursor_attributes( 328 struct dc_stream_state *stream, 329 const struct dc_cursor_attributes *attributes) 330 { 331 struct dc *dc; 332 bool reset_idle_optimizations = false; 333 334 dc = stream ? stream->ctx->dc : NULL; ^^^^^^ The old code assumed stream could be NULL.
335 --> 336 if (dc_stream_set_cursor_attributes(stream, attributes)) { ^^^^^^ The refactor added an unchecked dereference.
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c 313 bool dc_stream_set_cursor_attributes( 314 struct dc_stream_state *stream, 315 const struct dc_cursor_attributes *attributes) 316 { 317 bool result = false; 318 319 if (dc_stream_check_cursor_attributes(stream, stream->ctx->dc->current_state, attributes)) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Here. This function used to check for if stream as NULL and return false at the start. Probably we should add that back.
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Ubuntu | — | Upgrade linux-image-gcp-6.17Upgrade linux-image-6.17.0-1007-awsUpgrade linux-image-virtualUpgrade linux-image-oracle-6.17Upgrade linux-image-6.17.0-1007-gcp-64kUpgrade linux-image-6.17.0-1007-oracleUpgrade linux-image-oem-6.17Upgrade linux-image-awsUpgrade linux-image-oracle-64k-6.17Upgrade linux-image-realtimeUpgrade linux-image-oracleUpgrade linux-image-6.17.0-1007-gcpUpgrade linux-image-6.17.0-14-genericUpgrade linux-image-6.17.0-1011-oemUpgrade linux-image-6.17.0-14-generic-64kUpgrade linux-image-gcp-64k-6.17Upgrade linux-image-6.17.0-1008-raspiUpgrade linux-image-generic-64k-6.17Upgrade linux-image-aws-64k-6.17Upgrade linux-image-gcpUpgrade linux-image-azureUpgrade linux-image-6.17.0-1007-oracle-64kUpgrade linux-image-oracle-64kUpgrade linux-image-aws-6.17Upgrade linux-image-gcp-64kUpgrade linux-image-6.17.0-1007-aws-64kUpgrade linux-image-realtime-6.17Upgrade linux-image-virtual-6.17Upgrade linux-image-raspi-6.17Upgrade linux-image-azure-6.17Upgrade linux-image-generic-6.17Upgrade linux-image-generic-64kUpgrade linux-image-6.17.0-1008-azureUpgrade linux-image-raspiUpgrade linux-image-genericUpgrade linux-image-aws-64kUpgrade linux-image-6.17.0-1006-realtime | Feb 13, 2026 | Feb 12, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub