CVE-2022-50436

ext4: don't set up encryption key during jbd2 transaction

MEDIUM
5.5
CVSS Score
Published: October 1, 2025 at 11:42 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.1635.10 ≤ v < 5.15.875.10 ≤ v < 6.0.185.10 ≤ v < 6.1.45.10 ≤ v < 6.25.10.1 ≤ v < 5.10.1635.11 ≤ v < 5.15.875.16 ≤ v < 6.0.186.1 ≤ v < 6.1.45.105.10 rc45.10 rc55.10 rc65.10 rc7a80f7fcf18672ae4971a6b713b58c0d389aa99fe
Vendor states this is fixed in 1ba993208bcfd691e241483420a2a761d3f15750 (fixed)
Vendor states this is fixed in 206dd3acfb9bca54a25b228c7c7c2257eedde09b (fixed)
Vendor states this is fixed in 23ad034760dd38e12b0e0e1b28b9629f330810a1 (fixed)
Vendor states this is fixed in 4c0d5778385cb3618ff26a561ce41de2b7d9de70 (fixed)
Vendor states this is fixed in 6220ec405571ded17efedc56587190b542adf246 (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.87 (unaffected)
Vendor states this is fixed in 6.0.18 (unaffected)
Vendor states this is fixed in 6.1.4 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card