{"id":"CVE-2022-50436","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-10-01T12:15:35.570","lastModified":"2026-06-17T05:23:33.237","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/ext4/ext4.h","fs/ext4/fast_commit.c","fs/ext4/namei.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe","lessThan":"23ad034760dd38e12b0e0e1b28b9629f330810a1","versionType":"git","status":"affected"},{"version":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe","lessThan":"6220ec405571ded17efedc56587190b542adf246","versionType":"git","status":"affected"},{"version":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe","lessThan":"206dd3acfb9bca54a25b228c7c7c2257eedde09b","versionType":"git","status":"affected"},{"version":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe","lessThan":"1ba993208bcfd691e241483420a2a761d3f15750","versionType":"git","status":"affected"},{"version":"a80f7fcf18672ae4971a6b713b58c0d389aa99fe","lessThan":"4c0d5778385cb3618ff26a561ce41de2b7d9de70","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/ext4/ext4.h","fs/ext4/fast_commit.c","fs/ext4/namei.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","versionType":"semver","status":"unaffected"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.87","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.0.18","lessThanOrEqual":"6.0.*","versionType":"semver","status":"unaffected"},{"version":"6.1.4","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.1","versionEndExcluding":"5.10.163","matchCriteriaId":"809291F2-D9B0-4C53-8C0B-6B27967500AD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.87","matchCriteriaId":"7B9E5B1C-CD46-4790-9500-615863850401"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.0.18","matchCriteriaId":"08D38C5F-9644-4549-BBA6-F0860F024D14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.4","matchCriteriaId":"BC4189D9-5478-4E88-A78D-9C1DE29B217C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:*","matchCriteriaId":"B29EBB93-107F-4ED6-8DE3-C2732BC659C3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.10:rc4:*:*:*:*:*:*","matchCriteriaId":"0CD159FA-170F-4389-9085-CACCF97ABB1E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.10:rc5:*:*:*:*:*:*","matchCriteriaId":"F0390D83-6C17-4557-BE8D-B659E04F565A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.10:rc6:*:*:*:*:*:*","matchCriteriaId":"4120E4B3-B66D-4ACE-8570-1DD4DF20A324"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.10:rc7:*:*:*:*:*:*","matchCriteriaId":"73D60343-647D-4B5D-AA6D-CE87C462E368"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}