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().
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-tools-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernelUpgrade perfUpgrade python-perfUpgrade kernel-livepatch-5.15.50-23.125Upgrade kernel-toolsUpgrade bpftoolUpgrade perf-debuginfoUpgrade python-perf-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade kernel-develUpgrade kernel-livepatch-5.10.126-117.518Upgrade kernel-tools-debuginfoUpgrade bpftool-debuginfoUpgrade kernel-debuginfo | May 22, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernel-toolsUpgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade kernel-tools-libsUpgrade kernelUpgrade bpftool | Jul 1, 2025 | Feb 26, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-azure-5.4Upgrade linux-awsUpgrade linux-realtimeUpgrade linux-azureUpgrade linux-gcp-fipsUpgrade linuxUpgrade linux-hwe-5.15Upgrade linux-raspi-5.4Upgrade linux-bluefieldUpgrade linux-ibm-5.4Upgrade linux-iotUpgrade linux-lowlatency-hwe-5.15Upgrade linux-gcpUpgrade linux-gcp-5.15Upgrade linux-oracle-5.4Upgrade linux-oracle-5.15Upgrade linux-raspiUpgrade linux-aws-5.4Upgrade linux-aws-fipsUpgrade linux-fipsUpgrade linux-intel-iotgUpgrade linux-gcp-5.4Upgrade linux-lowlatencyUpgrade linux-riscv-5.15Upgrade linux-azure-5.15Upgrade linux-nvidiaUpgrade linux-ibmUpgrade linux-intel-iotg-5.15Upgrade linux-oracleUpgrade linux-gkeopUpgrade linux-gkeUpgrade linux-hwe-5.4Upgrade linux-aws-5.15Upgrade linux-kvmUpgrade linux-azure-fips | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub