Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
An issue was discovered TensorFlow v2.18.0. A Denial of Service (DoS) occurs when padding is set to 'valid' in tf.keras.layers.Conv2D.
A flaw was found in TensorFlow. When a model uses tf.keras.layers.Conv2D with padding='valid' and is compiled using XLA, the compiler miscalculates the output shape and ends up with a negative dimension. This causes the process to crash during compilation, leading to a denial of service. The same operation works correctly in eager mode because it checks dimensions dynamically, but under XLA the static shape calculation fails and stops execution.

