5.5medium
media: iris: gen2: Add sanity check for session stop
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 11712ce70f8e52fc94365b48ee15aec806b02422 before 72846441c5f6396de9face04e77fa3d28e9915b6, from 11712ce70f8e52fc94365b48ee15aec806b02422 before 75992ba43072674fd4767df62a1fe2048565cc60, from 11712ce70f8e52fc94365b48ee15aec806b02422 before 9aa8d63d09cfc44d879427cc5ba308012ca4ab8e, 6.15 Not affected: before 6.15, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.15 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: iris: gen2: Añadir comprobación de cordura para la detención de la sesión En iris_kill_session, inst -> state se establece en IRIS_INST_ERROR y session_close se ejecuta, lo que liberará kfree(inst_hfi_gen2 -> packet). Si stop_streaming se llama después, causará un fallo. Añadir una comprobación de NULL para inst_hfi_gen2 -> packet antes de enviar el paquete STOP al firmware para solucionar eso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43217 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43217 changed 2026-11-11 | Public domain |