CVE-2026-43217 PUBLISHED

media: iris: gen2: Add sanity check for session stop

Assigner: Linux
Reserved: 01.05.2026 Published: 06.05.2026 Updated: 06.05.2026

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

media: iris: gen2: Add sanity check for session stop

In iris_kill_session, inst->state is set to IRIS_INST_ERROR and session_close is executed, which will kfree(inst_hfi_gen2->packet). If stop_streaming is called afterward, it will cause a crash.

Add a NULL check for inst_hfi_gen2->packet before sendling STOP packet to firmware to fix that.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 11712ce70f8e52fc94365b48ee15aec806b02422 to 72846441c5f6396de9face04e77fa3d28e9915b6 (excl.)
  • affected from 11712ce70f8e52fc94365b48ee15aec806b02422 to 75992ba43072674fd4767df62a1fe2048565cc60 (excl.)
  • affected from 11712ce70f8e52fc94365b48ee15aec806b02422 to 9aa8d63d09cfc44d879427cc5ba308012ca4ab8e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.15 is affected
  • unaffected from 0 to 6.15 (excl.)
  • unaffected from 6.18.16 to 6.18.* (incl.)
  • unaffected from 6.19.6 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References