Bug 2348105 (CVE-2022-49262) - CVE-2022-49262 kernel: crypto: octeontx2 - remove CONFIG_DM_CRYPT check
Summary: CVE-2022-49262 kernel: crypto: octeontx2 - remove CONFIG_DM_CRYPT check
Keywords:
Status: NEW
Alias: CVE-2022-49262
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:17 UTC by OSIDB Bzimport
Modified: 2025-02-26 18:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:17:47 UTC
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
...

Comment 1 Avinash Hanwate 2025-02-26 13:52:15 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022628-CVE-2022-49262-c11a@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 18:14:28 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022628-CVE-2022-49262-c11a@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.