ext4: don't set up encryption key during jbd2 transaction
Published Oct 1, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.10%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.10StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.10
- Version 5.10.163StatusunaffectedConstraints<=5.10.*
- Version 5.15.87StatusunaffectedConstraints<=5.15.*
- Version 6.0.18StatusunaffectedConstraints<=6.0.*
- Version 6.1.4StatusunaffectedConstraints<=6.1.*
- Version 6.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 5.10.1 · < 5.10.163
- ≥ 5.11 · < 5.15.87
- ≥ 5.16 · < 6.0.18
- ≥ 6.1 · < 6.1.4
- 5.10
- 5.10
- 5.10
- 5.10
- 5.10
No data.
Red Hat Enterprise Linux 9
kernel-0:5.14.0-284.11.1.el9_2
Fixed · RHSA-2023:2458
Red Hat Enterprise Linux 9
kernel-0:5.14.0-284.11.1.el9_2
Fixed · RHSA-2023:2458
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-284.11.1.el9_2 | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-284.11.1.el9_2 | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.10% (0.00101) | 0.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.09% (0.00093) | 0.72th | v5 (v2026.06.15) |
| Oct 1, 2025 | 0.01% (0.00010) | 0.90th | v4 (v2025.03.14) |
References (10)
- https://access.redhat.com/security/cve/CVE-2022-50436 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2400725 Issue Tracking
- https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750 Patch
- https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b Patch
- https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1 Patch
- https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70 Patch
- https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246 Patch
- https://lore.kernel.org/linux-cve-announce/2025100159-CVE-2022-50436-ad37@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50436
- https://www.cve.org/CVERecord?id=CVE-2022-50436
Change history (0)
No recorded changes yet.