{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50382","id":"CVE-2022-50382","title":"padata: Always leave BHs disabled when running ->parallel()","description":"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           ","descriptionLong":"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.","published":"2025-09-18T13:33:04.193Z","updated":"2026-10-28T02:30:43.851694738Z","reserved":"2025-09-17T14:53:06.996Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4611ce22468895acd61fee9ac1da810d60617d9a","lessThan":"8e0681dd4eee029eb1d533d06993f7cb091efb73","status":"affected","versionType":"git"},{"version":"4611ce22468895acd61fee9ac1da810d60617d9a","lessThan":"17afa98bccec4f52203508b3f49b5f948c6fd6ac","status":"affected","versionType":"git"},{"version":"4611ce22468895acd61fee9ac1da810d60617d9a","lessThan":"7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d","status":"affected","versionType":"git"},{"version":"4611ce22468895acd61fee9ac1da810d60617d9a","lessThan":"6cfa9e60c0f88fdec6368e081ab968411cc706b1","status":"affected","versionType":"git"},{"version":"4611ce22468895acd61fee9ac1da810d60617d9a","lessThan":"34c3a47d20ae55b3600fed733bf96eafe9c500d5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8e0681dd4eee029eb1d533d06993f7cb091efb73","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/17afa98bccec4f52203508b3f49b5f948c6fd6ac","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7337adb20fcc0aebb50eaff2bc5a8dd9a7c6743d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6cfa9e60c0f88fdec6368e081ab968411cc706b1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/34c3a47d20ae55b3600fed733bf96eafe9c500d5","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50382.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50382","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00125,"epssPercentile":0.02306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50382","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50382","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50382","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50382","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}