All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-cve-announce@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: CVE-2022-49294: drm/amd/display: Check if modulo is 0 before dividing.
Date: Wed, 26 Feb 2025 03:00:26 +0100	[thread overview]
Message-ID: <2025022625-CVE-2022-49294-a2fc@gregkh> (raw)

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

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

drm/amd/display: Check if modulo is 0 before dividing.

[How & Why]
If a value of 0 is read, then this will cause a divide-by-0 panic.

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


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

	Fixed in 5.15.47 with commit 10ef82d6e0af5536ec64770c07f6bbabfdd6977c
	Fixed in 5.17.15 with commit 96725758eff7b3805e4e94d1443a100757412720
	Fixed in 5.18.4 with commit 07efce8269a038c37814eb656b4de14aa3015fc6
	Fixed in 5.19 with commit 49947b906a6bd9668eaf4f9cf691973c25c26955

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-49294
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/gpu/drm/amd/display/dc/dce/dce_clock_source.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/10ef82d6e0af5536ec64770c07f6bbabfdd6977c
	https://git.kernel.org/stable/c/96725758eff7b3805e4e94d1443a100757412720
	https://git.kernel.org/stable/c/07efce8269a038c37814eb656b4de14aa3015fc6
	https://git.kernel.org/stable/c/49947b906a6bd9668eaf4f9cf691973c25c26955

                 reply	other threads:[~2025-02-26  2:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2025022625-CVE-2022-49294-a2fc@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=cve@kernel.org \
    --cc=linux-cve-announce@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.