Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 4 weeks ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
drm/i915/hdcp: check streams[] bounds before overflow

In the Linux kernel, the following vulnerability has been resolved: drm/i915/hdcp: check streams[] bounds before overflow The data->streams[] overflow check is done after the buffer overflow has already happened. Move the overflow check before the write. Side note, emitting a warning splat with a backtrace might be overkill here, but prefer not changing the behaviour other than not doing the overrun. Discovered using AI-assisted static analysis confirmed by Intel Product Security. (cherry picked from commit 9284ab3b6e776c315883ac2611283d263c9460fd)

Affected products

Linux
  • <3d2ef8d389495e7889c6062d8bddc46d2a5fbdef
  • <84351f12390349ba010920fc247e1a0b12e41eb3
  • =<6.6.*
  • =<*
  • ==5.12
  • =<6.18.*
  • <5.12
  • =<6.12.*
  • =<7.1.*
  • <bbb15a6b042d02e5508a02b4847e02d2579ee7bc
  • <984085c5b53572e2e03fd5fc4817e86ef1effc6e
  • <2106fb490b2c6003e23ad6ff36ce823a2170e138