{"id":"CVE-2026-23056","aliases":["CVE-2026-23056"],"related":[],"kind":"vulnerability","state":"published","title":"uacce: implement mremap in uacce_vm_ops to return -EPERM","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nuacce: implement mremap in uacce_vm_ops to return -EPERM\n\nThe current uacce_vm_ops does not support the mremap operation of\nvm_operations_struct. Implement .mremap to return -EPERM to remind\nusers.\n\nThe reason we need to explicitly disable mremap is that when the\ndriver does not implement .mremap, it uses the default mremap\nmethod. This could lead to a risk scenario:\n\nAn application might first mmap address p1, then mremap to p2,\nfollowed by munmap(p1), and finally munmap(p2). Since the default\nmremap copies the original vma's vm_private_data (i.e., q) to the\nnew vma, both munmap operations would trigger vma_close, causing\nq->qfr to be freed twice(qfr will be set to null here, so repeated\nrelease is ok).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nuacce: implement mremap in uacce_vm_ops to return -EPERM\n\nThe current uacce_vm_ops does not support the mremap operation of\nvm_operations_struct. Implement .mremap to return -EPERM to remind\nusers.\n\nThe reason we need to explicitly disable mremap is that when the\ndriver does not implement .mremap, it uses the default mremap\nmethod. This could lead to a risk scenario:\n\nAn application might first mmap address p1, then mremap to p2,\nfollowed by munmap(p1), and finally munmap(p2). Since the default\nmremap copies the original vma's vm_private_data (i.e., q) to the\nnew vma, both munmap operations would trigger vma_close, causing\nq->qfr to be freed twice(qfr will be set to null here, so repeated\nrelease is ok).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nuacce: implementar mremap en uacce_vm_ops para devolver -EPERM\n\nEl uacce_vm_ops actual no soporta la operación mremap de vm_operations_struct. Implementar .mremap para devolver -EPERM para recordar a los usuarios.\n\nLa razón por la que necesitamos deshabilitar explícitamente mremap es que cuando el controlador no implementa .mremap, utiliza el método mremap predeterminado. Esto podría llevar a un escenario de riesgo:\n\nUna aplicación podría primero mmap la dirección p1, luego mremap a p2, seguido de munmap(p1), y finalmente munmap(p2). Dado que el mremap predeterminado copia el vm_private_data del vma original (es decir, q) al nuevo vma, ambas operaciones munmap activarían vma_close, causando que q-&gt;qfr se libere dos veces (qfr se establecerá en nulo aquí, por lo que la liberación repetida está bien).","source":"nvd"}],"published":"2026-02-04T16:07:34.787Z","modified":"2026-06-17T10:20:47.030Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"78d99f062d42e3af2ca46bde1a8e46e0dfd372e3","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"ebfa85658a39b49ec3901ceea7535b73aa0429e6","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"75b29bdc935ff93b8e8bf6f6b4d8a4810b26e06f","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"4c042bc71474dbe417c268f4bfb8ec196f802f07","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"a407ddd61b3e6afc5ccfcd1478797171cf5686ee","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"ba29b59d124e725e0377f09b2044909c91d657a1","status":"affected"},{"type":"git","introduced":"015d239ac0142ad0e26567fd890ef8d171f13709","fixed":"02695347be532b628f22488300d40c4eba48b9b7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.249","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.68","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.8","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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/78d99f062d42e3af2ca46bde1a8e46e0dfd372e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebfa85658a39b49ec3901ceea7535b73aa0429e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75b29bdc935ff93b8e8bf6f6b4d8a4810b26e06f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c042bc71474dbe417c268f4bfb8ec196f802f07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a407ddd61b3e6afc5ccfcd1478797171cf5686ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba29b59d124e725e0377f09b2044909c91d657a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02695347be532b628f22488300d40c4eba48b9b7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23056","url":"https://www.cve.org/CVERecord?id=CVE-2026-23056","licence":"CVE Terms of Use","modified":"2026-05-11T21:59:08.964Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23056","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23056","licence":"Public domain","modified":"2026-06-17T10:20:47.030Z"}],"updatedAt":"2026-11-25T22:59:13.456Z","epss":{"score":0.00212,"percentile":0.12167,"date":"2026-12-01T12:00:22.000Z"}}