Files
vuln-cve/data/2022/50xxx/CVE-2022-50328.json
T

235 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-50328",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-15T14:18:36.815Z",
"datePublished": "2025-09-15T14:49:30.483Z",
"dateUpdated": "2026-10-15T21:31:20.094Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:58:12.098Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\njbd2: fix potential use-after-free in jbd2_fc_wait_bufs\n\nIn 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count\nwhich may lead to use-after-free.\nSo judge buffer if uptodate before put buffer head reference count."
}
],
"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 in jbd2_fc_wait_bufs on the ext4 fast-commit path, reached via local syscalls such as fsync/fdatasync/fallocate(O_SYNC) on an ext4 filesystem; it does not process network packets or remote protocol data.\nAC:L - An unprivileged attacker can reliably drive the vulnerable path by dirtying and fsyncing files on a fast-commit-enabled ext4 mount, and can apply memory pressure so the buffer_head dropped by put_bh is reclaimed before buffer_uptodate; both sides of the race are attacker-influenced.\nPR:L - Any unprivileged local user with write access to a regular file on a mounted ext4 filesystem with the fast_commit feature can trigger ext4_fc_commit → jbd2_fc_wait_bufs; no capabilities or root are required.\nUI:N - Exploitation uses only the attacker's own file writes and fsync; no separate victim action such as mounting a volume or opening a crafted file is required.\nS:U - This is a standard in-kernel heap use-after-free that can escalate privileges within the same kernel authority, not a VM escape, IOMMU bypass, or other cross-boundary impact.\nC:H - Use-after-free of the buffer_head after put_bh lets an attacker reclaim and control the freed object, enabling arbitrary kernel memory disclosure primitives per UAF exploitation.\nI:H - UAF of the buffer_head enables heap spraying and write primitives for control-flow hijacking, and a corrupted buffer_uptodate result can also cause failed journal IO to be treated as success.\nA:H - Accessing the freed buffer_head can oops/panic the kernel even without full exploitation, so availability impact is high."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/jbd2/journal.c"
],
"versions": [
{
"version": "ff780b91efe901b8eecd8114785abae5341820ad",
"lessThan": "1d4d16daec2a6689b6d3fbfc7d2078643adc6619",
"status": "affected",
"versionType": "git"
},
{
"version": "ff780b91efe901b8eecd8114785abae5341820ad",
"lessThan": "d11d2ded293976a1a0d9d9471827a44dc9e3c63f",
"status": "affected",
"versionType": "git"
},
{
"version": "ff780b91efe901b8eecd8114785abae5341820ad",
"lessThan": "2e6d9f381c1ed844531a577783fc352de7a44c8a",
"status": "affected",
"versionType": "git"
},
{
"version": "ff780b91efe901b8eecd8114785abae5341820ad",
"lessThan": "effd9b3c029ecdd853a11933dcf857f5a7ca8c3d",
"status": "affected",
"versionType": "git"
},
{
"version": "ff780b91efe901b8eecd8114785abae5341820ad",
"lessThan": "243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd",
"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/jbd2/journal.c"
],
"versions": [
{
"version": "5.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.10",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.150",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.75",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.17",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0.3",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1",
"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": "5.10",
"versionEndExcluding": "5.10.150"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "5.15.75"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "5.19.17"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.0.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619"
},
{
"url": "https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f"
},
{
"url": "https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a"
},
{
"url": "https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d"
},
{
"url": "https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd"
}
],
"title": "jbd2: fix potential use-after-free in jbd2_fc_wait_bufs",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-50328",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T21:30:57.434456Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T21:31:20.094Z"
}
}
]
}
}