CVE-2022-49815

Source
https://cve.org/CVERecord?id=CVE-2022-49815
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49815.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49815
Downstream
Published
2025-05-01T14:09:39.016Z
Modified
2026-03-12T03:25:49.303344Z
Summary
erofs: fix missing xas_retry() in fscache mode
Details

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 XARETRYENTRY if there's process modifying the xarray concurrently. This will cause oops when referring to the invalid entry.

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49815.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d435d53228dd039fffecae123b8c138af6f96f99
Fixed
dbc98fe99e17ed18f2f272d5fe880d844b1c68c3
Fixed
37020bbb71d911431e16c2c940b97cf86ae4f2f6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49815.json"