all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH ceph master v1] backport use-after-fix fix in mgr
@ 2025-12-16 12:56 Kefu Chai
  2025-12-17  8:01 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Kefu Chai @ 2025-12-16 12:56 UTC (permalink / raw)
  To: pve-devel

This change was cherry-picked 941c5eda, which was included in an
upstream pull request at https://github.com/ceph/ceph/pull/63989 .

Without this change, ceph-mgr could crash when serving a ceph mgr
command.

Fixes: #6568
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
---
 ...itly-dropping-ref-of-MgrOpRequest.re.patch | 27 +++++++++++++++++++
 patches/series                                |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 patches/0056-mgr-avoid-explicitly-dropping-ref-of-MgrOpRequest.re.patch

diff --git a/patches/0056-mgr-avoid-explicitly-dropping-ref-of-MgrOpRequest.re.patch b/patches/0056-mgr-avoid-explicitly-dropping-ref-of-MgrOpRequest.re.patch
new file mode 100644
index 00000000000..661ee825a4e
--- /dev/null
+++ b/patches/0056-mgr-avoid-explicitly-dropping-ref-of-MgrOpRequest.re.patch
@@ -0,0 +1,27 @@
+From 941c5edac00b750e7a0d40c7f8b12b72d39178dc Mon Sep 17 00:00:00 2001
+From: Milind Changire <mchangir@redhat.com>
+Date: Fri, 4 Apr 2025 07:20:02 +0530
+Subject: [PATCH] mgr: avoid explicitly dropping ref of MgrOpRequest.request
+
+Fixes: 66efcaae7a05abaefb12758239b0e1ad5cbd85c9
+Fixes: https://tracker.ceph.com/issues/70618
+Signed-off-by: Milind Changire <mchangir@redhat.com>
+---
+ src/mgr/MgrOpRequest.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/mgr/MgrOpRequest.h b/src/mgr/MgrOpRequest.h
+index cc454aa6dc8..dd4ff21f5be 100644
+--- a/src/mgr/MgrOpRequest.h
++++ b/src/mgr/MgrOpRequest.h
+@@ -52,7 +52,6 @@ protected:
+ 
+ public:
+   ~MgrOpRequest() override {
+-    request->put();
+   }
+ 
+   template<class T>
+-- 
+2.47.3
+
diff --git a/patches/series b/patches/series
index 6dd4562daa3..badc33a9969 100644
--- a/patches/series
+++ b/patches/series
@@ -53,3 +53,4 @@
 0053-mgr-zabbix-fix-invalid-escape-sequences.patch
 0054-client-prohibit-unprivileged-users-from-setting-sgid.patch
 0055-pybind-rbd-disable-on_progress-callbacks-to-prevent-.patch
+0056-mgr-avoid-explicitly-dropping-ref-of-MgrOpRequest.re.patch
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH ceph master v1] backport use-after-fix fix in mgr
  2025-12-16 12:56 [pve-devel] [PATCH ceph master v1] backport use-after-fix fix in mgr Kefu Chai
@ 2025-12-17  8:01 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-12-17  8:01 UTC (permalink / raw)
  To: pve-devel, Kefu Chai

On Tue, 16 Dec 2025 20:56:42 +0800, Kefu Chai wrote:
> This change was cherry-picked 941c5eda, which was included in an
> upstream pull request at https://github.com/ceph/ceph/pull/63989 .
> 
> Without this change, ceph-mgr could crash when serving a ceph mgr
> command.
> 
> 
> [...]

Applied, thanks!

[1/1] backport use-after-fix fix in mgr
      commit: 25f266946fcdae327caa774a2c07c6ce0ae88160


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-17  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-16 12:56 [pve-devel] [PATCH ceph master v1] backport use-after-fix fix in mgr Kefu Chai
2025-12-17  8:01 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal