dlm: pending fixes based on v7.3-rc1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | dlm: gate dlm_plock device on CAP_SYS_ADMINfs/ | +13 | 0 replies | |
| 2/8 | dlm: require CAP_SYS_ADMIN for dlm-monitor devicefs/ | +6 | 0 replies | |
| 3/8 | dlm: validate userspace lock resource name lengthfs/ | +17 | 0 replies | |
| 4/8 | dlm: fix buffer overflow from negative len in dlm_search_rsb_treefs/ fs/ | +6 | 0 replies | |
| 5/8 | dlm: validate lock modes in recovery messagesfs/ | +4 | 0 replies | |
| 6/8 | dlm: fix NULL pointer dereference in dlm_dump_rsb_name()fs/ | +1 | 0 replies | |
| 7/8 | dlm: wait for outstanding SRCU callbacks to complete in exit pathsfs/ fs/ | +2 | 1 reply | |
| 8/8 | dlm: fix variable key length lookupfs/ fs/ fs/ | +37 | 0 replies |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Alexander Aring |
|---|---|
| 1/8 | A-b |
| 2/8 | A-b |
| 3/8 | A-b |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | A-b |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND dlm/next 0/8] dlm: pending fixes based on v7.3-rc1
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(-)
Signature · 1 line
2.43.0