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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2025-09-18 14:15
Updated : 2026-01-14 19:16
NVD link : CVE-2022-50382
Mitre link : CVE-2022-50382
CVE.ORG link : CVE-2022-50382
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-667
Improper Locking
