diff --git a/kdump-lib-initramfs.sh b/kdump-lib-initramfs.sh index a7c0bf9de3cd604bba10fd2a39481f11ccc8e90d..03949ea177bad153ac8c017b657f294585c622f3 100755 --- a/kdump-lib-initramfs.sh +++ b/kdump-lib-initramfs.sh @@ -164,7 +164,7 @@ save_vmcore_dmesg_fs() { _exitcode=$? if [ $_exitcode -eq 0 ]; then mv ${_path}/vmcore-dmesg-incomplete.txt ${_path}/vmcore-dmesg.txt - + chmod 400 ${_path}/vmcore-dmesg.txt # Make sure file is on disk. There have been instances where later # saving vmcore failed and system rebooted without sync and there # was no vmcore-dmesg.txt available. diff --git a/kexec-tools.spec b/kexec-tools.spec index 6d1a7e65db312f9b21261777abc2ac3a064f8689..91383be38ef58646727d1377a4dd02f4731a67a3 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.23 -Release: 4 +Release: 5 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -290,6 +290,9 @@ done %endif %changelog +* Wed Aug 3 2022 chenhaixiang - 2.0.23-5 +- fix CVE-2021-20269 + * Fri Mar 11 2022 wangbin - 2.0.23-4 - packing 98-kexec.rules instead of 98-kexec.rules.ppc64