{"id":"CVE-2026-43442","aliases":["CVE-2026-43442"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring: fix physical SQE bounds check for SQE_MIXED 128-byte ops","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix physical SQE bounds check for SQE_MIXED 128-byte ops\n\nWhen IORING_SETUP_SQE_MIXED is used without IORING_SETUP_NO_SQARRAY,\nthe boundary check for 128-byte SQE operations in io_init_req()\nvalidated the logical SQ head position rather than the physical SQE\nindex.\n\nThe existing check:\n\n  !(ctx->cached_sq_head & (ctx->sq_entries - 1))\n\nensures the logical position isn't at the end of the ring, which is\ncorrect for NO_SQARRAY rings where physical == logical. However, when\nsq_array is present, an unprivileged user can remap any logical\nposition to an arbitrary physical index via sq_array. Setting\nsq_array[N] = sq_entries - 1 places a 128-byte operation at the last\nphysical SQE slot, causing the 128-byte memcpy in\nio_uring_cmd_sqe_copy() to read 64 bytes past the end of the SQE\narray.\n\nReplace the cached_sq_head alignment check with a direct validation\nof the physical SQE index, which correctly handles both sq_array and\nNO_SQARRAY cases.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix physical SQE bounds check for SQE_MIXED 128-byte ops\n\nWhen IORING_SETUP_SQE_MIXED is used without IORING_SETUP_NO_SQARRAY,\nthe boundary check for 128-byte SQE operations in io_init_req()\nvalidated the logical SQ head position rather than the physical SQE\nindex.\n\nThe existing check:\n\n  !(ctx->cached_sq_head & (ctx->sq_entries - 1))\n\nensures the logical position isn't at the end of the ring, which is\ncorrect for NO_SQARRAY rings where physical == logical. However, when\nsq_array is present, an unprivileged user can remap any logical\nposition to an arbitrary physical index via sq_array. Setting\nsq_array[N] = sq_entries - 1 places a 128-byte operation at the last\nphysical SQE slot, causing the 128-byte memcpy in\nio_uring_cmd_sqe_copy() to read 64 bytes past the end of the SQE\narray.\n\nReplace the cached_sq_head alignment check with a direct validation\nof the physical SQE index, which correctly handles both sq_array and\nNO_SQARRAY cases.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nio_uring: corrección de la verificación de límites de SQE físico para operaciones SQE_MIXED de 128 bytes\n\nCuando IORING_SETUP_SQE_MIXED se usa sin IORING_SETUP_NO_SQARRAY, la verificación de límites para operaciones SQE de 128 bytes en io_init_req() validaba la posición lógica de la cabecera SQ en lugar del índice SQE físico.\n\nLa verificación existente:\n\n!(ctx  ->  cached_sq_head & (ctx  ->  sq_entries - 1))\n\nasegura que la posición lógica no esté al final del anillo, lo cual es correcto para anillos NO_SQARRAY donde físico == lógico. Sin embargo, cuando sq_array está presente, un usuario sin privilegios puede reasignar cualquier posición lógica a un índice físico arbitrario a través de sq_array. Establecer sq_array[N] = sq_entries - 1 coloca una operación de 128 bytes en la última ranura SQE física, causando que el memcpy de 128 bytes en io_uring_cmd_sqe_copy() lea 64 bytes más allá del final del array SQE.\n\nReemplazar la verificación de alineación de cached_sq_head con una validación directa del índice SQE físico, que maneja correctamente tanto los casos de sq_array como de NO_SQARRAY.","source":"nvd"}],"published":"2026-05-08T14:22:10.656Z","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:N/A:H","score":7.1,"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:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1cba30bf9fdd6c982708f3587f609a30c370d889","fixed":"1f794f9bed3e5cf7250a3b4daf112a72ed1513e9","status":"affected"},{"type":"git","introduced":"1cba30bf9fdd6c982708f3587f609a30c370d889","fixed":"6f02c6b196036dbb6defb4647d8707d29b7fe95b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.9","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":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1f794f9bed3e5cf7250a3b4daf112a72ed1513e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f02c6b196036dbb6defb4647d8707d29b7fe95b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43442","url":"https://www.cve.org/CVERecord?id=CVE-2026-43442","licence":"CVE Terms of Use","modified":"2026-08-05T12:27:59.003Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43442","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43442","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.071Z","epss":{"score":0.00131,"percentile":0.02877,"date":"2026-12-01T12:00:22.000Z"}}