一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-80522 [HIGH] – In the Linux kernel, the following vulnerability has been resolved: crypto: tegra – fix r

未分类
📑 文章目录

In the Linux kernel, the following vulnerability has been resolved:

crypto: tegra – fix rctx->cryptlen calculation in tegra_gcm_do_one_req()

Perform rctx->cryptlen calculation in tegra_gcm_do_one_req() the same way
it is done in tegra_ccm_crypt_init(). The current formulae may lead to a
crash if a caller does not call tegra_gcm_setauthsize() and so ctx->authsize
remains zero. Then a decrypt operation with incorrect rctx->cryptlen will
lead to a write beyound rctx->dst_sg buffer.

As a follow-up cleanup delete struct tegra_aead_ctx->authsize field since
it appears to be completely unused. Also simplify tegra_ccm_setauthsize()
and tegra_gcm_setauthsize() functions respectively.