gfs2 filesystem and dlm development
 help / color / mirror / Atom feed
* [PATCH RESEND dlm/next 0/8] dlm: pending fixes based on v7.3-rc1
@ 2026-09-01 17:47 Alexander Aring
  2026-09-01 17:47 ` [PATCH RESEND dlm/next 1/8] dlm: gate dlm_plock device on CAP_SYS_ADMIN Alexander Aring
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Alexander Aring @ 2026-09-01 17:47 UTC (permalink / raw)
  To: teigland; +Cc: aahringo, gfs2

Hi David,

this patch series contains pending fixed for dlm.

Some critical to be ensure that monitor/plock chardevs are only be
opened under administrator rights which should be as e.g. dlm_controld
is using them running as root and can conflict with additional multiple
usages. To forbid any misusage we forbid to open those devices for
normal users.

Then we switch back to rhashtables to dynamic key lengths as this might
get conflicts for DLM users who actually using different resource name
lengths in DLM.

Additional malformed packets drops to avoid kernel crashes, however we
still cannot recover from those drops but this is another problem.

Then there are missing barriers for srcu as call_srcu() uses the srcu
static structures which can end in an use after free when the module is
removed.

- Alex

Alexander Aring (1):
  dlm: fix variable key length lookup

Danila Chernetsov (2):
  dlm: validate lock modes in recovery messages
  dlm: fix NULL pointer dereference in dlm_dump_rsb_name()

Haofeng Li (2):
  dlm: gate dlm_plock device on CAP_SYS_ADMIN
  dlm: require CAP_SYS_ADMIN for dlm-monitor device

Joseph Qi (1):
  dlm: fix buffer overflow from negative len in dlm_search_rsb_tree

Samuel Moelius (1):
  dlm: validate userspace lock resource name length

Zqiang (1):
  dlm: wait for outstanding SRCU callbacks to complete in exit paths

 fs/dlm/config.c       | 30 ++++++++++++++++++++++++++++--
 fs/dlm/dlm_internal.h |  5 +++++
 fs/dlm/lock.c         | 18 +++++++++++++-----
 fs/dlm/lock.h         |  4 ++--
 fs/dlm/lowcomms.c     |  1 +
 fs/dlm/midcomms.c     |  1 +
 fs/dlm/plock.c        | 14 +++++++++++++-
 fs/dlm/user.c         | 23 +++++++++++++++++++++++
 8 files changed, 86 insertions(+), 10 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-09-01 17:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01 17:47 [PATCH RESEND dlm/next 0/8] dlm: pending fixes based on v7.3-rc1 Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 1/8] dlm: gate dlm_plock device on CAP_SYS_ADMIN Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 2/8] dlm: require CAP_SYS_ADMIN for dlm-monitor device Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 3/8] dlm: validate userspace lock resource name length Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 4/8] dlm: fix buffer overflow from negative len in dlm_search_rsb_tree Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 5/8] dlm: validate lock modes in recovery messages Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 6/8] dlm: fix NULL pointer dereference in dlm_dump_rsb_name() Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 7/8] dlm: wait for outstanding SRCU callbacks to complete in exit paths Alexander Aring
2026-09-01 17:47 ` [PATCH RESEND dlm/next 8/8] dlm: fix variable key length lookup Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox