{"id":"CVE-2024-56611","title":"mm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM\n\nWe currently assume that there is at least one VMA in a MM, which isn't\ntrue.\n\nSo we mig…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"adp","vendor":"Linux","product":"Linux","affected":["Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 482bafbbebcaf286579f93494ba6899030a6ad47","Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < a13b2b9b0b0b04612c7d81e3b3dfb485c5f7abc3","Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 42d9fe2adf8613f9eea1f0c2619c9e2611eae0ea","Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 091c1dd2d4df6edd1beebe0e5863d4034ade9572","Linux 2.6.16"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:01:24.636376Z"},"published":"2024-12-27","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:20:23.545Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-56611","references":[{"url":"https://git.kernel.org/stable/c/482bafbbebcaf286579f93494ba6899030a6ad47"},{"url":"https://git.kernel.org/stable/c/a13b2b9b0b0b04612c7d81e3b3dfb485c5f7abc3"},{"url":"https://git.kernel.org/stable/c/42d9fe2adf8613f9eea1f0c2619c9e2611eae0ea"},{"url":"https://git.kernel.org/stable/c/091c1dd2d4df6edd1beebe0e5863d4034ade9572"}],"tags":["cve.org"],"epss":0.00206,"epssPercentile":0.10701,"ingestedAt":"2026-11-03T14:47:02.527Z","slug":"CVE-2024-56611","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM\n\nWe currently assume that there is at least one VMA in a MM, which isn't\ntrue.\n\nSo we might end up having find_vma() return NULL, to then de-reference\nNULL.  So properly handle find_vma() returning NULL.\n\nThis fixes the report:\n\nOops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI\nKASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\nCPU: 1 UID: 0 PID: 6021 Comm: syz-executor284 Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024\nRIP: 0010:migrate_to_node mm/mempolicy.c:1090 [inline]\nRIP: 0010:do_migrate_pages+0x403/0x6f0 mm/mempolicy.c:1194\nCode: ...\nRSP: 0018:ffffc9000375fd08 EFLAGS: 00010246\nRAX: 0000000000000000 RBX: ffffc9000375fd78 RCX: 0000000000000000\nRDX: ffff88807e171300 RSI: dffffc0000000000 RDI: ffff88803390c044\nRBP: ffff88807e171428 R08: 0000000000000014 R09: fffffbfff2039ef1\nR10: ffffffff901cf78f R11: 0000000000000000 R12: 0000000000000003\nR13: ffffc9000375fe90 R14: ffffc9000375fe98 R15: ffffc9000375fdf8\nFS:  00005555919e1380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00005555919e1ca8 CR3: 000000007f12a000 CR4: 00000000003526f0\nDR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\nDR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\nCall Trace:\n <TASK>\n kernel_migrate_pages+0x5b2/0x750 mm/mempolicy.c:1709\n __do_sys_migrate_pages mm/mempolicy.c:1727 [inline]\n __se_sys_migrate_pages mm/mempolicy.c:1723 [inline]\n __x64_sys_migrate_pages+0x96/0x100 mm/mempolicy.c:1723\n do_syscall_x64 arch/x86/entry/common.c:52 [inline]\n do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n[akpm@linux-foundation.org: add unlikely()]\n\n## Affected\n\n- `Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 482bafbbebcaf286579f93494ba6899030a6ad47`\n- `Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < a13b2b9b0b0b04612c7d81e3b3dfb485c5f7abc3`\n- `Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 42d9fe2adf8613f9eea1f0c2619c9e2611eae0ea`\n- `Linux >= 39743889aaf76725152f16aa90ca3c45f6d52da3 < 091c1dd2d4df6edd1beebe0e5863d4034ade9572`\n- `Linux 2.6.16`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}