mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds
       [not found] <2024062501-CVE-2024-39471-3dee@gregkh>
@ 2024-07-24 10:05 ` Siddh Raman Pant
  2024-07-24 10:14   ` gregkh
  2024-07-24 10:24   ` Siddh Raman Pant
  0 siblings, 2 replies; 4+ messages in thread
From: Siddh Raman Pant @ 2024-07-24 10:05 UTC (permalink / raw)
  To: gregkh; +Cc: cve, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

On Tue, 25 Jun 2024 16:29:04 +0200, Greg Kroah-Hartman wrote:
> In the Linux kernel, the following vulnerability has been resolved:
> 
> drm/amdgpu: add error handle to avoid out-of-bounds
> 
> if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
> be stop to avoid out-of-bounds read, so directly return -EINVAL.
> 
> The Linux kernel CVE team has assigned CVE-2024-39471 to this issue.

This commit has a bug which was fixed by 6769a23697f1. It should be
immediately backported, otherwise this "fix" doesn't do anything since
gcc will optimise out the check.

Thanks,
Siddh

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds
  2024-07-24 10:05 ` CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds Siddh Raman Pant
@ 2024-07-24 10:14   ` gregkh
  2024-07-24 10:19     ` Siddh Raman Pant
  2024-07-24 10:24   ` Siddh Raman Pant
  1 sibling, 1 reply; 4+ messages in thread
From: gregkh @ 2024-07-24 10:14 UTC (permalink / raw)
  To: Siddh Raman Pant; +Cc: cve, linux-kernel

On Wed, Jul 24, 2024 at 10:05:53AM +0000, Siddh Raman Pant wrote:
> On Tue, 25 Jun 2024 16:29:04 +0200, Greg Kroah-Hartman wrote:
> > In the Linux kernel, the following vulnerability has been resolved:
> > 
> > drm/amdgpu: add error handle to avoid out-of-bounds
> > 
> > if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
> > be stop to avoid out-of-bounds read, so directly return -EINVAL.
> > 
> > The Linux kernel CVE team has assigned CVE-2024-39471 to this issue.
> 
> This commit has a bug which was fixed by 6769a23697f1. It should be
> immediately backported, otherwise this "fix" doesn't do anything since
> gcc will optimise out the check.

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

(hint, send the request to stable@vger.kernel.org, not
cve@kernel.org...)

Also, any specific reason why that commit was NOT marked for stable
inclusion by the developers/maintainers involved with it and you didn't
cc any of them here either :(

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds
  2024-07-24 10:14   ` gregkh
@ 2024-07-24 10:19     ` Siddh Raman Pant
  0 siblings, 0 replies; 4+ messages in thread
From: Siddh Raman Pant @ 2024-07-24 10:19 UTC (permalink / raw)
  To: gregkh; +Cc: cve, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]

On Wed, Jul 24 2024 at 15:44:12 +0530, gregkh@linuxfoundation.org
wrote:
> On Wed, Jul 24, 2024 at 10:05:53AM +0000, Siddh Raman Pant wrote:
> > On Tue, 25 Jun 2024 16:29:04 +0200, Greg Kroah-Hartman wrote:
> > > In the Linux kernel, the following vulnerability has been resolved:
> > > 
> > > drm/amdgpu: add error handle to avoid out-of-bounds
> > > 
> > > if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
> > > be stop to avoid out-of-bounds read, so directly return -EINVAL.
> > > 
> > > The Linux kernel CVE team has assigned CVE-2024-39471 to this issue.
> > 
> > This commit has a bug which was fixed by 6769a23697f1. It should be
> > immediately backported, otherwise this "fix" doesn't do anything since
> > gcc will optimise out the check.
> 
> <formletter>
> 
> This is not the correct way to submit patches for inclusion in the
> stable kernel tree.  Please read:
>     https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
> for how to do this properly.
> 
> </formletter>
> 
> (hint, send the request to stable@vger.kernel.org, not
> cve@kernel.org...)
> 
> Also, any specific reason why that commit was NOT marked for stable
> inclusion by the developers/maintainers involved with it and you didn't
> cc any of them here either :(

Oops, sorry, my bad.

Siddh

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds
  2024-07-24 10:05 ` CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds Siddh Raman Pant
  2024-07-24 10:14   ` gregkh
@ 2024-07-24 10:24   ` Siddh Raman Pant
  1 sibling, 0 replies; 4+ messages in thread
From: Siddh Raman Pant @ 2024-07-24 10:24 UTC (permalink / raw)
  To: stable
  Cc: alexander.deucher, amd-gfx, kernel-janitors, dri-devel,
	dan.carpenter, linux-kernel, bob.zhou

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

(Mail V2: Send to correct mailing list and CCing relevant people.)

On Tue, 25 Jun 2024 16:29:04 +0200, Greg Kroah-Hartman wrote:
> In the Linux kernel, the following vulnerability has been resolved:
> 
> drm/amdgpu: add error handle to avoid out-of-bounds
> 
> if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
> be stop to avoid out-of-bounds read, so directly return -EINVAL.
> 
> The Linux kernel CVE team has assigned CVE-2024-39471 to this issue.

This commit has a bug which was fixed by 6769a23697f1. It should be
immediately backported, otherwise this "fix" doesn't do anything since
gcc will optimise out the check.

Thanks,
Siddh

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-24 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2024062501-CVE-2024-39471-3dee@gregkh>
2024-07-24 10:05 ` CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds Siddh Raman Pant
2024-07-24 10:14   ` gregkh
2024-07-24 10:19     ` Siddh Raman Pant
2024-07-24 10:24   ` Siddh Raman Pant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®