mbox series

[SRU,noble:linux,0/1] race_sched in ubuntu_stress_smoke_test will cause kernel panic on 6.8 with Azure Standard_A2_v2 instance

Message ID 20240607040519.379954-1-john.cabaj@canonical.com
Headers show
Series race_sched in ubuntu_stress_smoke_test will cause kernel panic on 6.8 with Azure Standard_A2_v2 instance | expand

Message

John Cabaj June 7, 2024, 4:05 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2068024

SRU Justification

[Impact]

* When running stress-ng race-sched portion of ubuntu_stress_smoke_test, a NULL
  pointer dereference occurs on Azure Standard_A2_v2 instances with 100% reproducibility

[Fix]

* Clean cherry-pick from upstream
* Commit 1560d1f6eb6b398bddd80c16676776c0325fe5fe "sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()"

[Test Plan]

* Compile tested
* Boot tested
* Tested on Standard_A2_v2 instance, experienced panic without patch, successful
  test with patch

[Regression potential]

* Changes isolated, minimal regression risk

Xuewen Yan (1):
  sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()

 kernel/sched/fair.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Comments

Stefan Bader June 7, 2024, 8:10 a.m. UTC | #1
On 07.06.24 06:05, John Cabaj wrote:
> BugLink: https://bugs.launchpad.net/bugs/2068024
> 
> SRU Justification
> 
> [Impact]
> 
> * When running stress-ng race-sched portion of ubuntu_stress_smoke_test, a NULL
>    pointer dereference occurs on Azure Standard_A2_v2 instances with 100% reproducibility
> 
> [Fix]
> 
> * Clean cherry-pick from upstream
> * Commit 1560d1f6eb6b398bddd80c16676776c0325fe5fe "sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()"
> 
> [Test Plan]
> 
> * Compile tested
> * Boot tested
> * Tested on Standard_A2_v2 instance, experienced panic without patch, successful
>    test with patch
> 
> [Regression potential]
> 
> * Changes isolated, minimal regression risk
> 
> Xuewen Yan (1):
>    sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
> 
>   kernel/sched/fair.c | 18 ++++++++++++------
>   1 file changed, 12 insertions(+), 6 deletions(-)
> 

Acked-by: Stefan Bader <stefan.bader@canonical.com>
Agathe Porte June 7, 2024, 8:24 a.m. UTC | #2
2024-06-07 06:06 CEST, John Cabaj:
> BugLink: https://bugs.launchpad.net/bugs/2068024
> 
> SRU Justification
> 
> [Impact]
> 
> * When running stress-ng race-sched portion of ubuntu_stress_smoke_test, a NULL
>   pointer dereference occurs on Azure Standard_A2_v2 instances with 100% reproducibility
> 
> [Fix]
> 
> * Clean cherry-pick from upstream
> * Commit 1560d1f6eb6b398bddd80c16676776c0325fe5fe "sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()"
> 
> [Test Plan]
> 
> * Compile tested
> * Boot tested
> * Tested on Standard_A2_v2 instance, experienced panic without patch, successful
>   test with patch
> 
> [Regression potential]
> 
> * Changes isolated, minimal regression risk
> 
> Xuewen Yan (1):
>   sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
> 
>  kernel/sched/fair.c | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)

Acked-by: Agathe Porte <agathe.porte@canonical.com>
Stefan Bader June 7, 2024, 9:30 a.m. UTC | #3
On 07.06.24 06:05, John Cabaj wrote:
> BugLink: https://bugs.launchpad.net/bugs/2068024
> 
> SRU Justification
> 
> [Impact]
> 
> * When running stress-ng race-sched portion of ubuntu_stress_smoke_test, a NULL
>    pointer dereference occurs on Azure Standard_A2_v2 instances with 100% reproducibility
> 
> [Fix]
> 
> * Clean cherry-pick from upstream
> * Commit 1560d1f6eb6b398bddd80c16676776c0325fe5fe "sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()"
> 
> [Test Plan]
> 
> * Compile tested
> * Boot tested
> * Tested on Standard_A2_v2 instance, experienced panic without patch, successful
>    test with patch
> 
> [Regression potential]
> 
> * Changes isolated, minimal regression risk
> 
> Xuewen Yan (1):
>    sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
> 
>   kernel/sched/fair.c | 18 ++++++++++++------
>   1 file changed, 12 insertions(+), 6 deletions(-)
> 

Applied to noble:linux/master-next. Thanks.

-Stefan