ref_tracker: implement use-after-free detection
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ref_tracker: implement use-after-free detection
Whenever ref_tracker_dir_init() is called, mark the struct ref_tracker_dir as dead.
Test the dead status from ref_tracker_alloc() and ref_tracker_free()
This should detect buggy dev_put()/dev_hold() happening too late in netdevice dismantle process.
From the CVE record · Linux
The Linux kernel’s ref_tracker is affected by a use-after-free issue involving dev_put() or dev_hold() calls made too late during network-device dismantling. The input does not describe what an attacker could do or specify access or user-interaction requirements.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.