Back
CVE-2022-50436
ext4: don't set up encryption key during jbd2 transaction
Medium5.5EPSS 0.10%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: don't set up encryption key during jbd2 transaction Commit a80f7fcf1867 ("ext4: fixup ext4_fc_track_* functions' signature") extended the scope of the transaction in ext4_unlink() too far, making it include the call to ext4_find_entry(). However, ext4_find_entry() can deadlock when called from within a transaction because it may need to set up the directory's encryption key. Fix this by restoring the transaction to its original scope.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.10% · top 99% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected a80f7fcf18672ae4971a6b713b58c0d389aa99fe – < 23ad034760dd38e12b0e0e1b28b9629f330810a1
- affected a80f7fcf18672ae4971a6b713b58c0d389aa99fe – < 6220ec405571ded17efedc56587190b542adf246
- affected a80f7fcf18672ae4971a6b713b58c0d389aa99fe – < 206dd3acfb9bca54a25b228c7c7c2257eedde09b
- affected a80f7fcf18672ae4971a6b713b58c0d389aa99fe – < 1ba993208bcfd691e241483420a2a761d3f15750
- affected a80f7fcf18672ae4971a6b713b58c0d389aa99fe – < 4c0d5778385cb3618ff26a561ce41de2b7d9de70
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.87 – ≤ 5.15.*
- unaffected 6.0.18 – ≤ 6.0.*
- unaffected 6.1.4 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References (5)
- https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1 (opens in a new tab)
- https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246 (opens in a new tab)
- https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b (opens in a new tab)
- https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750 (opens in a new tab)
- https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50436)Record last updated .