---
id: CVE-2022-49262
title: 'crypto: octeontx2 - remove CONFIG_DM_CRYPT check'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  crypto: octeontx2 - remove CONFIG_DM_CRYPT check

  No issues were found while using the driver with dm-crypt enabled. So
  CONFIG_DM_CRYPT check in the driver can be remov…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 <
    e6374086f249295121384bfaa7cdcc8d461146f0
  - >-
    Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 <
    a462214866eebbca87e13ff6d73092b1c4895624
  - >-
    Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 <
    a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2
  - >-
    Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 <
    2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569
  - Linux 5.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:44:53.558254Z'
published: '2025-02-26'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:49:38.039Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49262'
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'
tags:
  - cve.org
epss: 0.00261
epssPercentile: 0.17998
ingestedAt: '2026-11-05T22:38:31.570Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

crypto: octeontx2 - remove CONFIG_DM_CRYPT check

No issues were found while using the driver with dm-crypt enabled. So
CONFIG_DM_CRYPT check in the driver can be removed.

This also fixes the NULL pointer dereference in driver release if
CONFIG_DM_CRYPT is enabled.

...
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
...
Call trace:
 crypto_unregister_alg+0x68/0xfc
 crypto_unregister_skciphers+0x44/0x60
 otx2_cpt_crypto_exit+0x100/0x1a0
 otx2_cptvf_remove+0xf8/0x200
 pci_device_remove+0x3c/0xd4
 __device_release_driver+0x188/0x234
 device_release_driver+0x2c/0x4c
...

## Affected

- `Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 < e6374086f249295121384bfaa7cdcc8d461146f0`
- `Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 < a462214866eebbca87e13ff6d73092b1c4895624`
- `Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 < a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2`
- `Linux >= 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 < 2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569`
- `Linux 5.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
