CVE-2022-50436
kernel: ext4: don't set up encryption key during jbd2 transaction
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 56 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.46-2.ph4 |
Red Hat 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | kernel-rt +20 | affected | — |
| 9 | kernel +44 | 0:5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| 9 | bpftool | 0:7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | kernel-livepatch-5-14-21-150400-24-179-default | 1-150400.9.3.1 | SUSE-SU-2025:03628-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-124-default | 1-150500.11.3.1 | SUSE-SU-2025:03615-1 |
| 15.5 | cluster-md-kmp-default +17 | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.124.1.150500.6.59.1 | SUSE-SU-2025:03615-1 |
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.133.1 | SUSE-SU-2025:3716-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.133.1 | SUSE-SU-2025:3716-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
3 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.178-1 |
| 12 | linux | 6.1.4-1 |
| 13 | linux | 6.1.4-1 |
| 14 | linux | 6.1.4-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.4-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.178-1 |
| 12 | rootio-linux | 6.1.4-1 |
| 13 | rootio-linux | 6.1.4-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-69.76 |
ubuntu 3 releases · 20 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | linux-nvidia-tegra-5-15 | 5.15.0-1014.14~20.04.1 |
| 20.04 | linux-intel-iotg-5-15 | 5.15.0-1027.32~20.04.1 |
| 20.04 | linux-riscv-5-15 | 5.15.0-1030.34~20.04.1 |
| 20.04 | linux-gcp-5-15 | 5.15.0-1031.38~20.04.1 |
| 20.04 | linux-oracle-5-15 | 5.15.0-1032.38~20.04.1 |
| 20.04 | linux-aws-5-15 | 5.15.0-1033.37~20.04.1 |
22 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-50436
- git.kernel.org https://git.kernel.org/linus/4c0d5778385cb3618ff26a561ce41de2b7d9de70 (6.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750
- git.kernel.org https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b
- git.kernel.org https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1
- git.kernel.org https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70
- git.kernel.org https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025100159-CVE-2022-50436-ad37@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-50436
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-50436
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.