# CVE-2022-50382: padata: Always leave BHs disabled when running ->parallel()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:04.193Z
- Modified: 2026-06-17T05:23:23.567Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4611ce22468895acd61fee9ac1da810d60617d9a before 8e0681dd4eee029eb1d533d06993f7cb091efb73; from 4611ce22468895acd61fee9ac1da810d60617d9a before 17afa98bccec4f52203508b3f49b5f948c6fd6ac; from 4611ce22468895acd61fee9ac1da810d60617d9a before 7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d; from 4611ce22468895acd61fee9ac1da810d60617d9a before 6cfa9e60c0f88fdec6368e081ab968411cc706b1; from 4611ce22468895acd61fee9ac1da810d60617d9a before 34c3a47d20ae55b3600fed733bf96eafe9c500d5; 5.8 (not affected: before 5.8; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.8 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8e0681dd4eee029eb1d533d06993f7cb091efb73> (patch)
- <https://git.kernel.org/stable/c/17afa98bccec4f52203508b3f49b5f948c6fd6ac> (patch)
- <https://git.kernel.org/stable/c/7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d> (patch)
- <https://git.kernel.org/stable/c/6cfa9e60c0f88fdec6368e081ab968411cc706b1> (patch)
- <https://git.kernel.org/stable/c/34c3a47d20ae55b3600fed733bf96eafe9c500d5> (patch)

## Sources

- CVE List: [CVE-2022-50382](https://www.cve.org/CVERecord?id=CVE-2022-50382), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50382](https://nvd.nist.gov/vuln/detail/CVE-2022-50382), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50382 · Whole record: https://cve.day/CVE-2022-50382.json · Rebuilt by cve.day 2026-11-25T22:58:21.190Z
