CVE-2022-50436

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

State
Published
Severity
Not scored
Published
Oct 1, 2025
Updated
May 11, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a80f7fcf18672ae4971a6b713b58c0d389aa99fe to before 23ad034760dd38e12b0e0e1b28b9629f330810a1Affected
  • a80f7fcf18672ae4971a6b713b58c0d389aa99fe to before 6220ec405571ded17efedc56587190b542adf246Affected
  • a80f7fcf18672ae4971a6b713b58c0d389aa99fe to before 206dd3acfb9bca54a25b228c7c7c2257eedde09bAffected
  • a80f7fcf18672ae4971a6b713b58c0d389aa99fe to before 1ba993208bcfd691e241483420a2a761d3f15750Affected
  • a80f7fcf18672ae4971a6b713b58c0d389aa99fe to before 4c0d5778385cb3618ff26a561ce41de2b7d9de70Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.18 through 6.0.*Not affected
  • 6.1.4 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.