update 0010-fix-CVE-2022-3650.patch.
Signed-off-by: wangzengliang <wangzengliang2@huawei.com>
This commit is contained in:
parent
6a15e33bc4
commit
67b668d6a1
@ -2,7 +2,14 @@ From f4035e49ee4745cd384d48a2334be793ce8df461 Mon Sep 17 00:00:00 2001
|
|||||||
From: wangzengliang1 <wangzengliang1@huawei.com>
|
From: wangzengliang1 <wangzengliang1@huawei.com>
|
||||||
Date: Mon, 5 Dec 2022 15:10:45 +0800
|
Date: Mon, 5 Dec 2022 15:10:45 +0800
|
||||||
Subject: [PATCH] fix
|
Subject: [PATCH] fix
|
||||||
|
ceph-crash: drop privleges to run as "ceph" user, rather than root
|
||||||
|
If privileges cannot be dropped, log an error and exit. This commit
|
||||||
|
also catches and logs exceptions when scraping the crash path, without
|
||||||
|
which ceph-crash would just exit if it encountered an error.
|
||||||
|
|
||||||
|
Fixes: CVE-2022-3650
|
||||||
|
Fixes: https://tracker.ceph.com/issues/57967
|
||||||
|
Signed-off-by: Tim Serong <tserong@suse.com>
|
||||||
---
|
---
|
||||||
src/ceph-crash.in | 28 ++++++++++++++++++++++++++--
|
src/ceph-crash.in | 28 ++++++++++++++++++++++++++--
|
||||||
1 file changed, 26 insertions(+), 2 deletions(-)
|
1 file changed, 26 insertions(+), 2 deletions(-)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user