{"api_version":"1","generated_at":"2026-10-08T16:17:04+00:00","cve":"CVE-2026-98224","urls":{"html":"https://cve.report/CVE-2026-98224","api":"https://cve.report/api/cve/CVE-2026-98224.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98224","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98224"},"summary":{"title":"mm/vma: correctly unaccount on mmap_prepare() failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: correctly unaccount on mmap_prepare() failure\n\n__mmap_setup() accounts memory for relevant mappings via:\n\nsecurity_vm_enough_memory_mm()\n  -> __vm_enough_memory()\n    -> vm_acct_memory()\n\nIf __mmap_setup() fails, this indicates that this accounting did not take\nplace, and thus it's appropriate for __mmap_region() to jump to\nabort_munmap.\n\nHowever if call_mmap_prepare() fails, it also jumps there and any accounted\nmemory is not correctly unaccounted.\n\nFix this by handling each error separately.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-06 09:18:09","updated_at":"2026-10-06 09:18:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1","name":"https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726","name":"https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2","name":"https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98224","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98224","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c84bf6dd2b836b49bb2662668ff1692350d28236 fb5400bff669c8bad3d4ec09287d9b461e89e5f1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c84bf6dd2b836b49bb2662668ff1692350d28236 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c84bf6dd2b836b49bb2662668ff1692350d28236 6cc27d82196385fe06853319f74312a7d8019726 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.54 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.8 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"98224","cve":"CVE-2026-98224","epss":"0.001730000","percentile":"0.061500000","score_date":"2026-10-06","updated_at":"2026-10-07 00:14:55"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/vma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"fb5400bff669c8bad3d4ec09287d9b461e89e5f1","status":"affected","version":"c84bf6dd2b836b49bb2662668ff1692350d28236","versionType":"git"},{"lessThan":"8fdc521d438fbf0d22c13d51d55d5dd82d7202b2","status":"affected","version":"c84bf6dd2b836b49bb2662668ff1692350d28236","versionType":"git"},{"lessThan":"6cc27d82196385fe06853319f74312a7d8019726","status":"affected","version":"c84bf6dd2b836b49bb2662668ff1692350d28236","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/vma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.54","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.8","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.54","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.8","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc4","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: correctly unaccount on mmap_prepare() failure\n\n__mmap_setup() accounts memory for relevant mappings via:\n\nsecurity_vm_enough_memory_mm()\n  -> __vm_enough_memory()\n    -> vm_acct_memory()\n\nIf __mmap_setup() fails, this indicates that this accounting did not take\nplace, and thus it's appropriate for __mmap_region() to jump to\nabort_munmap.\n\nHowever if call_mmap_prepare() fails, it also jumps there and any accounted\nmemory is not correctly unaccounted.\n\nFix this by handling each error separately."}],"providerMetadata":{"dateUpdated":"2026-10-06T08:44:59.349Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1"},{"url":"https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2"},{"url":"https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726"}],"title":"mm/vma: correctly unaccount on mmap_prepare() failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98224","datePublished":"2026-10-06T08:44:59.349Z","dateReserved":"2026-09-25T10:25:14.327Z","dateUpdated":"2026-10-06T08:44:59.349Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-06 09:18:09","lastModifiedDate":"2026-10-06 09:18:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98224","Ordinal":"1","Title":"mm/vma: correctly unaccount on mmap_prepare() failure","CVE":"CVE-2026-98224","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98224","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: correctly unaccount on mmap_prepare() failure\n\n__mmap_setup() accounts memory for relevant mappings via:\n\nsecurity_vm_enough_memory_mm()\n  -> __vm_enough_memory()\n    -> vm_acct_memory()\n\nIf __mmap_setup() fails, this indicates that this accounting did not take\nplace, and thus it's appropriate for __mmap_region() to jump to\nabort_munmap.\n\nHowever if call_mmap_prepare() fails, it also jumps there and any accounted\nmemory is not correctly unaccounted.\n\nFix this by handling each error separately.","Type":"Description","Title":"mm/vma: correctly unaccount on mmap_prepare() failure"}]}}}