Linux
net/dibs: Correct freeing of dmb_clientid_arr
In the Linux kernel, the following vulnerability has been resolved: net/dibs: Correct freeing of dmb_clientid_arr A dibs device interrupt handler can be active after dibs_dev_del() and may still access dmb_clientid_arr. (UAF) In case of a failure in dibs_dev_add() being called by dibs_lo_dev_probe() dmb_clientid_arr is freed twice (double free). Free dmb_clientid_arr in dibs_dev_release() after last reference is gone. Note that allocating in dibs_dev_add() instead of dibs_dev_alloc() is ok for now, because no dmbs can be registered before dibs_dev_add().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cc21191b584c6f7836b0f10774f8278b7cbfba10, < ece6426b61241e9bfb41aa131f235168f55229b1
- >= cc21191b584c6f7836b0f10774f8278b7cbfba10, < 7a1df20a8d2cc89e3a442b6e0b43b1cacde8d403
- >= cc21191b584c6f7836b0f10774f8278b7cbfba10, < 9e6869be49064915edb6c8776b27c376cfdb0df5
Fixed in ece6426b61241e9bfb41aa131f235168f55229b1, 7a1df20a8d2cc89e3a442b6e0b43b1cacde8d403, 9e6869be49064915edb6c8776b27c376cfdb0df5
- 6.18
Fixed in 0, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to ece6426b61241e9bfb41aa131f235168f55229b1 or 7a1df20a8d2cc89e3a442b6e0b43b1cacde8d403 or 9e6869be49064915edb6c8776b27c376cfdb0df5 or later.
Upgrade Linux to 0 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.