Files
vuln-cve/data/2024/49xxx/CVE-2024-49965.json
T

389 lines
20 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-49965",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-10-21T12:17:06.050Z",
"datePublished": "2024-10-21T18:02:16.407Z",
"dateUpdated": "2026-08-05T11:40:44.001Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:40:44.001Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: remove unreasonable unlock in ocfs2_read_blocks\n\nPatch series \"Misc fixes for ocfs2_read_blocks\", v5.\n\nThis series contains 2 fixes for ocfs2_read_blocks(). The first patch fix\nthe issue reported by syzbot, which detects bad unlock balance in\nocfs2_read_blocks(). The second patch fixes an issue reported by Heming\nZhao when reviewing above fix.\n\n\nThis patch (of 2):\n\nThere was a lock release before exiting, so remove the unreasonable unlock."
}
],
"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 only through local syscalls against a mounted ocfs2 volume (stat/open/readdir/getxattr/read reaching ocfs2_read_inode_block, dx-leaf, xattr-bucket and extent-map reads) or by mounting a crafted ocfs2 image; no network protocol handler processes attacker data here.\nAC:L - sb_getblk() failure is deterministic for an out-of-range block number supplied by on-disk metadata (grow_buffers() rejects it outright), and is also inducible via memory pressure; the follow-on mutual-exclusion failure has a wait_on_buffer()-wide window with the attacker driving both racing threads.\nPR:L - Any unprivileged local user with access to a mounted ocfs2 filesystem can issue the metadata reads that reach ocfs2_read_blocks() and drive the allocation failure; no capability, and ocfs2 metadata reads are not gated behind CAP_SYS_ADMIN.\nUI:N - On an already-mounted ocfs2 volume (the normal cluster deployment) the attacker triggers the double unlock purely with its own syscalls; no victim action is needed.\nS:U - The corrupted mutex, the ocfs2 metadata cache and the buffer heads all live in the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - Losing mutual exclusion lets a second thread run ocfs2_expand_cache() against the already-converted union, copying live rb_node kernel heap pointers into c_block values that surface through mlog/tracepoints, and the resulting metadata-cache corruption is leverageable for further kernel memory disclosure.\nI:H - The spurious unlock releases a mutex held by another task, allowing unserialized rb-tree insertion, ci_num_cached/ci_flags corruption and orphaned kmem_cache objects in a region whose invariants are explicitly unchecked, i.e. attacker-influenced corruption of kernel heap state and of the clustered-uptodate metadata the filesystem trusts.\nA:H - The imbalance produces an immediate lockdep/DEBUG_MUTEXES \"bad unlock balance\" splat (panic under panic_on_warn) and, in production builds, reaches BUG() via mlog_bug_on_msg() in ocfs2_expand_cache(), the duplicate-insert BUG() in __ocfs2_insert_cache_tree(), or the ip_io_mutex assertion in ocfs2_clear_inode() — all kernel panics."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/ocfs2/buffer_head_io.c"
],
"versions": [
{
"version": "6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc",
"lessThan": "5245f109b4afb6595360d4c180d483a6d2009a59",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "9753bcb17b36c9add9b32c61766ddf8d2d161911",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "3f1ca6ba5452d53c598a45d21267a2c0c221eef3",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "f55a33fe0fb5274ef185fd61947cf142138958af",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "81aba693b129e82e11bb54f569504d943d018de9",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "84543da867c967edffd5065fa910ebf56aaae49d",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "df4f20fc3673cee11abf2c571987a95733cb638d",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "39a88623af3f1c686bf6db1e677ed865ffe6fccc",
"status": "affected",
"versionType": "git"
},
{
"version": "cf76c78595ca87548ca5e45c862ac9e0949c4687",
"lessThan": "c03a82b4a0c935774afa01fd6d128b444fd930a1",
"status": "affected",
"versionType": "git"
},
{
"version": "01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56",
"status": "affected",
"versionType": "git"
},
{
"version": "65cbd1279f4b999d56a838344a30642db24cd215",
"status": "affected",
"versionType": "git"
},
{
"version": "97e1db17bc1ef4c2e1789bc9323c7be44fba53f8",
"status": "affected",
"versionType": "git"
},
{
"version": "4.19.87",
"lessThan": "4.19.323",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.4.204",
"lessThan": "4.5",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.9.204",
"lessThan": "4.10",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.14.157",
"lessThan": "4.15",
"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/ocfs2/buffer_head_io.c"
],
"versions": [
{
"version": "4.20",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.20",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.323",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.285",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.227",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.168",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.113",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.55",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.10.14",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11.3",
"lessThanOrEqual": "6.11.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12",
"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": "4.19.87",
"versionEndExcluding": "4.19.323"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "5.4.285"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "5.10.227"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "5.15.168"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.1.113"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.6.55"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.10.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.11.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4.204"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9.204"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.14.157"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/5245f109b4afb6595360d4c180d483a6d2009a59"
},
{
"url": "https://git.kernel.org/stable/c/9753bcb17b36c9add9b32c61766ddf8d2d161911"
},
{
"url": "https://git.kernel.org/stable/c/3f1ca6ba5452d53c598a45d21267a2c0c221eef3"
},
{
"url": "https://git.kernel.org/stable/c/f55a33fe0fb5274ef185fd61947cf142138958af"
},
{
"url": "https://git.kernel.org/stable/c/81aba693b129e82e11bb54f569504d943d018de9"
},
{
"url": "https://git.kernel.org/stable/c/84543da867c967edffd5065fa910ebf56aaae49d"
},
{
"url": "https://git.kernel.org/stable/c/df4f20fc3673cee11abf2c571987a95733cb638d"
},
{
"url": "https://git.kernel.org/stable/c/39a88623af3f1c686bf6db1e677ed865ffe6fccc"
},
{
"url": "https://git.kernel.org/stable/c/c03a82b4a0c935774afa01fd6d128b444fd930a1"
}
],
"title": "ocfs2: remove unreasonable unlock in ocfs2_read_blocks",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-49965",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-10-22T13:34:35.371630Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-10-22T13:38:47.085Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T22:23:47.003Z"
}
}
]
}
}