Skip to content

[PW_SID:1067410] [v2] riscv: mm: add null check for find_vm_area in __set_memory#1624

Open
linux-riscv-bot wants to merge 1 commit intoworkflow__riscv__fixesfrom
pw1067410
Open

[PW_SID:1067410] [v2] riscv: mm: add null check for find_vm_area in __set_memory#1624
linux-riscv-bot wants to merge 1 commit intoworkflow__riscv__fixesfrom
pw1067410

Conversation

@linux-riscv-bot
Copy link

PR for series 1067410 applied to workflow__riscv__fixes

Name: [v2] riscv: mm: add null check for find_vm_area in __set_memory
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1067410
Version: 2

find_vm_area() can return NULL. Add a null check to avoid potential
null pointer dereference, matching the pattern used by other arches.

Fixes: 311cd2f ("riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings")
Cc: stable@vger.kernel.org
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1113.11 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1673.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.72 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.77 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v2] riscv: mm: add null check for find_vm_area in __set_memory"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants