{"id":"CVE-2026-98224","aliases":["CVE-2026-98224"],"related":[],"kind":"vulnerability","state":"published","title":"mm/vma: correctly unaccount on mmap_prepare() failure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T08:44:59.349Z","modified":"2026-10-19T10:18:23.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c84bf6dd2b836b49bb2662668ff1692350d28236","fixed":"fb5400bff669c8bad3d4ec09287d9b461e89e5f1","status":"affected"},{"type":"git","introduced":"c84bf6dd2b836b49bb2662668ff1692350d28236","fixed":"8fdc521d438fbf0d22c13d51d55d5dd82d7202b2","status":"affected"},{"type":"git","introduced":"c84bf6dd2b836b49bb2662668ff1692350d28236","fixed":"6cc27d82196385fe06853319f74312a7d8019726","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98224","url":"https://www.cve.org/CVERecord?id=CVE-2026-98224","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:56.109Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98224","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98224","licence":"Public domain","modified":"2026-10-19T10:18:23.160Z"}],"updatedAt":"2026-11-25T22:59:42.294Z","epss":{"score":0.00166,"percentile":0.06138,"date":"2026-12-01T12:00:22.000Z"}}