CVE-2026-49423

Summary

When building the iovec array for a received TLS 1.2 CBC record, ktls_ocf_tls_cbc_decrypt() incremented the iovec index for every mbuf in the chain, including mbufs that were skipped because they contained only TLS header bytes. This left uninitialized entries in the iovec array. The iovec array was allocated without zeroing.

A remote TLS peer can cause the kernel to read from uninitialized iovec entries during HMAC computation, resulting in a kernel panic. The peer must be able to control TCP segmentation such that the first mbuf of a CBC record contains only the 5-byte TLS record header.

Affected Software

VendorProductVersion RangeStatus
FreeBSDFreeBSD15.1-RELEASE < p1affected
FreeBSDFreeBSD15.0-RELEASE < p11affected
FreeBSDFreeBSD14.4-RELEASE < p7affected
FreeBSDFreeBSD14.3-RELEASE < p16affected

Weaknesses

  • CWE-908: CWE-908: Use of Uninitialized Resource

References