CVE-2022-49127: ref_tracker: implement use-after-free detection
In the Linux kernel, the following vulnerability has been resolved:
reftracker: implement use-after-free detection
Whenever reftrackerdirinit() is called, mark the struct reftrackerdir as dead.
Test the dead status from reftrackeralloc() and reftrackerfree()
This should detect buggy devput()/devhold() happening too late in netdevice dismantle process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.17.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49127?
CVE-2022-49127 has been classified with a moderate severity level due to its potential for use-after-free vulnerabilities in the Linux kernel.
How do I fix CVE-2022-49127?
To remediate CVE-2022-49127, upgrade to the latest version of the Linux kernel that includes the necessary patches.
Which versions of the Linux kernel are affected by CVE-2022-49127?
CVE-2022-49127 affects versions of the Linux kernel from 5.17 to 5.17.3.
What is the nature of the vulnerability in CVE-2022-49127?
CVE-2022-49127 involves a use-after-free condition related to the handling of the struct ref_tracker_dir enabling potential exploitation.
When was CVE-2022-49127 disclosed?
CVE-2022-49127 was disclosed as part of updates to the Linux kernel in response to identified vulnerabilities.