{"id":"CVE-2022-50382","summary":"padata: Always leave BHs disabled when running -\u003eparallel()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npadata: Always leave BHs disabled when running -\u003eparallel()\n\nA deadlock can happen when an overloaded system runs -\u003eparallel() in the\ncontext of the current task:\n\n    padata_do_parallel\n      -\u003eparallel()\n        pcrypt_aead_enc/dec\n          padata_do_serial\n            spin_lock(&reorder-\u003elock) // BHs still enabled\n              \u003cinterrupt\u003e\n                ...\n                  __do_softirq\n                    ...\n                      padata_do_serial\n                        spin_lock(&reorder-\u003elock)\n\nIt's a bug for BHs to be on in _do_serial as Steffen points out, so\nensure they're off in the \"current task\" case like they are in\npadata_parallel_worker to avoid this situation.","modified":"2026-04-02T08:28:27.856765Z","published":"2025-09-18T13:33:04.193Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50382.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/17afa98bccec4f52203508b3f49b5f948c6fd6ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34c3a47d20ae55b3600fed733bf96eafe9c500d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cfa9e60c0f88fdec6368e081ab968411cc706b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e0681dd4eee029eb1d533d06993f7cb091efb73"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50382.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50382"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4611ce22468895acd61fee9ac1da810d60617d9a"},{"fixed":"8e0681dd4eee029eb1d533d06993f7cb091efb73"},{"fixed":"17afa98bccec4f52203508b3f49b5f948c6fd6ac"},{"fixed":"7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d"},{"fixed":"6cfa9e60c0f88fdec6368e081ab968411cc706b1"},{"fixed":"34c3a47d20ae55b3600fed733bf96eafe9c500d5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50382.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}