CVE-2022-49815
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | d435d53228dd039fffecae123b8c138af6f96f99 < dbc98fe99e17ed18f2f272d5fe880d844b1c68c3 | affected |
| Linux | Linux | d435d53228dd039fffecae123b8c138af6f96f99 < 37020bbb71d911431e16c2c940b97cf86ae4f2f6 | affected |
| Linux | Linux | 5.19 | affected |
| Linux | Linux | 0 < 5.19 | unaffected |
| Linux | Linux | 6.0.10 <= 6.0.* | unaffected |
| Linux | Linux | 6.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/dbc98fe99e17ed18f2f272d5fe880d844b1c68c3
- https://git.kernel.org/stable/c/37020bbb71d911431e16c2c940b97cf86ae4f2f6
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.