Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49127

published high CVSS 3.1 · 7.0

ref_tracker: implement use-after-free detection

Published
26 Feb 2025, 01:55:04 UTC
Updated
05 Aug 2026, 08:53:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4e66934eaadc83b27ada8d42b60894018f3bfabf to < 3743c9de303fa36c2e2ca2522ab280c52bcafbd2 · 4e66934eaadc83b27ada8d42b60894018f3bfabf to < e3ececfe668facd87d920b608349a32607060e66 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 5.17.3 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The ref_tracker path is reached through local netdev/netns lifecycle operations (netdev_hold/put during device or namespace teardown via netlink/syscalls), not by parsing attacker-controlled remote packets. AC:H - The vulnerable code exists only when CONFIG_NET_DEV_REFCNT_TRACKER or CONFIG_NET_NS_REFCNT_TRACKER is enabled (default n, DEBUG_KERNEL-only); without that rare debug config the tracker ops are compiled out as stubs. PR:L - An unprivileged user can obtain CAP_NET_ADMIN via user namespaces (unshare -Urn), create/destroy netdevs and network namespaces, and drive dismantle paths that exercise the tracker. UI:N - The attacker can create and tear down their own network devices/namespaces and trigger late hold/put paths without any victim action. S:U - Impact stays within the local kernel’s networking reference-tracking state; there is no VM escape, IOMMU bypass, or other cross-authority boundary crossing. C:H - Use-after-free of heap-allocated struct ref_tracker objects after dir_exit frees them can be leveraged for arbitrary kernel memory disclosure via heap reuse. I:H - The same UAF enables heap spraying and corruption of reused tracker/list metadata, which can yield arbitrary write or control-flow hijacking primitives. A:H - UAF of freed trackers and the WARN_ON_ONCE path can oops/panic the kernel (including under panic_on_warn), causing a full availability loss.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4e66934eaadc83b27ada8d42b60894018f3bfabf to < 3743c9de303fa36c2e2ca2522ab280c52bcafbd2 (affected · git)4e66934eaadc83b27ada8d42b60894018f3bfabf to < e3ececfe668facd87d920b608349a32607060e66 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)5.17.3 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

ref_tracker: implement use-after-free detection

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
502d53c5f61ebe7fab34ea759fd6420d0959ff3739818b5cc2684344504b9540
Ingested
23 Sep 2026, 08:04:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected