{"id":"CVE-2026-43303","aliases":["CVE-2026-43303"],"related":[],"kind":"vulnerability","state":"published","title":"mm/page_alloc: clear page->private in free_pages_prepare()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: clear page->private in free_pages_prepare()\n\nSeveral subsystems (slub, shmem, ttm, etc.) use page->private but don't\nclear it before freeing pages.  When these pages are later allocated as\nhigh-order pages and split via split_page(), tail pages retain stale\npage->private values.\n\nThis causes a use-after-free in the swap subsystem.  The swap code uses\npage->private to track swap count continuations, assuming freshly\nallocated pages have page->private == 0.  When stale values are present,\nswap_count_continued() incorrectly assumes the continuation list is valid\nand iterates over uninitialized page->lru containing LIST_POISON values,\ncausing a crash:\n\n  KASAN: maybe wild-memory-access in range [0xdead000000000100-0xdead000000000107]\n  RIP: 0010:__do_sys_swapoff+0x1151/0x1860\n\nFix this by clearing page->private in free_pages_prepare(), ensuring all\nfreed pages have clean state regardless of previous use.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: clear page->private in free_pages_prepare()\n\nSeveral subsystems (slub, shmem, ttm, etc.) use page->private but don't\nclear it before freeing pages.  When these pages are later allocated as\nhigh-order pages and split via split_page(), tail pages retain stale\npage->private values.\n\nThis causes a use-after-free in the swap subsystem.  The swap code uses\npage->private to track swap count continuations, assuming freshly\nallocated pages have page->private == 0.  When stale values are present,\nswap_count_continued() incorrectly assumes the continuation list is valid\nand iterates over uninitialized page->lru containing LIST_POISON values,\ncausing a crash:\n\n  KASAN: maybe wild-memory-access in range [0xdead000000000100-0xdead000000000107]\n  RIP: 0010:__do_sys_swapoff+0x1151/0x1860\n\nFix this by clearing page->private in free_pages_prepare(), ensuring all\nfreed pages have clean state regardless of previous use.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/page_alloc: limpiar page  ->  private en free_pages_prepare()\n\nVarios subsistemas (slub, shmem, ttm, etc.) usan page  ->  private pero no lo limpian antes de liberar páginas. Cuando estas páginas son asignadas posteriormente como páginas de orden superior y divididas a través de split_page(), las páginas de cola retienen valores obsoletos de page  ->  private.\n\nEsto causa un uso después de liberación en el subsistema de intercambio. El código de intercambio usa page  ->  private para rastrear continuaciones de conteo de intercambio, asumiendo que las páginas recién asignadas tienen page  ->  private == 0. Cuando hay valores obsoletos presentes, swap_count_continued() asume incorrectamente que la lista de continuación es válida e itera sobre page  ->  lru no inicializado que contiene valores LIST_POISON, causando un fallo:\n\nKASAN: posible acceso a memoria salvaje en el rango [0x dead000000000100-0x dead000000000107]\nRIP: 0010:__do_sys_swapoff+0x 1151/0x 1860\n\nSolucione esto limpiando page  ->  private en free_pages_prepare(), asegurando que todas las páginas liberadas tengan un estado limpio independientemente de su uso anterior.","source":"nvd"}],"published":"2026-05-08T13:11:23.561Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416","CWE-457"],"affected":[{"ranges":[{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"e7790ab165713b79b1617ce659742ceb3a859d05","status":"affected"},{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"3edb8ebbf79b9016040e8f3421d723ae3d542b32","status":"affected"},{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"f9719e32a67b4b00b3c9b133e8b5ffa72a26b67b","status":"affected"},{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"23b82b7a26182ad840ae67d390d7ec9771e8c00f","status":"affected"},{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"d757c793853ec5483eb41ec2942c300b8fa720fb","status":"affected"},{"type":"git","introduced":"3b8000ae185cb068adbda5f966a3835053c85fd4","fixed":"ac1ea219590c09572ed5992dc233bbf7bb70fef9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18.1","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e7790ab165713b79b1617ce659742ceb3a859d05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3edb8ebbf79b9016040e8f3421d723ae3d542b32","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9719e32a67b4b00b3c9b133e8b5ffa72a26b67b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23b82b7a26182ad840ae67d390d7ec9771e8c00f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d757c793853ec5483eb41ec2942c300b8fa720fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac1ea219590c09572ed5992dc233bbf7bb70fef9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:16:18.326Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43303","url":"https://www.cve.org/CVERecord?id=CVE-2026-43303","licence":"CVE Terms of Use","modified":"2026-11-10T12:46:40.101Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43303","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43303","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.982Z","epss":{"score":0.00172,"percentile":0.06916,"date":"2026-12-01T12:00:22.000Z"}}