CVE-2022-49262: crypto: octeontx2 - remove CONFIG_DM_CRYPT check
In the Linux kernel, the following vulnerability has been resolved:
crypto: octeontx2 - remove CONFIGDMCRYPT check
No issues were found while using the driver with dm-crypt enabled. So CONFIGDMCRYPT check in the driver can be removed.
This also fixes the NULL pointer dereference in driver release if CONFIGDMCRYPT is enabled.
... Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 ... Call trace: cryptounregisteralg+0x68/0xfc cryptounregisterskciphers+0x44/0x60 otx2cptcryptoexit+0x100/0x1a0 otx2cptvfremove+0xf8/0x200 pcideviceremove+0x3c/0xd4 devicereleasedriver+0x188/0x234 devicereleasedriver+0x2c/0x4c ...
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.33 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.16.19 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.17.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.17.3-1