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-livepatch-5.15.50-23.125Upgrade perfUpgrade kernelUpgrade python-perfUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-develUpgrade kernel-livepatch-5.10.126-117.518Upgrade kernel-tools-debuginfoUpgrade kernel-debuginfoUpgrade kernel-headersUpgrade bpftool-debuginfoUpgrade kernel-develUpgrade kernel-debuginfo-common-x86_64Upgrade python-perf-debuginfoUpgrade perf-debuginfo | May 22, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade bpftoolUpgrade kernelUpgrade kernel-tools-libsUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade python3-perf | Jul 1, 2025 | Feb 26, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-gkeUpgrade linux-kvmUpgrade linux-ibmUpgrade linux-aws-fipsUpgrade linux-oracle-5.15Upgrade linux-hwe-5.4Upgrade linux-oracle-5.4Upgrade linux-lowlatencyUpgrade linux-nvidiaUpgrade linux-gcp-5.15Upgrade linux-gkeopUpgrade linux-azure-5.15Upgrade linux-fipsUpgrade linux-intel-iotg-5.15Upgrade linux-intel-iotgUpgrade linux-gcp-5.4Upgrade linux-azure-fipsUpgrade linux-raspiUpgrade linux-aws-5.15Upgrade linux-oracleUpgrade linux-aws-5.4Upgrade linux-riscv-5.15Upgrade linux-realtimeUpgrade linux-hwe-5.15Upgrade linux-gcp-fipsUpgrade linux-azure-5.4Upgrade linux-lowlatency-hwe-5.15Upgrade linux-gcpUpgrade linuxUpgrade linux-iotUpgrade linux-ibm-5.4Upgrade linux-bluefieldUpgrade linux-awsUpgrade linux-raspi-5.4Upgrade linux-azure | 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