Files
vuln-cve/data/2022/49xxx/CVE-2022-49362.json
T

218 lines
10 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49362",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-02-26T02:08:31.547Z",
"datePublished": "2025-02-26T02:11:09.344Z",
"dateUpdated": "2026-08-05T08:54:54.470Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:54:54.470Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Fix potential use-after-free in nfsd_file_put()\n\nnfsd_file_put_noref() can free @nf, so don't dereference @nf\nimmediately upon return from nfsd_file_put_noref()."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable nfsd_file_put() path runs in the in-kernel NFS server (fs/nfsd/filecache.c) on READ/WRITE/COMMIT and related ops, reached via RPC to nfsd over the network (TCP/UDP 2049); no local access is required.\nAC:L - The UAF is a race between nfsd_file_put() observing NFSD_FILE_HASHED and a concurrent unhash (e.g. REMOVE → fsnotify → nfsd_file_close_inode) that drops the hash ref so put_noref frees @nf; a remote client controls both sides via concurrent NFS requests on multiple nfsd threads.\nPR:N - Typical nfsd deployments allow AUTH_SYS/AUTH_NULL with IP-based exports, so a remote peer that can reach the export self-asserts credentials with no cryptographic authentication and can exercise the filecache put path.\nUI:N - Exploitation requires only attacker-sent NFS protocol operations; no action by a victim user or administrator on the server is needed.\nS:U - The use-after-free corrupts kernel memory within the host nfsd authority and does not cross a VM, IOMMU, or other separate security boundary.\nC:H - This is a use-after-free of a slab-allocated nfsd_file object; UAF enables reuse/spray of the freed object and can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same nfsd_file use-after-free enables heap spraying and corruption of the reallocated object, yielding write/control-flow hijack primitives in the NFS server kernel.\nA:H - Use-after-free of nfsd_file can cause kernel oops/panic or memory corruption crashes in nfsd threads, fully disrupting availability of the NFS server host."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/nfsd/filecache.c"
],
"versions": [
{
"version": "9862064ca81f9b9da8ebe26c86cf2b10c293ba1a",
"lessThan": "ada1757b259f353cade47037ee0a0249b4cddad3",
"status": "affected",
"versionType": "git"
},
{
"version": "a98e5b3d958ac697aafb3d077eb2cca4a731b7ee",
"lessThan": "261eabe19cb28e4a8587a4442d257b543d7c2d57",
"status": "affected",
"versionType": "git"
},
{
"version": "999397926ab3f78c7d1235cc4ca6e3c89d2769bf",
"lessThan": "333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57",
"status": "affected",
"versionType": "git"
},
{
"version": "999397926ab3f78c7d1235cc4ca6e3c89d2769bf",
"lessThan": "b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01",
"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/nfsd/filecache.c"
],
"versions": [
{
"version": "5.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.18",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.18.4",
"lessThanOrEqual": "5.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.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": "5.18",
"versionEndExcluding": "5.18.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.18",
"versionEndExcluding": "5.19"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/ada1757b259f353cade47037ee0a0249b4cddad3"
},
{
"url": "https://git.kernel.org/stable/c/261eabe19cb28e4a8587a4442d257b543d7c2d57"
},
{
"url": "https://git.kernel.org/stable/c/333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57"
},
{
"url": "https://git.kernel.org/stable/c/b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01"
}
],
"title": "NFSD: Fix potential use-after-free in nfsd_file_put()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-49362",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-02-27T18:16:34.174132Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-416",
"description": "CWE-416 Use After Free"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-02-27T18:22:33.669Z"
}
}
]
}
}