PyTorch batch-norm stats update overruns undersized tensors
The CPU path indexes running mean and variance by channel count without checking buffer length, causing heap out-of-bounds access.
By tensorThe CPU path indexes running mean and variance by channel count without checking buffer length, causing heap out-of-bounds access.
By tensorUnchecked offsets in _reinterpret_tensor let callers produce views that read past storage and trigger heap buffer overflows.
By tensorFull-width vector stores on tail blocks of 2D-tiled reductions corrupt memory or silently rewrite neighboring output rows.
By tensor