All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
@ 2021-07-30  6:05 Nobuhiro Iwamatsu
  0 siblings, 0 replies; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-07-30  6:05 UTC (permalink / raw)
  To: stable; +Cc: gregkh, sashal, Nobuhiro Iwamatsu

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only or using loop memset, but for simplicity
we have taken the way of applying the original patch 3b3c4babd898
("lib/string.c: add multibyte memset functions") that provides memset32
in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 14 +++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 6 deletions(-)

-- 
2.32.0

From 97cc3a4817c982954ff69355d2577a92bddbad4a Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Date: Fri, 30 Jul 2021 14:40:55 +0900
Subject: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only, but for simplicity we have taken the
way of applying the original patch 3b3c4babd898 ("lib/string.c: add
multibyte memset functions") that provides memset32 in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 23 ++++++++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+), 6 deletions(-)

-- 
2.32.0



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

* Re: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
  2021-07-30  6:08 Nobuhiro Iwamatsu
  2021-07-30  6:27 ` Greg KH
@ 2021-07-30  6:36 ` Greg KH
  1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2021-07-30  6:36 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: stable, sashal

On Fri, Jul 30, 2021 at 03:08:03PM +0900, Nobuhiro Iwamatsu wrote:
> Hi,
> 
> This is a patch series to CVE-2021-21781.
> The patch 9c698bff66ab ("RM: ensure the signal page contains defined
> contents") depepds on memset32. However, this function is not provided
> in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
> add multibyte memset functions") to apply this feature.
> Another option is to implement only the memset32 function in
> arch/arm/kernel/signal.c only or using loop memset, but for simplicity
> we have taken the way of applying the original patch 3b3c4babd898
> ("lib/string.c: add multibyte memset functions") that provides memset32
> in mainline kernel.

All now queued up, thanks.

greg k-h

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

* Re: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
  2021-07-30  6:27 ` Greg KH
@ 2021-07-30  6:28   ` Greg KH
  0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2021-07-30  6:28 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: stable, sashal

On Fri, Jul 30, 2021 at 08:27:20AM +0200, Greg KH wrote:
> On Fri, Jul 30, 2021 at 03:08:03PM +0900, Nobuhiro Iwamatsu wrote:
> > Hi,
> > 
> > This is a patch series to CVE-2021-21781.
> 
> Given that this looks to be a "private" CVE at this point in time:
> 	https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21781
> you are going to have to provide a bit more information here :(

Ah, nevermind, patch 2 explains things, this is fine, thanks for the
backports.

greg k-h

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

* Re: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
  2021-07-30  6:08 Nobuhiro Iwamatsu
@ 2021-07-30  6:27 ` Greg KH
  2021-07-30  6:28   ` Greg KH
  2021-07-30  6:36 ` Greg KH
  1 sibling, 1 reply; 6+ messages in thread
From: Greg KH @ 2021-07-30  6:27 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: stable, sashal

On Fri, Jul 30, 2021 at 03:08:03PM +0900, Nobuhiro Iwamatsu wrote:
> Hi,
> 
> This is a patch series to CVE-2021-21781.

Given that this looks to be a "private" CVE at this point in time:
	https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21781
you are going to have to provide a bit more information here :(

thanks,

greg k-h

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

* [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
@ 2021-07-30  6:08 Nobuhiro Iwamatsu
  2021-07-30  6:27 ` Greg KH
  2021-07-30  6:36 ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-07-30  6:08 UTC (permalink / raw)
  To: stable; +Cc: gregkh, sashal, Nobuhiro Iwamatsu

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only or using loop memset, but for simplicity
we have taken the way of applying the original patch 3b3c4babd898
("lib/string.c: add multibyte memset functions") that provides memset32
in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 14 +++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 6 deletions(-)

-- 
2.32.0

From 97cc3a4817c982954ff69355d2577a92bddbad4a Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Date: Fri, 30 Jul 2021 14:40:55 +0900
Subject: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only, but for simplicity we have taken the
way of applying the original patch 3b3c4babd898 ("lib/string.c: add
multibyte memset functions") that provides memset32 in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 23 ++++++++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+), 6 deletions(-)

-- 
2.32.0



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

* [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9
@ 2021-07-30  6:06 Nobuhiro Iwamatsu
  0 siblings, 0 replies; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-07-30  6:06 UTC (permalink / raw)
  To: stable; +Cc: gregkh, sashal, Nobuhiro Iwamatsu

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only or using loop memset, but for simplicity
we have taken the way of applying the original patch 3b3c4babd898
("lib/string.c: add multibyte memset functions") that provides memset32
in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 14 +++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 6 deletions(-)

-- 
2.32.0

From 97cc3a4817c982954ff69355d2577a92bddbad4a Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Date: Fri, 30 Jul 2021 14:40:55 +0900
Subject: [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9

Hi,

This is a patch series to CVE-2021-21781.
The patch 9c698bff66ab ("RM: ensure the signal page contains defined
contents") depepds on memset32. However, this function is not provided
in 4.4 and 4.9. Therefore, we need the patch 3b3c4babd898 ("lib/string.c:
add multibyte memset functions") to apply this feature.
Another option is to implement only the memset32 function in
arch/arm/kernel/signal.c only, but for simplicity we have taken the
way of applying the original patch 3b3c4babd898 ("lib/string.c: add
multibyte memset functions") that provides memset32 in mainline kernel.

Best regards,
     Nobuhiro

Matthew Wilcox (1):
  lib/string.c: add multibyte memset functions

Russell King (1):
  ARM: ensure the signal page contains defined contents

 arch/arm/kernel/signal.c | 23 ++++++++++----
 include/linux/string.h   | 30 ++++++++++++++++++
 lib/string.c             | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+), 6 deletions(-)

-- 
2.32.0



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

end of thread, other threads:[~2021-07-30  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30  6:05 [RFC/PATCH 0/2] Backports CVE-2021-21781 for 4.4 and 4.9 Nobuhiro Iwamatsu
2021-07-30  6:06 Nobuhiro Iwamatsu
2021-07-30  6:08 Nobuhiro Iwamatsu
2021-07-30  6:27 ` Greg KH
2021-07-30  6:28   ` Greg KH
2021-07-30  6:36 ` Greg KH

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.