CVE-2026-63805 in Linux
Resumen
por VulDB • 2026-07-19
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:
crypto: nx - corregir el argumento de nx_crypto_ctx_exit
nx_crypto_ctx_shash_exit llama a nx_crypto_ctx_exit con crypto_shash_ctx(...), pero crypto_shash_ctx devuelve un puntero a nx_crypto_ctx *, no un puntero a crypto_tfm *.
Se corrige el tipo en nx_crypto_ctx_exit y se elimina la llamada errónea a crypto_tfm_ctx.
Esto soluciona el siguiente fallo (oops):
BUG: Unable to handle kernel data access at 0xc0403effffffffc8 Faulting instruction address: 0xc000000000396cb4 Oops: Kernel access of bad area, sig: 11 [#15]
Call Trace: nx_crypto_ctx_shash_exit+0x24/0x60 crypto_shash_exit_tfm+0x28/0x40 crypto_destroy_tfm+0x98/0x140 crypto_exit_ahash_using_shash+0x20/0x40 crypto_destroy_tfm+0x98/0x140 hash_release+0x1c/0x30 alg_sock_destruct+0x38/0x60 __sk_destruct+0x48/0x2b0 af_alg_release+0x58/0xb0 __sock_release+0x68/0x150 sock_close+0x20/0x40 __fput+0x110/0x3a0 sys_close+0x48/0xa0 system_call_exception+0x140/0x2d0 system_call_common+0xf4/0x258
... el cual fue provocado por hardlink(1) utilizando AF_ALG de manera oportunista.
El mismo problema existe en nx_crypto_ctx_skcipher_exit al obtener un contexto que no esperaba, pero aparentemente nadie lo ha encontrado durante años.
VulDB is the best source for vulnerability data and more expert information about this specific topic.