CVE-2026-98775

Estado: RecibidaSin puntuar—
Gravedad—Sin puntuar
Probabilidad de explotación0.17 %mayor que el 6 % de las CVE
Explotación activaNono figura en el catálogo de CISA
Exploit públicoNo conocidosin código público localizado

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:

nitro_enclaves: corrige un use-after-free (uso de memoria liberada) en el fallo de SLOT_ALLOC

Cuando ne_create_vm_ioctl() falla la petición SLOT_ALLOC después de que anon_inode_getfile() haya tenido éxito, la ruta de error llama a fput(enclave_file) y luego libera ne_enclave.

En el contexto normal de espacio de usuario, fput() aplaza el __fput() final mediante task_work. Por tanto, ne_enclave_release() se ejecuta después de que ne_enclave ya haya sido liberado y desreferencia ne_enclave->slot_uid, lo que provoca un use-after-free: KASAN: slab-use-after-free in ne_enclave_release.

Leer descripción completaMostrar menos

El enclave no tiene ningún slot asignado y todavía no está enlazado a la lista de enclaves en esta ruta de error, por lo que se espera que ne_enclave_release() retorne pronto cuando slot_uid sea cero. Sin embargo, leer slot_uid ya accede al objeto liberado.

Borra enclave_file->private_data antes de fput() en la ruta de error. Así, ne_enclave_release() retorna de inmediato cuando private_data es NULL, y la ruta de error del ioctl queda como única propietaria de ne_enclave. Esto es seguro porque el archivo aún no ha sido objeto de fd_install().

Probado en una instancia AWS EC2 m5.2xlarge con CONFIG_KASAN=y. Sin el parche, el reproductor provoca un KASAN slab-use-after-free en cada fallo de SLOT_ALLOC. Con el parche, no se genera ningún informe de KASAN y el error SLOT_ALLOC sigue devolviéndose. La creación y la eliminación normales de enclaves no se ven afectadas.

Traducción automática del texto original de NVD (en inglés).

CVSS

NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).

Probabilidad de explotación (EPSS)

Probabilidad de explotación en los próximos 30 días
0.17 %
Percentil entre todas las CVEs puntuadas
6
Fecha de la puntuación
20/10/2026

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

Mostrar las 4 referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-98775",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "9c8eb50fe9e2bb8a2e725979e052fbf592b6b799",
              "lessThan": "466041d14f26dc2babd606a2e85dce08774112a6",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9c8eb50fe9e2bb8a2e725979e052fbf592b6b799",
              "lessThan": "f7fb6c2835ede1b8ad84cf7e78a528a9d0159b84",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9c8eb50fe9e2bb8a2e725979e052fbf592b6b799",
              "lessThan": "43f78b328f3907ca2f7424e15b7e45ffbf9fe21c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9c8eb50fe9e2bb8a2e725979e052fbf592b6b799",
              "lessThan": "9bc184a2eda8b773c88ecbff934001ad649b9cc1",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/virt/nitro_enclaves/ne_misc_dev.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "5.10",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/virt/nitro_enclaves/ne_misc_dev.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2026-10-18T16:17:31.437",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/43f78b328f3907ca2f7424e15b7e45ffbf9fe21c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/466041d14f26dc2babd606a2e85dce08774112a6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9bc184a2eda8b773c88ecbff934001ad649b9cc1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f7fb6c2835ede1b8ad84cf7e78a528a9d0159b84",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Received",
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnitro_enclaves: fix use-after-free on SLOT_ALLOC failure\n\nWhen ne_create_vm_ioctl() fails the SLOT_ALLOC request after\nanon_inode_getfile() has succeeded, the error path calls\nfput(enclave_file) and then frees ne_enclave.\n\nIn normal userspace context, fput() defers the final __fput() via\ntask_work. ne_enclave_release() therefore runs after ne_enclave has\nalready been freed and dereferences ne_enclave->slot_uid, causing a\nuse-after-free: KASAN: slab-use-after-free in ne_enclave_release.\n\nThe enclave has no slot allocated and is not yet linked into the\nenclaves list on this error path, so ne_enclave_release() is expected\nto return early when slot_uid is zero. However, reading slot_uid\nalready accesses the freed object.\n\nClear enclave_file->private_data before fput() on the error path.\nne_enclave_release() then returns immediately when private_data is\nNULL, leaving the ioctl error path as the sole owner of ne_enclave.\nThis is safe because the file has not been fd_install()'d yet.\n\nTested on an AWS EC2 m5.2xlarge with CONFIG_KASAN=y. Without the\npatch, the reproducer triggers a KASAN slab-use-after-free on every\nSLOT_ALLOC failure. With the patch, no KASAN report is produced and\nthe SLOT_ALLOC error is still returned. Normal enclave creation and\nteardown are unaffected."
    }
  ],
  "lastModified": "2026-10-19T10:19:41.597",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}