Activity log for bug #1946464

Date Who What changed Old value New value Message
2021-10-08 09:51:59 Krzysztof Kozlowski bug added bug
2021-10-08 09:52:17 Krzysztof Kozlowski nominated for series Ubuntu Bionic
2021-10-08 09:52:17 Krzysztof Kozlowski bug task added linux (Ubuntu Bionic)
2021-10-08 09:56:38 Krzysztof Kozlowski description Commit 5047ef5725ed ("x86/mm: Don't free P4D table when it is folded at runtime") should not be backported to v4.15 because: 1. It adds pgtable_l5_enabled which does not exist in v4.15, 2. It is marked as v4.17+ 3. It is marked as fixing commit which does not exist in v4.15 and was not backported there. allyesconfig in x86_64 fails to build: --- In file included from ../arch/x86/include/asm/mmu_context.h:12, from ../include/linux/mmu_context.h:5, from ../arch/x86/kvm/../../../virt/kvm/async_pf.c:26: ../arch/x86/include/asm/pgalloc.h: In function ‘p4d_free’: ../arch/x86/include/asm/pgalloc.h:185:7: error: ‘pgtable_l5_enabled’ undeclared (first use in this function); did you mean ‘movable_node_enabled’? 185 | if (!pgtable_l5_enabled) | ^~~~~~~~~~~~~~~~~~ | movable_node_enabled --- [Impact] Commit 5047ef5725ed ("x86/mm: Don't free P4D table when it is folded at runtime") should not be backported to v4.15 because: 1. It adds pgtable_l5_enabled which does not exist in v4.15, 2. It is marked as v4.17+ 3. It is marked as fixing commit which does not exist in v4.15 and was not backported there. allyesconfig in x86_64 fails to build: --- In file included from ../arch/x86/include/asm/mmu_context.h:12,                  from ../include/linux/mmu_context.h:5,                  from ../arch/x86/kvm/../../../virt/kvm/async_pf.c:26: ../arch/x86/include/asm/pgalloc.h: In function ‘p4d_free’: ../arch/x86/include/asm/pgalloc.h:185:7: error: ‘pgtable_l5_enabled’ undeclared (first use in this function); did you mean ‘movable_node_enabled’?   185 | if (!pgtable_l5_enabled)       | ^~~~~~~~~~~~~~~~~~       | movable_node_enabled --- [Test Plan] Compile the x86_64 KVM code. [Where problems could occur] If backport commit is actually needed, e.g. when we backport 5-level page tables and commit 98219dda2ab5 ("x86/mm: Fold p4d page table layer at runtime"), this could cause double-free and memory corruption. When backporting x86_64 5-level pages, we need to bring this commit as well.
2021-10-08 09:56:55 Krzysztof Kozlowski tags bionic
2021-10-08 10:00:12 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2021-10-08 10:00:15 Ubuntu Kernel Bot linux (Ubuntu Bionic): status New Incomplete
2021-10-08 11:12:20 Krzysztof Kozlowski linux (Ubuntu): status Incomplete In Progress
2021-10-08 11:12:22 Krzysztof Kozlowski linux (Ubuntu Bionic): status Incomplete In Progress
2021-10-08 11:12:26 Krzysztof Kozlowski linux (Ubuntu): assignee Krzysztof Kozlowski (krzk)
2021-10-08 11:12:28 Krzysztof Kozlowski linux (Ubuntu Bionic): assignee Krzysztof Kozlowski (krzk)
2021-10-13 00:07:14 Kelsey Steele linux (Ubuntu Bionic): status In Progress Fix Committed
2021-10-20 22:56:42 Ubuntu Kernel Bot tags bionic bionic verification-needed-bionic
2021-11-02 08:20:18 Krzysztof Kozlowski tags bionic verification-needed-bionic bionic verification-done-bionic
2021-11-08 14:15:41 Launchpad Janitor linux (Ubuntu Bionic): status Fix Committed Fix Released
2021-11-08 14:15:41 Launchpad Janitor cve linked 2019-19449
2021-11-08 14:15:41 Launchpad Janitor cve linked 2020-36322
2021-11-08 14:15:41 Launchpad Janitor cve linked 2020-36385
2021-11-08 14:15:41 Launchpad Janitor cve linked 2021-28950
2021-11-08 14:15:41 Launchpad Janitor cve linked 2021-3759
2021-11-08 14:15:41 Launchpad Janitor cve linked 2021-38199
2022-02-23 09:26:45 Krzysztof Kozlowski linux (Ubuntu): status In Progress Fix Released