{"id":"CVE-2022-50436","summary":"ext4: don't set up encryption key during jbd2 transaction","details":"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.","modified":"2026-03-20T11:47:27.965993Z","published":"2025-10-01T11:42:13.538Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50436.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750"},{"type":"WEB","url":"https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50436.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50436"},{"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":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe"},{"fixed":"23ad034760dd38e12b0e0e1b28b9629f330810a1"},{"fixed":"6220ec405571ded17efedc56587190b542adf246"},{"fixed":"206dd3acfb9bca54a25b228c7c7c2257eedde09b"},{"fixed":"1ba993208bcfd691e241483420a2a761d3f15750"},{"fixed":"4c0d5778385cb3618ff26a561ce41de2b7d9de70"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50436.json"}}],"schema_version":"1.7.5"}