The implementation of `QuantizedMaxPool` has an undefined behavior where user-controlled inputs can trigger a reference binding to a null pointer. This issue can be exploited when using the `tf.raw ops.QuantizedMaxPool` function with specific parameters, such as `input`, `min input`, `max input`, `ksize`, `strides`, and `padding`. For example, the following code snippet demonstrates the vulnerability:
```python
import tensorflow as tf
tf.raw ops.QuantizedMaxPool(
input = tf.constant([[[[4]]]], dtype=tf.quint8),
min input = [],
max input = [1],
ksize = [1, 1, 1, 1],
strides = [1, 1, 1, 1],
padding = "SAME", name=None
)
```
The issue has been reported by Faysal Hossain Shezan from the University of Virginia.