CVE-2022-50382 padata: Always leave BHs disabled when running ->parallel()
A race condition in the Linux kernel padata subsystem can cause a deadlock, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50382?
CVE-2022-50382 is a medium-severity vulnerability in Linux kernel, published on 18 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2022-50382?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50382?
Apply the vendor's patch.
Is CVE-2022-50382 being exploited?
There is no known exploitation of CVE-2022-50382 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50382, GHSA-hffq-87g8-8r3x, UBUNTU-CVE-2022-50382.