All reports
Low

kernel: ref_tracker: implement use-after-free detection

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49127

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-21

Description

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.

A vulnerability was found in the Linux kernel's ref_tracker subsystem, which can lead to a use-after-free condition due to improper handling of reference tracking during network device teardown. Specifically, when ref_tracker_dir_init() is invoked, it marks the associated ref_tracker_dir structure as dead. However, if functions such as dev_put() or dev_hold() are called after this point, particularly during the dismantling of network devices, they may operate on already freed memory, which can lead to memory corruption and system instability.