atm: iphase: fix possible use-after-free in ia_module_exit()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < e759ff76ebbbfcdcf83b6634c54dc47828573d8b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
atm: iphase: fix possible use-after-free in ia_module_exit()
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 Linux kernel's atm iphase driver may use freed memory during module removal if its timer handler is still running after the removal function finishes. The input does not establish how an attacker could trigger this condition or specify authentication, network access, or user interaction requirements.
Engineers running Linux kernels with the atm iphase driver should check whether their kernel includes the fix; affected versions are not specified.