Files
vuln-cve/data/2023/52xxx/CVE-2023-52760.json
T

203 lines
9.7 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-52760",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-21T15:19:24.237Z",
"datePublished": "2024-05-21T15:30:46.427Z",
"dateUpdated": "2026-08-05T09:11:15.944Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:11:15.944Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix slab-use-after-free in gfs2_qd_dealloc\n\nIn gfs2_put_super(), whether withdrawn or not, the quota should\nbe cleaned up by gfs2_quota_cleanup().\n\nOtherwise, struct gfs2_sbd will be freed before gfs2_qd_dealloc (rcu\ncallback) has run for all gfs2_quota_data objects, resulting in\nuse-after-free.\n\nAlso, gfs2_destroy_threads() and gfs2_quota_cleanup() is already called\nby gfs2_make_fs_ro(), so in gfs2_put_super(), after calling\ngfs2_make_fs_ro(), there is no need to call them again."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is reached via local mount/umount and quotactl on a GFS2 block device (loop or disk) with lock_nolock; it is not reachable from the network stack or remote protocols.\nAC:L - A local attacker who can mount a GFS2 image read-only, create quota_data via quotactl, and unmount reliably hits the missing gfs2_quota_cleanup path; a public C repro exists and no uncontrolled race is required.\nPR:L - Triggering requires only the ability to mount/unmount a local GFS2 filesystem and issue quotactl (own-uid Q_GETQUOTA needs no CAP_SYS_ADMIN); consistent with other local GFS2 CVEs scored PR:L, choosing the higher-severity option over PR:H.\nUI:N - The attacker performs mount, quotactl, and umount themselves; no separate victim action is required.\nS:U - Impact is confined to the local kernel authority (memory corruption / privilege escalation within the host); this is not a VM, IOMMU, or sandbox boundary escape.\nC:H - This is a slab use-after-free write against the freed gfs2_sbd object from an RCU callback, which can be leveraged to corrupt adjacent heap objects and obtain arbitrary read primitives.\nI:H - The UAF write (atomic_dec_and_test on freed sdp->sd_quota_count, plus wake_up) enables heap corruption and control-flow hijacking primitives typical of kernel slab UAFs.\nA:H - The use-after-free reliably causes KASAN-detectable corruption and can oops/panic the kernel during unmount softirq RCU processing."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/gfs2/super.c"
],
"versions": [
{
"version": "f66af88e33212b57ea86da2c5d66c0d9d5c46344",
"lessThan": "08a28272faa750d4357ea2cb48d2baefd778ea81",
"status": "affected",
"versionType": "git"
},
{
"version": "f66af88e33212b57ea86da2c5d66c0d9d5c46344",
"lessThan": "bdcb8aa434c6d36b5c215d02a9ef07551be25a37",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/gfs2/super.c"
],
"versions": [
{
"version": "6.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.6",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.3",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.7",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.6.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.7"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/08a28272faa750d4357ea2cb48d2baefd778ea81"
},
{
"url": "https://git.kernel.org/stable/c/bdcb8aa434c6d36b5c215d02a9ef07551be25a37"
}
],
"title": "gfs2: Fix slab-use-after-free in gfs2_qd_dealloc",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-52760",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-05-22T18:26:22.936431Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:24:04.103Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/7ad4e0a4f61c57c3ca291ee010a9d677d0199fba",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/08a28272faa750d4357ea2cb48d2baefd778ea81",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/bdcb8aa434c6d36b5c215d02a9ef07551be25a37",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T21:50:24.860Z"
}
}
]
}
}