When attempting to create a new XFRM policy a stack out-of-bounds read will occur if the user provides a template where the mode is set to a value that does not resolve to a valid XFRM mode in Snapdragon Auto Snapdragon Compute Snapdragon Consumer Electronics Connectivity Snapdragon Consumer IOT Snapdragon Industrial IOT Snapdragon IoT Snapdragon Mobile Snapdragon Voice & Music Snapdragon Wearables Snapdragon Wired Infrastructure and Networking in APQ8009 APQ8053 APQ8096AU APQ8098 IPQ4019 IPQ8074 MDM9206 MDM9207C MDM9607 MDM9640 MDM9650 MSM8905 MSM8909W MSM8917 MSM8953 MSM8996AU QCA4531 QCN7605 QCS605 QM215 SA415M SC8180X SDA660 SDA845 SDM429 SDM429W SDM439 SDM450 SDM630 SDM632 SDM636 SDM660 SDM845 SDX20 SDX24 SDX55 SM6150 SM7150 SM8150 SM8250 SXR2130