fix CVE-2021-20269
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
This commit is contained in:
parent
e568658a70
commit
95ed002ace
@ -164,7 +164,7 @@ save_vmcore_dmesg_fs() {
|
|||||||
_exitcode=$?
|
_exitcode=$?
|
||||||
if [ $_exitcode -eq 0 ]; then
|
if [ $_exitcode -eq 0 ]; then
|
||||||
mv ${_path}/vmcore-dmesg-incomplete.txt ${_path}/vmcore-dmesg.txt
|
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
|
# Make sure file is on disk. There have been instances where later
|
||||||
# saving vmcore failed and system rebooted without sync and there
|
# saving vmcore failed and system rebooted without sync and there
|
||||||
# was no vmcore-dmesg.txt available.
|
# was no vmcore-dmesg.txt available.
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.20
|
Version: 2.0.20
|
||||||
Release: 17
|
Release: 18
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
URL: https://www.kernel.org/
|
URL: https://www.kernel.org/
|
||||||
@ -318,6 +318,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 3 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.20-18
|
||||||
|
- fix CVE-2021-20269
|
||||||
|
|
||||||
* Mon Apr 25 2022 wangbin <wangbin224@huawei.com> - 2.0.20-17
|
* Mon Apr 25 2022 wangbin <wangbin224@huawei.com> - 2.0.20-17
|
||||||
- arm64: kdump: deal with a lot of resource entries in /proc/iomem
|
- arm64: kdump: deal with a lot of resource entries in /proc/iomem
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user