9.8critical
dibs: initialise dibs->lock in dibs_dev_alloc()
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: dibs: initialise dibs->lock in dibs_dev_alloc() dibs->lock is initialised by dibs_dev_add(), but a dibs device can already take interrupts before that call: ism_probe() runs ism_dev_init(), and hence request_irq(), before it calls dibs_dev_add(). No client can have registered a dmb at that point, so no dmb interrupt can occur, but a GID event interrupt can, and ism_handle_irq() takes dibs->lock unconditionally on entry, before it inspects anything else. Initialise the lock in dibs_dev_alloc() instead, so that it is valid as soon as a driver can publish the device to its interrupt handler.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cc21191b584c6f7836b0f10774f8278b7cbfba10 before fe79571f40434b257d68cbfb7b3ae93a794d8a11, from cc21191b584c6f7836b0f10774f8278b7cbfba10 before 2926031acba100d0c18fcfaa7a2ed29609318848, from cc21191b584c6f7836b0f10774f8278b7cbfba10 before c27e360545373b7aee9862a5beef3b9fb3df0c25, 6.18 Not affected: before 6.18, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*, from 7.2 up to * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: dibs: initialise dibs->lock in dibs_dev_alloc() dibs->lock is initialised by dibs_dev_add(), but a dibs device can already take interrupts before that call: ism_probe() runs ism_dev_init(), and hence request_irq(), before it calls dibs_dev_add(). No client can have registered a dmb at that point, so no dmb interrupt can occur, but a GID event interrupt can, and ism_handle_irq() takes dibs->lock unconditionally on entry, before it inspects anything else. Initialise the lock in dibs_dev_alloc() instead, so that it is valid as soon as a driver can publish the device to its interrupt handler.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: dibs: inicializar dibs -> lock en dibs_dev_alloc() dibs -> lock es inicializado por dibs_dev_add(), pero un dispositivo dibs ya puede recibir interrupciones antes de esa llamada: ism_probe() ejecuta ism_dev_init(), y por lo tanto request_irq(), antes de que llame a dibs_dev_add(). Ningún cliente puede haber registrado un dmb en ese momento, por lo que ninguna interrupción dmb puede ocurrir, pero una interrupción de evento GID sí puede, e ism_handle_irq() toma dibs -> lock incondicionalmente al entrar, antes de inspeccionar cualquier otra cosa. Inicializar el bloqueo en dibs_dev_alloc() en su lugar, para que sea válido tan pronto como un controlador pueda publicar el dispositivo a su gestor de interrupciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74617 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74617 changed 2026-10-16 | Public domain |