Description
In the Linux kernel, the following vulnerability has been resolved:

xfrm: fix refcount leak in xfrm_migrate_policy_find

syzkaller reported a memory leak in xfrm_policy_alloc:

BUG: memory leak
unreferenced object 0xffff888114d79000 (size 1024):
comm "syz.1.17", pid 931
...
xfrm_policy_alloc+0xb3/0x4b0 net/xfrm/xfrm_policy.c:432

The root cause is a double call to xfrm_pol_hold_rcu() in
xfrm_migrate_policy_find(). The lookup function already returns
a policy with held reference, making the second call redundant.

Remove the redundant xfrm_pol_hold_rcu() call to fix the refcount
imbalance and prevent the memory leak.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Published: 2026-05-06
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel had a reference‑counting bug in the xfrm policy migration function that caused a memory leak when syzkaller exercised the policy allocation path. The double call to xfrm_pol_hold_rcu() left a reference held, resulting in an unreferenced object that never freed. This leak can accumulate over time, potentially exhausting memory and degrading system stability. The fix removes the redundant call, restoring correct reference counting.

Affected Systems

All Linux kernel builds that include the xfrm subsystem prior to the commit that removes the redundant reference increment are affected. The issue is present in the kernel source tree regardless of distribution; any vendor using an unchanged kernel may be impacted.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA KEV, indicating limited public exploitation data. Because the leak only manifests during specific policy migration scenarios, an attacker would need influence over kernel traffic or the ability to trigger these conditions, making the likelihood of exploitation modest. However, the potential for memory exhaustion could lead to denial of service if the leak is sufficiently large or if the system is under heavy load.

Generated by OpenCVE AI on May 6, 2026 at 11:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that removes the redundant xfrm_pol_hold_rcu() call and rebuild or update to a kernel version containing the fix.
  • Reboot the system or perform a cold boot to ensure the updated kernel image is running.
  • After applying the patch, monitor system memory usage to confirm that the leak has been resolved and no new memory objects remain unfreed.

Generated by OpenCVE AI on May 6, 2026 at 11:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 06 May 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in xfrm_migrate_policy_find syzkaller reported a memory leak in xfrm_policy_alloc: BUG: memory leak unreferenced object 0xffff888114d79000 (size 1024): comm "syz.1.17", pid 931 ... xfrm_policy_alloc+0xb3/0x4b0 net/xfrm/xfrm_policy.c:432 The root cause is a double call to xfrm_pol_hold_rcu() in xfrm_migrate_policy_find(). The lookup function already returns a policy with held reference, making the second call redundant. Remove the redundant xfrm_pol_hold_rcu() call to fix the refcount imbalance and prevent the memory leak. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Title xfrm: fix refcount leak in xfrm_migrate_policy_find
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-06T07:40:23.286Z

Reserved: 2026-05-01T14:12:55.984Z

Link: CVE-2026-43090

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-06T10:16:22.313

Modified: 2026-05-06T10:16:22.313

Link: CVE-2026-43090

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-06T12:00:03Z

Weaknesses

No weakness.