erofs: fix missing xas_retry() in fscache mode
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.0.10
- CVEs
- CVE-2022-49815
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 14:29 UTC · Revision 1
Source evidence
erofs: fix missing xas_retry() in fscache mode
core-osv · Original sourcePublished 1 May 2025, 14:09 UTC
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.
osv:CVE-2022-49815
Kernel
Fixed versions: 6.0.10
Complete source record
{
"id": "d5217c8e383760f527d3ebb3bb52e55209a0fc0b14782367fdad90c9d0e16ddf",
"url": "https://osv.dev/vulnerability/CVE-2022-49815",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "erofs: fix missing xas_retry() in fscache mode",
"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.",
"evidence": "osv:CVE-2022-49815",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.0.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-49815",
"aliases": [
"CVE-2022-49815"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d435d53228dd039fffecae123b8c138af6f96f99"
},
{
"fixed": "dbc98fe99e17ed18f2f272d5fe880d844b1c68c3"
},
{
"fixed": "37020bbb71d911431e16c2c940b97cf86ae4f2f6"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49815.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.19.0"
},
{
"fixed": "6.0.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49815.json"
}
}
],
"modified": "2026-10-28T02:30:51.392879230Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/37020bbb71d911431e16c2c940b97cf86ae4f2f6",
"https://git.kernel.org/stable/c/dbc98fe99e17ed18f2f272d5fe880d844b1c68c3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49815.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49815",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49815.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49815",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519632,
"published_at": "2025-05-01T14:09:39.016+00:00"
}