Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: Set correct protection_map[] for VM_NONE/VM_SHARED For 32BIT platform _PAGE_PROTNONE is 0, so set a VMA to be VM_NONE or VM_SHARED will make pages non-present, then cause Oops with kernel page fault. Fix it by set correct protection_map[] for VM_NONE/VM_SHARED, replacing _PAGE_PROTNONE with _PAGE_PRESENT.
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 046303283d02c9732a778ccdeea433a899c78cbd
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 5fbdf95d2575ec53fd4a5c18e789b4d54a0281fe
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 380d7c1af4bd3e797692f5410ab374a98e766cd4
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 9531210f348aa78e260a9e5b0d1a6f7e7aa329e6
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before d5be446948b379f1d1a8e7bc6656d13f44c5c7b1
6.1.163 (semver)
6.6.124 (semver)
6.12.70 (semver)
6.18.10 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/046303283d02c9732a778ccdeea433a899c78cbd
git.kernel.org/...c/5fbdf95d2575ec53fd4a5c18e789b4d54a0281fe
git.kernel.org/...c/380d7c1af4bd3e797692f5410ab374a98e766cd4
git.kernel.org/...c/9531210f348aa78e260a9e5b0d1a6f7e7aa329e6
git.kernel.org/...c/d5be446948b379f1d1a8e7bc6656d13f44c5c7b1