Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

tracing: Fix potential double free in create_var_ref()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2022-49410

Published

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().

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-49410

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/trace/trace_events_hist.c"
                    ],
                    "versions": [
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "f8b383f83cb573152c577eca1ef101e89995b72a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "c27f744ceefadc7bbeb14233b6abc150ced617d2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "058cb6d86b9789377216c936506b346aaa1eb581",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "37443b3508b8cce6832f8d25cb4550b2f7801f50",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "4fdfb15e08598711dbf50daf56a33965232daf0e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "bd83ff3bbfb003832481c9bff999d12385f396ae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "067fe038e70f6e64960d26a79c4df5f1413d0f13",
                            "lessThan": "99696a2592bca641eb88cc9a80c90e591afebd0f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/trace/trace_events_hist.c"
                    ],
                    "versions": [
                        {
                            "version": "4.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.247",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.198",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.121",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.46",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.14",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.3",
                            "lessThanOrEqual": "5.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 05:15 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current