{"id":"CVE-2025-68253","summary":"mm: don't spin in add_stack_record when gfp flags don't allow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: don't spin in add_stack_record when gfp flags don't allow\n\nsyzbot was able to find the following path:\n  add_stack_record_to_list mm/page_owner.c:182 [inline]\n  inc_stack_record_count mm/page_owner.c:214 [inline]\n  __set_page_owner+0x2c3/0x4a0 mm/page_owner.c:333\n  set_page_owner include/linux/page_owner.h:32 [inline]\n  post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851\n  prep_new_page mm/page_alloc.c:1859 [inline]\n  get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858\n  alloc_pages_nolock_noprof+0x94/0x120 mm/page_alloc.c:7554\n\nDon't spin in add_stack_record_to_list() when it is called\nfrom *_nolock() context.","modified":"2026-04-02T13:03:27.228523Z","published":"2025-12-16T14:32:19.546Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68253.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/504174133453e3af73e626e328603d7eb5986f34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c83aab85e18103a6dc066b4939e2c92a02bb1b05"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68253.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68253"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"97769a53f117e2f33864c587d85992ee35194ecf"},{"fixed":"504174133453e3af73e626e328603d7eb5986f34"},{"fixed":"c83aab85e18103a6dc066b4939e2c92a02bb1b05"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68253.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.17.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68253.json"}}],"schema_version":"1.7.5"}