{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-48697", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-03T14:55:07.145Z", "datePublished": "2024-05-03T15:10:30.963Z", "dateUpdated": "2026-08-05T08:51:50.506Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T08:51:50.506Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix a use-after-free\n\nFix the following use-after-free complaint triggered by blktests nvme/004:\n\nBUG: KASAN: user-memory-access in blk_mq_complete_request_remote+0xac/0x350\nRead of size 4 at addr 0000607bd1835943 by task kworker/13:1/460\nWorkqueue: nvmet-wq nvme_loop_execute_work [nvme_loop]\nCall Trace:\n show_stack+0x52/0x58\n dump_stack_lvl+0x49/0x5e\n print_report.cold+0x36/0x1e2\n kasan_report+0xb9/0xf0\n __asan_load4+0x6b/0x80\n blk_mq_complete_request_remote+0xac/0x350\n nvme_loop_queue_response+0x1df/0x275 [nvme_loop]\n __nvmet_req_complete+0x132/0x4f0 [nvmet]\n nvmet_req_complete+0x15/0x40 [nvmet]\n nvmet_execute_io_connect+0x18a/0x1f0 [nvmet]\n nvme_loop_execute_work+0x20/0x30 [nvme_loop]\n process_one_work+0x56e/0xa70\n worker_thread+0x2d1/0x640\n kthread+0x183/0x1c0\n ret_from_fork+0x1f/0x30" } ], "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 bug is in nvmet core `__nvmet_req_complete()`, shared by all NVMe target transports including nvmet-tcp, which accepts and processes NVMe-oF commands from remote TCP peers.\nAC:L - This is a use-after-free in the request completion path that a remote client can drive via ordinary I/O and connect/teardown traffic; per guidance UAFs are AC:L unless the attacker cannot influence the triggering conditions.\nPR:N - In the most severe reasonable deployment (nvmet-tcp with allow_any_host and without DH-HMAC-CHAP), an unauthenticated remote client can connect and issue commands that reach the vulnerable completion path.\nUI:N - Exploitation requires no victim user action beyond the target already serving NVMe-oF; the attacker initiates the network connection and commands themselves.\nS:U - Impact is memory corruption within the target kernel's authority; this is not a VM/IOMMU/sandbox boundary escape.\nC:H - Use-after-free of the namespace reference around queue_response enables heap reuse and attacker-controlled object contents, which can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same UAF provides a heap corruption primitive that can be shaped for arbitrary write or control-flow hijacking in the kernel.\nA:H - The UAF was observed as a KASAN fault in blk_mq completion and can cause kernel oops/panic even without full exploitation." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/nvme/target/core.c" ], "versions": [ { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "17f121ca3ec6be0fb32d77c7f65362934a38cc8e", "status": "affected", "versionType": "git" }, { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717", "status": "affected", "versionType": "git" }, { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "be01f1c988757b95f11f090a9f491365670a522b", "status": "affected", "versionType": "git" }, { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "ebf46da50beb78066674354ad650606a467e33fa", "status": "affected", "versionType": "git" }, { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "4484ce97a78171668c402e0c45db7f760aea8060", "status": "affected", "versionType": "git" }, { "version": "a07b4970f464f13640e28e16dad6cfa33647cc99", "lessThan": "6a02a61e81c231cc5c680c5dbf8665275147ac52", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/nvme/target/core.c" ], "versions": [ { "version": "4.8", "status": "affected" }, { "version": "0", "lessThan": "4.8", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.260", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.213", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.143", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.68", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.19.9", "lessThanOrEqual": "5.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.0", "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.8", "versionEndExcluding": "4.19.260" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.8", "versionEndExcluding": "5.4.213" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.8", "versionEndExcluding": "5.10.143" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.8", "versionEndExcluding": "5.15.68" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.8", "versionEndExcluding": "5.19.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.8", "versionEndExcluding": "6.0" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e" }, { "url": "https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717" }, { "url": "https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b" }, { "url": "https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa" }, { "url": "https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060" }, { "url": "https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52" } ], "title": "nvmet: fix a use-after-free", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-noinfo Not enough information" } ] } ], "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 5.3, "attackVector": "LOCAL", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "integrityImpact": "LOW", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "LOW", "privilegesRequired": "LOW", "confidentialityImpact": "LOW" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2024-06-12T20:35:15.754942Z", "id": "CVE-2022-48697", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-10-30T15:52:41.996Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T15:17:55.813Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52", "tags": [ "x_transferred" ] } ] } ] } }