186 lines
9.9 KiB
JSON
186 lines
9.9 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-97584",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-09-24T16:01:01.156Z",
|
|
"datePublished": "2026-09-25T10:22:04.322Z",
|
|
"dateUpdated": "2026-10-19T09:09:47.944Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-10-19T09:09:47.944Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix incorrect free in candidate cleanup in afs_lookup_server()\n\nFix afs_lookup_server() to not free an existing server's endpoint state\nwhen cleaning up a candidate server. The candidate record doesn't have an\nendpoint state yet at this point, so the free for that can just be removed."
|
|
}
|
|
],
|
|
"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 - afs_lookup_server() is reached through afs_create_volume()/afs_update_volume_state() -> afs_alloc_server_list() when a local process walks a kAFS path (for example /afs/<cell>/<vol> automount) or uses a volume. Nothing malformed comes off the wire. The defect is local cleanup logic that frees the wrong object, so the attacker needs a local account on the AFS client.\nAC:L - The candidate is left non-NULL when afs_install_server() returns an existing record. That happens when the attacker runs parallel lookups of volumes on the same fileserver UUID, or accesses the path again after a creation attempt failed and left the record marked UNCREATED. Both states come from the attacker's own path accesses; neither depends on outside conditions.\nPR:L - Mounting kAFS needs CAP_SYS_ADMIN (no FS_USERNS_MOUNT). On a client that already has the /afs dynroot mounted, any unprivileged user can start the volume and server lookups that reach afs_lookup_server() just by accessing /afs/<cell>/... paths.\nUI:N - No victim action is needed; the attacker triggers the lookups and the faulty cleanup with their own filesystem accesses.\nS:U - The memory corruption stays inside the kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - The cleanup at the out: label kfree()s the existing server's live, refcounted afs_endpoint_state. server->endpoint_state and in-flight probe/rotate operations still reference it, giving a use-after-free of a sprayable kmalloc object that can be reclaimed to leak kernel data.\nI:H - After the bad kfree(), afs_put_endpoint_state() and the probe code keep writing refcounts, flags and the addresses pointer into the freed estate. When the refcount later drops to zero it is freed a second time via call_rcu, so a reclaimed object gets corrupted.\nA:H - The freed estate is later used and double-freed, and on the create_failed and wait_for_creation failure paths `server` is NULL when server->endpoint_state is read. Either way the kernel oopses or panics."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"fs/afs/server.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "d6aa05cd995830f6dcee7b139335edb266de38a6",
|
|
"lessThan": "981d72663dee2fa6efaf202293e68d2b10a0d1d4",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "4882ba78574e2d8c579658f65f6784b0d139d173",
|
|
"lessThan": "e5bc0fa9959dc8f7eb1afab7c039594a16a1a65c",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "4882ba78574e2d8c579658f65f6784b0d139d173",
|
|
"lessThan": "349e713039a1fd6659c27e7a66238bfa49ce37e9",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "4882ba78574e2d8c579658f65f6784b0d139d173",
|
|
"lessThan": "044d596094af4b769fb8e1173dff0d08bd68db6c",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "6.12.101",
|
|
"lessThan": "6.12.111",
|
|
"status": "affected",
|
|
"versionType": "semver"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "affected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"fs/afs/server.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "6.15",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "6.15",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.12.111",
|
|
"lessThanOrEqual": "6.12.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.18.53",
|
|
"lessThanOrEqual": "6.18.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.2.7",
|
|
"lessThanOrEqual": "7.2.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.3",
|
|
"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.12.101",
|
|
"versionEndExcluding": "6.12.111"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "6.15",
|
|
"versionEndExcluding": "6.18.53"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "6.15",
|
|
"versionEndExcluding": "7.2.7"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "6.15",
|
|
"versionEndExcluding": "7.3"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/981d72663dee2fa6efaf202293e68d2b10a0d1d4"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/e5bc0fa9959dc8f7eb1afab7c039594a16a1a65c"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/349e713039a1fd6659c27e7a66238bfa49ce37e9"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/044d596094af4b769fb8e1173dff0d08bd68db6c"
|
|
}
|
|
],
|
|
"title": "afs: Fix incorrect free in candidate cleanup in afs_lookup_server()",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
}
|
|
}
|
|
} |