CVE-2026-43090

xfrm: fix refcount leak in xfrm_migrate_policy_find

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 563d5ca93e883b9dcb4b7dc8967ac569fd91820d to before 21e235a36cfb6d145cefb10728f12f5dc5412f54Affected
  • 563d5ca93e883b9dcb4b7dc8967ac569fd91820d to before 836ee1b0426ea3db31531e9581cc32f513d24e32Affected
  • 563d5ca93e883b9dcb4b7dc8967ac569fd91820d to before 70c2a89a3bc207c3bfbf6f21bb439809e0a4a27aAffected
  • 563d5ca93e883b9dcb4b7dc8967ac569fd91820d to before 83317cce60a032c49480dcdabe146435bd689d03Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.83 through 6.12.*Not affected
  • 6.18.24 through 6.18.*Not affected
  • 6.19.14 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.