{"id":"CVE-2026-6386","aliases":["CVE-2026-6386"],"related":[],"kind":"vulnerability","state":"published","title":"Missing large page handling in pmap_pkru_update_range()","summary":"In order to apply a particular protection key to an address range, the kernel must update the corresponding page table entries.  The subroutine which handled this failed to take into account the presence of 1GB largepage mappings created using the shm_create_largepage(3) interface.  In particular, it would always treat a page directory page entry as pointing to another page table page.\n\nThe bug can be abused by an unprivileged user to cause pmap_pkru_update_range() to treat userspace memory as a page table page, and thus overwrite memory to which the application would otherwise not have access.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In order to apply a particular protection key to an address range, the kernel must update the corresponding page table entries.  The subroutine which handled this failed to take into account the presence of 1GB largepage mappings created using the shm_create_largepage(3) interface.  In particular, it would always treat a page directory page entry as pointing to another page table page.\n\nThe bug can be abused by an unprivileged user to cause pmap_pkru_update_range() to treat userspace memory as a page table page, and thus overwrite memory to which the application would otherwise not have access.","source":"cvelist"},{"lang":"es","text":"Para aplicar una clave de protección particular a un rango de direcciones, el kernel debe actualizar las entradas de tabla de páginas correspondientes. La subrutina que manejó esto no tuvo en cuenta la presencia de mapeos de páginas grandes de 1GB creados usando la interfaz shm_create_largepage(3). En particular, siempre trataría una entrada de página de directorio de páginas como apuntando a otra página de tabla de páginas.\n\nEl error puede ser abusado por un usuario sin privilegios para hacer que pmap_pkru_update_range() trate la memoria del espacio de usuario como una página de tabla de páginas, y así sobrescribir memoria a la que la aplicación de otro modo no tendría acceso.","source":"nvd"}],"published":"2026-04-22T02:33:24.846Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-269","CWE-732"],"affected":[{"ranges":[{"type":"release","introduced":"15.0-RELEASE","fixed":"p6","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p2","status":"affected"},{"type":"release","introduced":"14.3-RELEASE","fixed":"p11","status":"affected"},{"type":"release","introduced":"13.5-RELEASE","fixed":"p12","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:11.amd64.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Nicholas Carlini using Claude, Anthropic"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T14:26:42.409Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6386","url":"https://www.cve.org/CVERecord?id=CVE-2026-6386","licence":"CVE Terms of Use","modified":"2026-04-22T14:32:53.989Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6386","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6386","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.224Z","epss":{"score":0.00208,"percentile":0.11539,"date":"2026-12-01T12:00:22.000Z"}}