CVE-2022-50022

Aliases:UBUNTU-CVE-2022-50022DEBIAN-CVE-2022-50022
Advisory lineage Upstream: 0 Downstream: 18
Modified
Published: 18 Jun 2025, 11:01
Last modified:05 Aug 2026, 08:57

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.24% LOW
0% probability +0.22%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

18 Jun 2025, 11:01
Published
Vulnerability first disclosed
05 Aug 2026, 08:57
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: drivers:md:fix a potential use-after-free bug In line 2884, "raid5_release_stripe(sh);" drops the reference to sh and may cause sh to be released. However, sh is subsequently used in lines 2886 "if (sh->batch_head && sh != sh->batch_head)". This may result in an use-after-free bug. It can be fixed by moving "raid5_release_stripe(sh);" to the bottom of the function.

CVSS Metrics

  • v4.0HIGHScore: 7.3CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.24% Percentile: 15%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • debianlinux

    < 5.10.140-1 | < 6.0.2-1 | < 6.0.2-1 | < 6.0.2-1

  • ubuntulinux

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

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 4.15.0-1143.155 | < 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-2082.88 | all | < 5.4.0-1089.97+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1143.155~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1157.172~14.04.2 | < 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-1157.172

  • 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-2066.72 | all | < 5.4.0-1095.101+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1050.56

  • ubuntulinux-fips

    all | < 4.15.0-1100.111 | < 5.4.0-1065.74

  • ubuntulinux-gcp

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

  • ubuntulinux-gcp-4.15

    < 4.15.0-1138.154

  • 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-2047.52 | 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

Showing first 50 affected entries in server-rendered view.

References (11)