{"id":"CVE-2022-50436","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"ext4: don't set up encryption key during jbd2 transaction","description":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: don't set up encryption key during jbd2 transaction\n\nCommit a80f7fcf1867 (\"ext4: fixup ext4_fc_track_* functions' signature\")\nextended the scope of the transaction in ext4_unlink() too far, making\nit include the call to ext4_find_entry().  However, ext4_find_entry()\ncan deadlock when called from within a transaction because it may need\nto set up the directory's encryption key.\n\nFix this by restoring the transaction to its original scope.","ai_summary":null,"severity":"medium","cvss":{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00108,"percentile":0.01276,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"Linux","product":"Linux","versions":">= a80f7fcf18672ae4971a6b713b58c0d389aa99fe, < 23ad034760dd38e12b0e0e1b28b9629f330810a1; >= a80f7fcf18672ae4971a6b713b58c0d389aa99fe, < 6220ec405571ded17efedc56587190b542adf246; >= a80f7fcf18672ae4971a6b713b58c0d389aa99fe, < 206dd3acfb9bca54a25b228c7c7c2257eedde09b; >= a80f7fcf18672ae4971a6b713b58c0d389aa99fe, < 1ba993208bcfd691e241483420a2a761d3f15750; >= a80f7fcf18672ae4971a6b713b58c0d389aa99fe, < 4c0d5778385cb3618ff26a561ce41de2b7d9de70","source":"cvelist"},{"vendor":"Linux","product":"Linux","versions":"5.10","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade Linux to 4c0d5778385cb3618ff26a561ce41de2b7d9de70 or later.","technologies":[],"references":[{"url":"https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1","kind":"patch"},{"url":"https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246","kind":"patch"},{"url":"https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b","kind":"patch"},{"url":"https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750","kind":"patch"},{"url":"https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70","kind":"patch"}],"workarounds":null,"vendors":["linux"],"products":["linux","linux_kernel"],"cpes":["cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:5.10:rc4:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:5.10:rc5:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:5.10:rc6:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:5.10:rc7:*:*:*:*:*:*"],"published_at":"2025-10-01T11:42:13.538Z","modified_at":"2026-06-17T05:23:33.237Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50436"}],"links":{"html":"https://flawdb.com/CVE-2022-50436","markdown":"https://flawdb.com/CVE-2022-50436.md","json":"https://flawdb.com/api/v1/entries/CVE-2022-50436"}}