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: <2025022637-CVE-2022-49319-f0b3@gregkh>
Date: Wed, 26 Feb 2025 03:09:53 +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-49319: iommu/arm-smmu-v3: check return value after calling platform_get_resource()

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

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

iommu/arm-smmu-v3: check return value after calling platform_get_resource()

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

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


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

	Fixed in 5.10.122 with commit 54c1e0e3bbcab2abe25b2874a43050ae5df87831
	Fixed in 5.15.47 with commit fb0f1c5eb8d60b3e018ba7c87da249b52674ebe6
	Fixed in 5.17.15 with commit db728a891f9177b044aaca89b678f6b5e24d5cc3
	Fixed in 5.18.4 with commit 54cf47da0c7532d151d76e5d63f5936191698c44
	Fixed in 5.19 with commit b131fa8c1d2afd05d0b7598621114674289c2fbb

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-49319
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/iommu/arm/arm-smmu-v3/arm-smmu-v3.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/54c1e0e3bbcab2abe25b2874a43050ae5df87831
	https://git.kernel.org/stable/c/fb0f1c5eb8d60b3e018ba7c87da249b52674ebe6
	https://git.kernel.org/stable/c/db728a891f9177b044aaca89b678f6b5e24d5cc3
	https://git.kernel.org/stable/c/54cf47da0c7532d151d76e5d63f5936191698c44
	https://git.kernel.org/stable/c/b131fa8c1d2afd05d0b7598621114674289c2fbb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ