CVE-2022-50382 Affecting perf package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS9-PERF-12931308
  • published19 Sept 2025
  • disclosed18 Sept 2025

Introduced: 18 Sep 2025

NewCVE-2022-50382  (opens in a new tab)

How to fix?

There is no fixed version for Centos:9 perf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Centos. See How to fix? for Centos:9 relevant fixed versions and status.

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

padata: Always leave BHs disabled when running ->parallel()

A deadlock can happen when an overloaded system runs ->parallel() in the context of the current task:

padata_do_parallel
  ->parallel()
    pcrypt_aead_enc/dec
      padata_do_serial
        spin_lock(&reorder->lock) // BHs still enabled
          <interrupt>
            ...
              __do_softirq
                ...
                  padata_do_serial
                    spin_lock(&reorder->lock)

It's a bug for BHs to be on in _do_serial as Steffen points out, so ensure they're off in the "current task" case like they are in padata_parallel_worker to avoid this situation.

CVSS Base Scores

version 3.1