dibs: initialise dibs->lock in dibs_dev_alloc()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2926031acba100d0c18fcfaa7a2ed29609318848, Kernel c27e360545373b7aee9862a5beef3b9fb3df0c25, Kernel fe79571f40434b257d68cbfb7b3ae93a794d8a11 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=cc21191b584c6f7836b0f10774f8278b7cbfba10 <2926031acba100d0c18fcfaa7a2ed29609318848, >=cc21191b584c6f7836b0f10774f8278b7cbfba10 <c27e360545373b7aee9862a5beef3b9fb3df0c25, >=cc21191b584c6f7836b0f10774f8278b7cbfba10 <fe79571f40434b257d68cbfb7b3ae93a794d8a11 | 2926031acba100d0c18fcfaa7a2ed29609318848, c27e360545373b7aee9862a5beef3b9fb3df0c25, fe79571f40434b257d68cbfb7b3ae93a794d8a11 |
| linux-kernel: Kernel | >=6.18.0 <6.18.45, >=6.19.0 <7.1.9 | 6.18.45, 7.1.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket