cvelo
P4 · Info

crypto: zynqmp-sha - fix NULL pointer dereference in init_tfm

  • CVE-2026-143413
  • EUVD-2026-145010

Summary

A flaw in the Linux kernel crypto driver zynqmp-sha causes a NULL pointer dereference in zynqmp_sha_init_tfm(). The function checks the statesize of the fallback transform in the transform context before that context's fallback pointer has been assigned, and the context is zero-initialized, so the check reads through a NULL pointer. The fix is to use the local fallback_tfm pointer for the size check instead. The record does not give a CVSS score, and it is not listed in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: zynqmp-sha - fix NULL pointer dereference in init_tfm zynqmp_sha_init_tfm() checks crypto_shash_statesize(tfm_ctx->fbk_tfm) before assigning the fallback transform to it, which dereferences a NULL pointer since the transform context is zero-initialized. Use the local fallback_tfm pointer for the size check instead.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.16none stated
    before 6.16: not affectednone stated
    from 6.18.63 up to 6.18.*: not affectednone stated
    from 7.3.4 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.