Files
vuln-cve/data/2025/68xxx/CVE-2025-68761.json
T

138 lines
7.0 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2025-68761",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-12-24T10:30:51.034Z",
"datePublished": "2026-01-05T09:32:33.814Z",
"dateUpdated": "2026-08-05T12:11:21.089Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:11:21.089Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: fix potential use after free in hfs_correct_next_unused_CNID()\n\nThis code calls hfs_bnode_put(node) which drops the refcount and then\ndreferences \"node\" on the next line. It's only safe to use \"node\"\nwhen we're holding a reference so flip these two lines around."
}
],
"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 vulnerable path is reached locally through unlink, rmdir, or an overwriting rename on a writable, already-mounted HFS filesystem.\nAC:L - An attacker can create thread-only catalog tail nodes, repeatedly delete the highest-CNID object, induce reclaim pressure, and heap-spray the freed node; no condition fundamentally outside attacker control is required.\nPR:L - Mounting HFS requires CAP_SYS_ADMIN in the initial user namespace, but an ordinary user with write and search permission on an existing HFS directory can trigger the vulnerable deletion path.\nUI:N - The attacker directly invokes the filesystem operations, requiring no action by another user once a writable HFS volume is available.\nS:U - Exploitation compromises the host kernel within the same security authority and does not inherently cross a virtualization or comparable isolation boundary.\nC:H - Reclaim and heap spraying can replace the freed B-tree node, after which attacker-controlled tree and page fields may be dereferenced, supporting kernel-memory disclosure.\nI:H - The use-after-free can progress beyond the initial stale prev read into reuse of attacker-sprayed pointer, refcount, and lock fields, supporting arbitrary memory modification or control-flow hijacking.\nA:H - Dereferencing a reclaimed node can cause a kernel oops or panic, while a manipulated traversal can also loop or corrupt critical HFS state."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/hfs/catalog.c"
],
"versions": [
{
"version": "a06ec283e125e334155fe13005c76c9f484ce759",
"lessThan": "40a1e0142096dd7dd6cb5373841222b528698588",
"status": "affected",
"versionType": "git"
},
{
"version": "a06ec283e125e334155fe13005c76c9f484ce759",
"lessThan": "c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08",
"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/hfs/catalog.c"
],
"versions": [
{
"version": "6.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.18",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.2",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.19",
"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.18",
"versionEndExcluding": "6.18.2"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.18",
"versionEndExcluding": "6.19"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/40a1e0142096dd7dd6cb5373841222b528698588"
},
{
"url": "https://git.kernel.org/stable/c/c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08"
}
],
"title": "hfs: fix potential use after free in hfs_correct_next_unused_CNID()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}