You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.20
Custom code
Yes
OS platform and distribution
Ubuntu 22.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA 12.5.1, cuDNN 9.2.1
GPU model and memory
No response
Current behavior?
Compute-Sanitizer reports an out of bounds read on cuda kernel RollKernel
Standalone code to reproduce the issue
# RollOp
import tensorflow as tf
gpus = tf.config.list_physical_devices('GPU')
assert gpus, 'No GPU found'
tf.config.experimental.set_memory_growth(gpus[0], True)
with tf.device("/GPU:0"):
# values truncated in crash log; using uniform fill to match declared shape
input = tf.ones([46341,46340], dtype=tf.int32)
shift = tf.constant(2147483647, shape=[], dtype=tf.int32)
axis = tf.constant(-1, shape=[], dtype=tf.int32)
res = tf.raw_ops.Roll(input=input, shift=shift, axis=axis)
res.numpy()
print(res)
Relevant log output
========= Invalid __global__ read of size 4 bytes
========= at void tensorflow::<unnamed>::RollKernel<int>(int, int, const T1 *, T1 *, const int *, const int *, const long *)+0x1cd0
========= by thread (128,0,0) in block (19,0,0)
========= Address 0xd0000b800 is out of bounds
Hi @kokol16,
Thank you so much for filing this issue! We truly appreciate your support. At the moment, this request is not prioritized and mark it for community contributions. If you would like to contribute on a fix, please feel free to fork the repository and submit a pull request in accordance with the TensorFlow CONTRIBUTION GUIDELINES and link this issue in your PR to ensure the maintainers can easily review and collaborate.
To avoid duplicate work, please leave a comment here if you decide to take it on!
Thank you again for your interest and we look forward to seeing your contributions!
Activity
avmohansai commentedon Feb 12, 2026
@Venkat6871, I Was able to reproduce the issue on Colab using TF v2.20.0 and TF-nightly ,Please find the gist here for reference .Thanks!
Kayyuri commentedon Aug 13, 2026
Hi @kokol16,
Thank you so much for filing this issue! We truly appreciate your support. At the moment, this request is not prioritized and mark it for community contributions. If you would like to contribute on a fix, please feel free to fork the repository and submit a pull request in accordance with the TensorFlow CONTRIBUTION GUIDELINES and link this issue in your PR to ensure the maintainers can easily review and collaborate.
To avoid duplicate work, please leave a comment here if you decide to take it on!
Thank you again for your interest and we look forward to seeing your contributions!
google-ml-butler commentedon Oct 13, 2026
Are you satisfied with the resolution of your issue?
Yes
No