UBUNTU-CVE-2022-50007

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 18 Jun 2025, 11:15
Last modified:03 Jun 2026, 13:36

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

18 Jun 2025, 11:15
Published
Vulnerability first disclosed
03 Jun 2026, 13:36
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in __xfrm_policy_check() The issue happens on an error path in __xfrm_policy_check(). When the fetching process of the object `pols[1]` fails, the function simply returns 0, forgetting to decrement the reference count of `pols[0]`, which is incremented earlier by either xfrm_sk_policy_lookup() or xfrm_policy_lookup(). This may result in memory leaks. Fix it by decreasing the reference count of `pols[0]` in that path.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Systems

  • ubuntulinux

    all | < 4.15.0-201.212 | < 5.4.0-132.148 | < 5.15.0-53.59

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 4.15.0-1147.159 | < 5.4.0-1089.97 | < 5.15.0-1023.27

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1023.27~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1089.97~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2087.93 | all | < 5.4.0-1089.97+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1147.159~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1158.173~14.04.1 | < 4.15.0-1159.174~16.04.1 | all | < 5.4.0-1095.101 | < 5.15.0-1023.29

  • ubuntulinux-azure-4.15

    < 4.15.0-1158.173

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1023.29~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1095.101~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2067.73 | all | < 5.4.0-1095.101+fips1

  • ubuntulinux-bluefield

    < 5.4.0-1050.56 | all

  • ubuntulinux-fips

    all | < 4.15.0-1104.115 | < 5.4.0-1065.74

  • ubuntulinux-gcp

    < 4.15.0-1142.158~16.04.1 | all | < 5.4.0-1093.102 | < 5.15.0-1022.29

  • ubuntulinux-gcp-4.15

    < 4.15.0-1142.158

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1022.29~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1093.102~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2052.57 | all | < 5.4.0-1093.102+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1020.25

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

  • ubuntulinux-gke-5.4

    all

  • ubuntulinux-gkeop

    all | < 5.15.0-1008.12

Showing first 50 affected entries in server-rendered view.

References (10)