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 ...
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c",
"function": "cpt_register_algs"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569",
"digest": {
"length": 635.0,
"function_hash": "137488063205615453809591357578554968864"
},
"id": "CVE-2022-49262-33a09aa6"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569",
"digest": {
"line_hashes": [
"154722434508653546014263865289289340163",
"132029677175301188974633353317121477370",
"116926699489650246011040479095947402449",
"301711952683513120770154684800187354183",
"261472158687385411353926096764761903926",
"62310141442184019353705530813040587696",
"11585846833346301285393607278360876807",
"3444347135105561886172053666500741580",
"86832773183714316442641612573497908084",
"40154296986711956435264029436796709161",
"226182782866915180964309660598861977848",
"191878879583306532352421518422837456954"
],
"threshold": 0.9
},
"id": "CVE-2022-49262-4bd9d9a9"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2",
"digest": {
"line_hashes": [
"154722434508653546014263865289289340163",
"132029677175301188974633353317121477370",
"116926699489650246011040479095947402449",
"301711952683513120770154684800187354183",
"261472158687385411353926096764761903926",
"62310141442184019353705530813040587696",
"11585846833346301285393607278360876807",
"3444347135105561886172053666500741580",
"86832773183714316442641612573497908084",
"40154296986711956435264029436796709161",
"226182782866915180964309660598861977848",
"191878879583306532352421518422837456954"
],
"threshold": 0.9
},
"id": "CVE-2022-49262-83078bcf"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c",
"function": "cpt_register_algs"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2",
"digest": {
"length": 635.0,
"function_hash": "137488063205615453809591357578554968864"
},
"id": "CVE-2022-49262-9e3f7fd1"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c",
"function": "cpt_register_algs"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6374086f249295121384bfaa7cdcc8d461146f0",
"digest": {
"length": 635.0,
"function_hash": "137488063205615453809591357578554968864"
},
"id": "CVE-2022-49262-b24dc86c"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6374086f249295121384bfaa7cdcc8d461146f0",
"digest": {
"line_hashes": [
"154722434508653546014263865289289340163",
"132029677175301188974633353317121477370",
"116926699489650246011040479095947402449",
"301711952683513120770154684800187354183",
"261472158687385411353926096764761903926",
"62310141442184019353705530813040587696",
"11585846833346301285393607278360876807",
"3444347135105561886172053666500741580",
"86832773183714316442641612573497908084",
"40154296986711956435264029436796709161",
"226182782866915180964309660598861977848",
"191878879583306532352421518422837456954"
],
"threshold": 0.9
},
"id": "CVE-2022-49262-cb211537"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c",
"function": "cpt_register_algs"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a462214866eebbca87e13ff6d73092b1c4895624",
"digest": {
"length": 635.0,
"function_hash": "137488063205615453809591357578554968864"
},
"id": "CVE-2022-49262-d5001d9a"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a462214866eebbca87e13ff6d73092b1c4895624",
"digest": {
"line_hashes": [
"154722434508653546014263865289289340163",
"132029677175301188974633353317121477370",
"116926699489650246011040479095947402449",
"301711952683513120770154684800187354183",
"261472158687385411353926096764761903926",
"62310141442184019353705530813040587696",
"11585846833346301285393607278360876807",
"3444347135105561886172053666500741580",
"86832773183714316442641612573497908084",
"40154296986711956435264029436796709161",
"226182782866915180964309660598861977848",
"191878879583306532352421518422837456954"
],
"threshold": 0.9
},
"id": "CVE-2022-49262-d5ad4214"
}
]