Description
In the Linux kernel, the following vulnerability has been resolved:
dm-raid: fix use-after-free in raid_dtr()
raid_dtr() currently flushes event_work only if work_pending() is true. This is insufficient because once a worker has dequeued the work, the PENDING bit is cleared while do_table_event() is still running. In that window raid_set_free() can free the raid_set, leading to a use-after-free when do_table_event() accesses rs->ti->table.
Flush event_work whenever it has been initialized, so raid_set is not freed while the event handler is still running. The .func guard skips the flush for mddev instances where INIT_WORK has not run yet.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= db29d79b34d9593179de5f868be45c650923e7b4, < abcf294055516f8e494c04b8731e569ee623be38; >= db29d79b34d9593179de5f868be45c650923e7b4, < 178d1d3260c97ab6eabc9b9c0e07ebec2c5c9936; >= db29d79b34d9593179de5f868be45c650923e7b4, < e8860e5773569fa297e1906747e770b7afe8bea4; >= db29d79b34d9593179de5f868be45c650923e7b4, < 46af2c975958119290ddcd984a98491966123a7b |
| Linux | Linux | 6.7 |
References
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received