[PATCH 0/2] scsi: aic7xxx: Fix potential critical section table leaks

From: Guangshuo Li

Date: Tue Nov 03 2026 - 21:34:52 EST


Free each adapter's copied critical-section table during teardown. AHC
and AHD use the same ownership pattern and both omit the matching
release.

Both changed objects were build-tested with x86_64 GCC W=1, using
defconfig with the driver dependencies enabled. No hardware or kernel
runtime test was performed.

OpenAI Codex assisted with source review, patch implementation and
commit-message drafting. The submitter has reviewed the changes.

Guangshuo Li (2):
scsi: aic7xxx: Fix potential critical section table leak
scsi: aic79xx: Fix potential critical section table leak

drivers/scsi/aic7xxx/aic79xx_core.c | 1 +
drivers/scsi/aic7xxx/aic7xxx_core.c | 1 +
2 files changed, 2 insertions(+)


base-commit: 05441d697f7f9a927264f4058cbbc6a03dfcac9d