Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49410

HIGH 7.8EPSS 16%

tracing: Fix potential double free in create_var_ref()

Mitigation

  • Upgrade Linux to 99696a2592bca641eb88cc9a80c90e591afebd0f or later.

Who should check

  • Anyone running Linux >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < f8b383f83cb573152c577eca1ef101e89995b72a; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < c27f744ceefadc7bbeb14233b6abc150ced617d2; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 058cb6d86b9789377216c936506b346aaa1eb581; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 37443b3508b8cce6832f8d25cb4550b2f7801f50; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 4fdfb15e08598711dbf50daf56a33965232daf0e; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < bd83ff3bbfb003832481c9bff999d12385f396ae; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 99696a2592bca641eb88cc9a80c90e591afebd0f
  • Anyone running Linux 4.17

Vulnerability facts

Affected
Linux >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < f8b383f83cb573152c577eca1ef101e89995b72a; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < c27f744ceefadc7bbeb14233b6abc150ced617d2; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 058cb6d86b9789377216c936506b346aaa1eb581; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 37443b3508b8cce6832f8d25cb4550b2f7801f50; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 4fdfb15e08598711dbf50daf56a33965232daf0e; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < bd83ff3bbfb003832481c9bff999d12385f396ae; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 99696a2592bca641eb88cc9a80c90e591afebd0f; Linux 4.17
Fixed in
Linux 058cb6d86b9789377216c936506b346aaa1eb581, Linux 37443b3508b8cce6832f8d25cb4550b2f7801f50, Linux 4fdfb15e08598711dbf50daf56a33965232daf0e, Linux 99696a2592bca641eb88cc9a80c90e591afebd0f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-415
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential double free in create_var_ref() In create_var_ref(), init_var_ref() is called to initialize the fields of variable ref_field, which is allocated in the previous function call to create_hist_field(). Function init_var_ref() allocates the corresponding fields such as ref_field->system, but frees these fields when the function encounters an error. The caller later calls destroy_hist_field() to conduct error handling, which frees the fields and the variable itself. This results in double free of the fields which are already freed in the previous function. Fix this by storing NULL to the corresponding fields when they are freed in init_var_ref().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < f8b383f83cb573152c577eca1ef101e89995b72a; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < c27f744ceefadc7bbeb14233b6abc150ced617d2; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 058cb6d86b9789377216c936506b346aaa1eb581; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 37443b3508b8cce6832f8d25cb4550b2f7801f50; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 4fdfb15e08598711dbf50daf56a33965232daf0e; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < bd83ff3bbfb003832481c9bff999d12385f396ae; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 99696a2592bca641eb88cc9a80c90e591afebd0f—cvelist
Linux4.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-49410. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49410.md
Affected: Linux >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < f8b383f83cb573152c577eca1ef101e89995b72a; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < c27f744ceefadc7bbeb14233b6abc150ced617d2; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 058cb6d86b9789377216c936506b346aaa1eb581; >= 067fe038e70f6e64960d26a…
Fixed in: Linux 058cb6d86b9789377216c936506b346aaa1eb581, Linux 37443b3508b8cce6832f8d25cb4550b2f7801f50, Linux 4fdfb15e08598711dbf50daf56a33965232daf0e, Linux 99696a2592bca641eb88cc9a80c90e591afebd0f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-49410 being exploited?

There is no confirmed exploitation: CVE-2022-49410 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-49410?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-49410?

Linux >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < f8b383f83cb573152c577eca1ef101e89995b72a; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < c27f744ceefadc7bbeb14233b6abc150ced617d2; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 058cb6d86b9789377216c936506b346aaa1eb581; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 37443b3508b8cce6832f8d25cb4550b2f7801f50; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 4fdfb15e08598711dbf50daf56a33965232daf0e; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < bd83ff3bbfb003832481c9bff999d12385f396ae; >= 067fe038e70f6e64960d26a79c4df5f1413d0f13, < 99696a2592bca641eb88cc9a80c90e591afebd0f; Linux 4.17.

Is there a fix for CVE-2022-49410?

Yes. Fixed in Linux 058cb6d86b9789377216c936506b346aaa1eb581, Linux 37443b3508b8cce6832f8d25cb4550b2f7801f50, Linux 4fdfb15e08598711dbf50daf56a33965232daf0e, Linux 99696a2592bca641eb88cc9a80c90e591afebd0f. Upgrade Linux to 99696a2592bca641eb88cc9a80c90e591afebd0f or later.

How do I check if I'm affected by CVE-2022-49410?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors