In the Linux kernel, the following vulnerability has been resolved:
xfrm: Update ipcomp_scratches with NULL when freed
Currently if ipcomp_alloc_scratches() fails to allocate memory ipcomp_scratches holds obsolete address. So when we try to free the percpu scratches using ipcomp_free_scratches() it tries to vfree non existent vm area. Described below:
static void * __percpu *ipcomp_alloc_scratches(void) { ... scratches = alloc_percpu(void *); if (!scratches) return NULL; ipcomp_scratches does not know about this allocation failure. Therefore holding the old obsolete address. ... }
So when we free,
static void ipcomp_free_scratches(void) { ... scratches = ipcomp_scratches; Assigning obsolete address from ipcomp_scratches
if (!scratches) return;
for_each_possible_cpu(i) vfree(*per_cpu_ptr(scratches, i)); Trying to free non existent page, causing warning: trying to vfree existent vm area. ... }
Fix this breakage by updating ipcomp_scrtches with NULL when scratches is freed
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-debuginfo-common-x86_64Upgrade python-perfUpgrade bpftool-debuginfoUpgrade kernel-toolsUpgrade python-perf-debuginfoUpgrade kernel-livepatch-5.15.75-48.135Upgrade bpftoolUpgrade kernel-livepatch-4.14.296-222.539Upgrade kernel-livepatch-5.10.155-138.670Upgrade perf-debuginfoUpgrade kernel-develUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-headersUpgrade kernel-tools-develUpgrade kernelUpgrade perf | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Oct 24, 2025 | Oct 24, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernel-abi-stablelistsUpgrade bpftoolUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade kernelUpgrade python3-perf | Feb 3, 2026 | Feb 2, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Oct 22, 2025 |
| Ubuntu | — | Upgrade linux-gcp-5.15Upgrade linux-azure-5.4Upgrade linux-gcp-fipsUpgrade linux-hwe-5.15Upgrade linux-azure-fde-5.15Upgrade linux-realtimeUpgrade linux-iotUpgrade linux-azure-5.15Upgrade linux-gkeopUpgrade linux-ibmUpgrade linux-oracleUpgrade linux-intel-iotgUpgrade linux-gcp-4.15Upgrade linux-oracle-5.15Upgrade linux-azure-4.15Upgrade linux-aws-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-lowlatencyUpgrade linux-aws-fipsUpgrade linux-hweUpgrade linux-hwe-5.4Upgrade linux-azureUpgrade linux-raspiUpgrade linux-kvmUpgrade linux-lowlatency-hwe-5.15Upgrade linux-nvidiaUpgrade linux-bluefieldUpgrade linux-raspi-5.4Upgrade linux-xilinx-zynqmpUpgrade linuxUpgrade linux-azure-fipsUpgrade linux-gcp-5.4Upgrade linux-gkeUpgrade linux-gcpUpgrade linux-aws-5.15Upgrade linux-fipsUpgrade linux-aws-hweUpgrade linux-ibm-5.4Upgrade linux-awsUpgrade linux-riscv-5.15Upgrade linux-oracle-5.4 | Oct 28, 2025 | Oct 24, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Oct 22, 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