{"id":"CVE-2026-80778","aliases":["CVE-2026-80778"],"related":[],"kind":"vulnerability","state":"published","title":"futex/pi: Reject cross-mm private futex owners","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex/pi: Reject cross-mm private futex owners\n\nA private futex key borrows the waiter's mm without taking an mm_users\nreference. Nevertheless, attach_to_pi_owner() currently accepts an owner\nfrom a different address space and copies the private key into the owner's\nPI state.\n\nWhen that owner exits, exit_pi_state_list() uses the saved key to find the\nhash bucket and acquires a reference to the waiter's private hash. If the\nlast user of the waiter's mm exits concurrently, futex_hash_free() frees\nthe hash while the owner still uses its bucket and reference.\n\nPrevent this by validating in attach_to_pi_owner() that, for private\nfutexes, the owner mm and waiter mm are the same. Perform the check with\nthe owner's pi_lock held and after validating owner::futex::state to\nserialize against a concurrent PI-state exit cleanup.\n\n[ tglx: Amended comment ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex/pi: Reject cross-mm private futex owners\n\nA private futex key borrows the waiter's mm without taking an mm_users\nreference. Nevertheless, attach_to_pi_owner() currently accepts an owner\nfrom a different address space and copies the private key into the owner's\nPI state.\n\nWhen that owner exits, exit_pi_state_list() uses the saved key to find the\nhash bucket and acquires a reference to the waiter's private hash. If the\nlast user of the waiter's mm exits concurrently, futex_hash_free() frees\nthe hash while the owner still uses its bucket and reference.\n\nPrevent this by validating in attach_to_pi_owner() that, for private\nfutexes, the owner mm and waiter mm are the same. Perform the check with\nthe owner's pi_lock held and after validating owner::futex::state to\nserialize against a concurrent PI-state exit cleanup.\n\n[ tglx: Amended comment ]","source":"cvelist"}],"published":"2026-09-04T15:12:50.117Z","modified":"2026-10-19T09:17:11.900Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"2b92e5562653b5293529f63b0300837d9dcedbd7","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"f7fb3e07752688842cbe0b85cf0d98c2fbf76b68","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"43b148d796aa338858792d0167cebdc12b8cb4b9","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"59b3732f95dda1fbd2234514d35f4fb6b5bb6d85","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.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.11","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.1","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/2b92e5562653b5293529f63b0300837d9dcedbd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7fb3e07752688842cbe0b85cf0d98c2fbf76b68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43b148d796aa338858792d0167cebdc12b8cb4b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59b3732f95dda1fbd2234514d35f4fb6b5bb6d85","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80778","url":"https://www.cve.org/CVERecord?id=CVE-2026-80778","licence":"CVE Terms of Use","modified":"2026-10-19T08:43:33.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80778","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80778","licence":"Public domain","modified":"2026-10-19T09:17:11.900Z"}],"updatedAt":"2026-11-25T22:59:36.322Z","epss":{"score":0.00168,"percentile":0.0636,"date":"2026-12-01T12:00:22.000Z"}}