Junglewise Threat Intelligence

CVE-2026-64436: Linux Kernel slab-out-of-bounds read in af_key IPComp state migration

CVE-2026-64436 · Severity: info · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's networking component could allow a local user to cause a system crash or potentially access sensitive information. The issue occurs when the system handles specific types of compressed network security associations, leading to an 'out-of-bounds' memory read. This could disrupt network operations or impact the overall stability of the server.

Technical details

A vulnerability exists in pfkey_msg2xfrm_state() within the Linux kernel's net/key/af_key.c. When handling IPComp (SADB_X_SATYPE_IPCOMP), the function allocates an xfrm_algo object but fails to initialize the alg_key_len field. Because IPComp does not use keys, this field remains populated with uninitialized slab data. When the state is subsequently cloned during an XFRM_MSG_MIGRATE operation, xfrm_algo_clone() uses the garbage value in alg_key_len to determine the length for kmemdup(), resulting in a slab-out-of-bounds read. This can be triggered by adding an IPComp SA via PF_KEY and then performing a migration. The issue has been patched by explicitly initializing alg_key_len to zero.

Affected products

  • Linux Linux Kernel 7.1.0-rc6-g903db046d557

Timeline

  • 2026-06-08: other: Vulnerability fixed in source code
  • 2026-07-24: patched: Patch committed to stable tree
  • 2026-07-25: advisory: CVE published

References

Related threats