[PATCH 0/8] cxl: Assorted fixes
Guixin Liu <[email protected]>
| Newsgroups | org.kernel.vger.linux-cxl |
|---|---|
| Message-ID | <[email protected]> |
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 -- 2.43.7