cxl: Assorted fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | cxl/features: Validate the fwctl RPC input lengthdrivers/ | +10 | 0 replies | |
| 2/8 | cxl/features: Bound the Get Feature output by the user output bufferdrivers/ | +4 | 0 replies | |
| 3/8 | cxl/core: Fix dport use-after-free via the einj_inject debugfs filedrivers/ | +14 | 2 replies | |
| 4/8 | cxl/pci: Fix NULL pointer dereference in reset detectiondrivers/ | +8 | 0 replies | |
| 5/8 | cxl/hdm: Fix out of bounds read of the decoder target listdrivers/ | +12 | 0 replies | |
| 6/8 | cxl/cdat: Fix uninitialized stack use in endpoint bandwidth gatheringdrivers/ | +3 | 0 replies | |
| 7/8 | cxl/mce: Validate the memdev and endpoint before usedrivers/ | +6 | 0 replies | |
| 8/8 | cxl/region: Unregister the pmem region bridge on setup failuredrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] cxl: Assorted fixes
This is a batch of fixes found while auditing drivers/cxl. They are independent of each other and can be applied individually or dropped in any combination; they are only sent together because they came out of the same pass over the code.
Guixin Liu (8):
cxl/features: Validate the fwctl RPC input length cxl/features: Bound the Get Feature output by the user output buffer cxl/core: Fix dport use-after-free via the einj_inject debugfs file cxl/pci: Fix NULL pointer dereference in reset detection cxl/hdm: Fix out of bounds read of the decoder target list cxl/cdat: Fix uninitialized stack use in endpoint bandwidth gathering cxl/mce: Validate the memdev and endpoint before use cxl/region: Unregister the pmem region bridge on setup failure
drivers/cxl/core/cdat.c | 6 +++--- drivers/cxl/core/features.c | 15 ++++++++++++++- drivers/cxl/core/hdm.c | 12 ++++++++++++ drivers/cxl/core/mce.c | 8 ++++++-- drivers/cxl/core/pci.c | 8 ++++++++ drivers/cxl/core/port.c | 18 ++++++++++++++---- drivers/cxl/core/region_pmem.c | 6 ++++-- 7 files changed, 61 insertions(+), 12 deletions(-)
base-commit: d58772d8520c7ef247c4b95c9bd76d3a25da9ff5
Signature · 1 line
2.43.7