Back to CVE catalog
CVE-2022-50436

Don't set up encryption key during jbd2 transaction in ext4

Linux Linux

At a glance

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 description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

5.5Medium
Published:
Updated:
EPSS:
0.137%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
5.10Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: 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

Git commit ranges (source code)

  • From commit a80f7fcf18672ae4971a6b713b58c0d389aa99fe; before commit 23ad034760dd38e12b0e0e1b28b9629f330810a1
  • From commit a80f7fcf18672ae4971a6b713b58c0d389aa99fe; before commit 6220ec405571ded17efedc56587190b542adf246
  • From commit a80f7fcf18672ae4971a6b713b58c0d389aa99fe; before commit 206dd3acfb9bca54a25b228c7c7c2257eedde09b
  • From commit a80f7fcf18672ae4971a6b713b58c0d389aa99fe; before commit 1ba993208bcfd691e241483420a2a761d3f15750
  • From commit a80f7fcf18672ae4971a6b713b58c0d389aa99fe; before commit 4c0d5778385cb3618ff26a561ce41de2b7d9de70
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 9Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux CRB (v. 9)Affected versions:Source does not specify a version range
Vendor:SUSESUSE Liberty Linux 9Affected versions:Source does not specify a version range
Vendor:SUSESUSE Liberty Linux 9.6 EMSAffected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Availability Extension 15 SP4Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSAffected versions:Source does not specify a version range

1–10 of 27 · Page 1 of 3

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)5.1 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories13

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences