Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/3] crypto: hisilicon - improve backlog handling
@ 2026-05-15 11:45 ZongYu Wu
  2026-05-15 11:45 ` [PATCH] crypto: hisilicon/zip - add backlog support for zip ZongYu Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: ZongYu Wu @ 2026-05-15 11:45 UTC (permalink / raw)
  To: herbert, davem
  Cc: linux-kernel, linux-crypto, fanghao11, liulongfang, qianweili,
	wangzhou1

From: Chenghai Huang <huangchenghai2@huawei.com>

This series improves backlog handling for HiSilicon crypto drivers.
The ZIP and HPRE drivers are extended to support backlog queuing when
the hardware queue is temporarily busy. Instead of failing requests
immediately under hardware congestion, requests can now be queued and
resubmitted when previous requests complete.

The series also fixes a use-after-free issue in the SEC2 backlog path.
The crypto core may release the request and its tfm context immediately
after crypto_request_complete() returns. The SEC2 driver must therefore
avoid accessing context memory that may already have been freed while
processing backlog requests.

Chenghai Huang (1):
  crypto: hisilicon/zip - add backlog support for zip

Wenkai Lin (1):
  crypto: hisilicon/sec2 - fix UAF in sec_alg_send_backlog

lizhi (1):
  crypto: hisilicon/hpre - implement full backlog support for hpre
    driver

 drivers/crypto/hisilicon/hpre/hpre_crypto.c | 223 +++++++++++----
 drivers/crypto/hisilicon/sec2/sec_crypto.c  |  23 +-
 drivers/crypto/hisilicon/zip/zip_crypto.c   | 286 +++++++++++++-------
 3 files changed, 359 insertions(+), 173 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-22 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 11:45 [PATCH 0/3] crypto: hisilicon - improve backlog handling ZongYu Wu
2026-05-15 11:45 ` [PATCH] crypto: hisilicon/zip - add backlog support for zip ZongYu Wu
2026-05-22 10:32   ` huangchenghai
2026-05-15 11:46 ` [PATCH 2/3] crypto: hisilicon/sec2 - fix UAF in sec_alg_send_backlog ZongYu Wu
2026-05-15 11:46 ` [PATCH 3/3] crypto: hisilicon/hpre - implement full backlog support for hpre driver ZongYu Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox