xfs: fix UAF in xchk_btree_check_block_owner
In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in xchk_btree_check_block_owner We cannot dereference bs->cur when trying to determine if bs->cur aliases bs->sc->sa.{bno,rmap}_cur after the latter has been freed. Fix this by sampling before type before any freeing could happen. The correct temporal ordering was broken when we removed xfs_btnum_t.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.72, 6.18.11, 6.19.1
- CVEs
- CVE-2026-23223
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:31 UTC · Revision 1
Source evidence
xfs: fix UAF in xchk_btree_check_block_owner
core-osv · Original sourcePublished 18 Feb 2026, 14:53 UTC
In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in xchk_btree_check_block_owner We cannot dereference bs->cur when trying to determine if bs->cur aliases bs->sc->sa.{bno,rmap}_cur after the latter has been freed. Fix this by sampling before type before any freeing could happen. The correct temporal ordering was broken when we removed xfs_btnum_t.
osv:CVE-2026-23223
Kernel
Fixed versions: 6.12.72, 6.18.11, 6.19.1
Complete source record
{
"id": "54c2ad9147a48ebf11c1270f44cba029e0d612f30427b1ea65d81f371fb9e707",
"url": "https://osv.dev/vulnerability/CVE-2026-23223",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "xfs: fix UAF in xchk_btree_check_block_owner",
"summary": "In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in xchk_btree_check_block_owner We cannot dereference bs->cur when trying to determine if bs->cur aliases bs->sc->sa.{bno,rmap}_cur after the latter has been freed. Fix this by sampling before type before any freeing could happen. The correct temporal ordering was broken when we removed xfs_btnum_t.",
"evidence": "osv:CVE-2026-23223",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.72",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-23223",
"aliases": [
"CVE-2026-23223"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ec793e690f801d97a7ae2a0d429fea1fee4d44aa"
},
{
"fixed": "1d411278dda293a507cb794db7d9ed3511c685c6"
},
{
"fixed": "ed82e7949f5cac3058f4100f3cd670531d41a266"
},
{
"fixed": "ba5264610423d9653aa36920520902d83841bcfd"
},
{
"fixed": "1c253e11225bc5167217897885b85093e17c2217"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23223.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.72"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.1"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23223.json"
}
}
],
"modified": "2026-10-28T02:30:23.785895820Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1c253e11225bc5167217897885b85093e17c2217",
"https://git.kernel.org/stable/c/1d411278dda293a507cb794db7d9ed3511c685c6",
"https://git.kernel.org/stable/c/ba5264610423d9653aa36920520902d83841bcfd",
"https://git.kernel.org/stable/c/ed82e7949f5cac3058f4100f3cd670531d41a266",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23223.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23223",
"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/2026/23xxx/CVE-2026-23223.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23223",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 489888,
"published_at": "2026-02-18T14:53:26.603+00:00"
}