mISDN: fix possible use-after-free in HFC_cleanup()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 · < b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mISDN: fix possible use-after-free in HFC_cleanup()
This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free.
Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
From the CVE record · Linux
The mISDN driver's remove path can finish while a timer handler is still running, potentially causing a use-after-free. The input does not specify how an attacker could trigger this, or whether access or user interaction is required.
Engineers running Linux kernels with the mISDN driver should check their kernel versions; affected versions are not specified.