mbox series

[4.19,0/1] drm/amdkfd: Check for null pointer after calling kmemdup

Message ID 20230103184308.511448-1-dragos.panait@windriver.com (mailing list archive)
Headers show
Series drm/amdkfd: Check for null pointer after calling kmemdup | expand

Message

Dragos-Marian Panait Jan. 3, 2023, 6:43 p.m. UTC
The following commit is needed to fix CVE-2022-3108:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abfaf0eee97925905e742aa3b0b72e04a918fa9e

Jiasheng Jiang (1):
  drm/amdkfd: Check for null pointer after calling kmemdup

 drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 +++
 1 file changed, 3 insertions(+)


base-commit: c652c812211c7a427d16be1d3f904eb02eb4265f

Comments

Greg KH Jan. 4, 2023, 12:38 p.m. UTC | #1
On Tue, Jan 03, 2023 at 08:43:07PM +0200, Dragos-Marian Panait wrote:
> The following commit is needed to fix CVE-2022-3108:

That's a funny cve, given that you can not ever trigger it in a system,
right?  Why was a CVE allocated for that?

{sigh}