{"id":"CVE-2022-49262","state":"PUBLISHED","title":"crypto: octeontx2 - remove CONFIG_DM_CRYPT check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: octeontx2 - remove CONFIG_DM_CRYPT check\n\nNo issues were found while using the driver with dm-crypt enabled. So\nCONFIG_DM_CRYPT check in the driver can be removed.\n\nThis also fixes the NULL pointer dereference in driver release if\nCONFIG_DM_CRYPT is enabled.\n\n...\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000008\n...\nCall trace:\n crypto_unregister_alg+0x68/0xfc\n crypto_unregister_skciphers+0x44/0x60\n otx2_cpt_crypto_exit+0x100/0x1a0\n otx2_cptvf_remove+0xf8/0x200\n pci_device_remove+0x3c/0xd4\n __device_release_driver+0x188/0x234\n device_release_driver+0x2c/0x4c\n...","publishedAt":"2025-02-26T01:56:13.566Z","updatedAt":"2026-05-11T18:56:18.697Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"e6374086f249295121384bfaa7cdcc8d461146f0","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"a462214866eebbca87e13ff6d73092b1c4895624","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"]}],"references":["https://git.kernel.org/stable/c/e6374086f249295121384bfaa7cdcc8d461146f0","https://git.kernel.org/stable/c/a462214866eebbca87e13ff6d73092b1c4895624","https://git.kernel.org/stable/c/a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2","https://git.kernel.org/stable/c/2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49262.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49262","state":"PUBLISHED","datePublished":"2025-02-26T01:56:13.566Z","dateUpdated":"2026-05-11T18:56:18.697Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T01:49:39.296Z"},"containers":{"cna":{"title":"crypto: octeontx2 - remove CONFIG_DM_CRYPT check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: octeontx2 - remove CONFIG_DM_CRYPT check\n\nNo issues were found while using the driver with dm-crypt enabled. So\nCONFIG_DM_CRYPT check in the driver can be removed.\n\nThis also fixes the NULL pointer dereference in driver release if\nCONFIG_DM_CRYPT is enabled.\n\n...\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000008\n...\nCall trace:\n crypto_unregister_alg+0x68/0xfc\n crypto_unregister_skciphers+0x44/0x60\n otx2_cpt_crypto_exit+0x100/0x1a0\n otx2_cptvf_remove+0xf8/0x200\n pci_device_remove+0x3c/0xd4\n __device_release_driver+0x188/0x234\n device_release_driver+0x2c/0x4c\n..."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"e6374086f249295121384bfaa7cdcc8d461146f0","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"a462214866eebbca87e13ff6d73092b1c4895624","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2","versionType":"git"},{"version":"6f03f0e8b6c8a82d8e740ff3a87ed407ad423243","status":"affected","lessThan":"2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e6374086f249295121384bfaa7cdcc8d461146f0"},{"url":"https://git.kernel.org/stable/c/a462214866eebbca87e13ff6d73092b1c4895624"},{"url":"https://git.kernel.org/stable/c/a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2"},{"url":"https://git.kernel.org/stable/c/2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:56:18.697Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.15.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.16.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}