CVE-2022-49815

erofs: fix missing xas_retry() in fscache mode

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

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

erofs: fix missing xas_retry() in fscache mode

The xarray iteration only holds the RCU read lock and thus may encounter XA_RETRY_ENTRY if there's process modifying the xarray concurrently. This will cause oops when referring to the invalid entry.

Fix this by adding the missing xas_retry(), which will make the iteration wind back to the root node if XA_RETRY_ENTRY is encountered.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d435d53228dd039fffecae123b8c138af6f96f99 to before dbc98fe99e17ed18f2f272d5fe880d844b1c68c3Affected
  • d435d53228dd039fffecae123b8c138af6f96f99 to before 37020bbb71d911431e16c2c940b97cf86ae4f2f6Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.0.10 through 6.0.*Not affected
  • 6.1 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.