cxl: Fix endpoint access issues with CXL MCE notifier handler
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl/mce: Validate memdev and endpoint before dereference in cxl_handle_mce()drivers/ | +6 | 2 replies | |
| 2/2 | cxl/mce: Serialize the MCE handler against endpoint teardowndrivers/ | +23 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] cxl: Fix endpoint access issues with CXL MCE notifier handler
Fix the issues reported by Flavien to the Linux security mailing list.
First patch addresses accessing possible invalid pointers for cxlmd and cxmd->endpoint.
The second patch adddresses the endpoint lifetime that is shorter than mds and needs appropriate guardrails to access.
Dave Jiang (2):
cxl/mce: Validate memdev and endpoint before dereference in
cxl_handle_mce()
cxl/mce: Serialize the MCE handler against endpoint teardown
drivers/cxl/core/mce.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-)
base-commit: 8cd9520d35a6c38db6567e97dd93b1f11f185dc6
Signature · 1 line
2.54.0