{"id":"CVE-2022-50382","aliases":["CVE-2022-50382"],"related":[],"kind":"vulnerability","state":"published","title":"padata: Always leave BHs disabled when running ->parallel()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npadata: Always leave BHs disabled when running ->parallel()\n\nA deadlock can happen when an overloaded system runs ->parallel() in the\ncontext of the current task:\n\n    padata_do_parallel\n      ->parallel()\n        pcrypt_aead_enc/dec\n          padata_do_serial\n            spin_lock(&reorder->lock) // BHs still enabled\n              <interrupt>\n                ...\n                  __do_softirq\n                    ...\n                      padata_do_serial\n                        spin_lock(&reorder->lock)\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npadata: Always leave BHs disabled when running ->parallel()\n\nA deadlock can happen when an overloaded system runs ->parallel() in the\ncontext of the current task:\n\n    padata_do_parallel\n      ->parallel()\n        pcrypt_aead_enc/dec\n          padata_do_serial\n            spin_lock(&reorder->lock) // BHs still enabled\n              <interrupt>\n                ...\n                  __do_softirq\n                    ...\n                      padata_do_serial\n                        spin_lock(&reorder->lock)\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.","source":"cvelist"}],"published":"2025-09-18T13:33:04.193Z","modified":"2026-06-17T05:23:23.567Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"4611ce22468895acd61fee9ac1da810d60617d9a","fixed":"8e0681dd4eee029eb1d533d06993f7cb091efb73","status":"affected"},{"type":"git","introduced":"4611ce22468895acd61fee9ac1da810d60617d9a","fixed":"17afa98bccec4f52203508b3f49b5f948c6fd6ac","status":"affected"},{"type":"git","introduced":"4611ce22468895acd61fee9ac1da810d60617d9a","fixed":"7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d","status":"affected"},{"type":"git","introduced":"4611ce22468895acd61fee9ac1da810d60617d9a","fixed":"6cfa9e60c0f88fdec6368e081ab968411cc706b1","status":"affected"},{"type":"git","introduced":"4611ce22468895acd61fee9ac1da810d60617d9a","fixed":"34c3a47d20ae55b3600fed733bf96eafe9c500d5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8e0681dd4eee029eb1d533d06993f7cb091efb73","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17afa98bccec4f52203508b3f49b5f948c6fd6ac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cfa9e60c0f88fdec6368e081ab968411cc706b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34c3a47d20ae55b3600fed733bf96eafe9c500d5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:48:04.681Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50382","url":"https://www.cve.org/CVERecord?id=CVE-2022-50382","licence":"CVE Terms of Use","modified":"2026-05-11T19:18:27.430Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50382","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50382","licence":"Public domain","modified":"2026-06-17T05:23:23.567Z"}],"updatedAt":"2026-11-25T22:58:21.190Z","epss":{"score":0.00125,"percentile":0.02417,"date":"2026-12-01T12:00:22.000Z"}}