lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022628-CVE-2022-49262-c11a@gregkh>
Date: Wed, 26 Feb 2025 02:57:47 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49262: crypto: octeontx2 - remove CONFIG_DM_CRYPT check

Description
===========

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
...

The Linux kernel CVE team has assigned CVE-2022-49262 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.12 with commit 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 and fixed in 5.15.33 with commit e6374086f249295121384bfaa7cdcc8d461146f0
	Issue introduced in 5.12 with commit 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 and fixed in 5.16.19 with commit a462214866eebbca87e13ff6d73092b1c4895624
	Issue introduced in 5.12 with commit 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 and fixed in 5.17.2 with commit a1bf728f3388ac3a2c2dffa57e25622e90b9f6f2
	Issue introduced in 5.12 with commit 6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 and fixed in 5.18 with commit 2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-49262
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ