public inbox for patches@lists.linux.dev
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: patches@lists.linux.dev
Cc: Wenkai Lin <linwenkai6@hisilicon.com>,
	Chenghai Huang <huangchenghai2@huawei.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.1 038/232] crypto: hisilicon/sec2 - fix for sec spec check
Date: Sat, 28 Feb 2026 13:08:11 -0500	[thread overview]
Message-ID: <20260228181127.1592657-38-sashal@kernel.org> (raw)
In-Reply-To: <20260228181127.1592657-1-sashal@kernel.org>

From: Wenkai Lin <linwenkai6@hisilicon.com>

[ Upstream commit f4f353cb7ae9bb43e34943edb693532a39118eca ]

During encryption and decryption, user requests
must be checked first, if the specifications that
are not supported by the hardware are used, the
software computing is used for processing.

Fixes: 2f072d75d1ab ("crypto: hisilicon - Add aead support on SEC2")
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: e75074396280 ("crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware queue unavailable")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/crypto/hisilicon/sec2/sec.h        |   1 -
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 101 ++++++++-------------
 2 files changed, 39 insertions(+), 63 deletions(-)

diff --git a/drivers/crypto/hisilicon/sec2/sec.h b/drivers/crypto/hisilicon/sec2/sec.h
index 30c2b1a64695c..2fc04e210bc4f 100644
--- a/drivers/crypto/hisilicon/sec2/sec.h
+++ b/drivers/crypto/hisilicon/sec2/sec.h
@@ -37,7 +37,6 @@ struct sec_aead_req {
 	u8 *a_ivin;
 	dma_addr_t a_ivin_dma;
 	struct aead_request *aead_req;
-	bool fallback;
 };
 
 /* SEC request of Crypto */
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c
index fe34e17b44424..91917a913512a 100644
--- a/drivers/crypto/hisilicon/sec2/sec_crypto.c
+++ b/drivers/crypto/hisilicon/sec2/sec_crypto.c
@@ -690,14 +690,10 @@ static int sec_skcipher_fbtfm_init(struct crypto_skcipher *tfm)
 
 	c_ctx->fallback = false;
 
-	/* Currently, only XTS mode need fallback tfm when using 192bit key */
-	if (likely(strncmp(alg, "xts", SEC_XTS_NAME_SZ)))
-		return 0;
-
 	c_ctx->fbtfm = crypto_alloc_sync_skcipher(alg, 0,
 						  CRYPTO_ALG_NEED_FALLBACK);
 	if (IS_ERR(c_ctx->fbtfm)) {
-		pr_err("failed to alloc xts mode fallback tfm!\n");
+		pr_err("failed to alloc fallback tfm for %s!\n", alg);
 		return PTR_ERR(c_ctx->fbtfm);
 	}
 
@@ -859,7 +855,7 @@ static int sec_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key,
 	}
 
 	memcpy(c_ctx->c_key, key, keylen);
-	if (c_ctx->fallback && c_ctx->fbtfm) {
+	if (c_ctx->fbtfm) {
 		ret = crypto_sync_skcipher_setkey(c_ctx->fbtfm, key, keylen);
 		if (ret) {
 			dev_err(dev, "failed to set fallback skcipher key!\n");
@@ -1160,8 +1156,10 @@ static int sec_aead_setkey(struct crypto_aead *tfm, const u8 *key,
 	}
 
 	ret = crypto_authenc_extractkeys(&keys, key, keylen);
-	if (ret)
+	if (ret) {
+		dev_err(dev, "sec extract aead keys err!\n");
 		goto bad_key;
+	}
 
 	ret = sec_aead_aes_set_key(c_ctx, &keys);
 	if (ret) {
@@ -1175,12 +1173,6 @@ static int sec_aead_setkey(struct crypto_aead *tfm, const u8 *key,
 		goto bad_key;
 	}
 
-	if (ctx->a_ctx.a_key_len & WORD_MASK) {
-		ret = -EINVAL;
-		dev_err(dev, "AUTH key length error!\n");
-		goto bad_key;
-	}
-
 	ret = sec_aead_fallback_setkey(a_ctx, tfm, key, keylen);
 	if (ret) {
 		dev_err(dev, "set sec fallback key err!\n");
@@ -2002,8 +1994,7 @@ static int sec_aead_sha512_ctx_init(struct crypto_aead *tfm)
 	return sec_aead_ctx_init(tfm, "sha512");
 }
 
-static int sec_skcipher_cryptlen_check(struct sec_ctx *ctx,
-	struct sec_req *sreq)
+static int sec_skcipher_cryptlen_check(struct sec_ctx *ctx, struct sec_req *sreq)
 {
 	u32 cryptlen = sreq->c_req.sk_req->cryptlen;
 	struct device *dev = ctx->dev;
@@ -2027,10 +2018,6 @@ static int sec_skcipher_cryptlen_check(struct sec_ctx *ctx,
 	case SEC_CMODE_CFB:
 	case SEC_CMODE_OFB:
 	case SEC_CMODE_CTR:
-		if (unlikely(ctx->sec->qm.ver < QM_HW_V3)) {
-			dev_err(dev, "skcipher HW version error!\n");
-			ret = -EINVAL;
-		}
 		break;
 	default:
 		ret = -EINVAL;
@@ -2039,17 +2026,21 @@ static int sec_skcipher_cryptlen_check(struct sec_ctx *ctx,
 	return ret;
 }
 
-static int sec_skcipher_param_check(struct sec_ctx *ctx, struct sec_req *sreq)
+static int sec_skcipher_param_check(struct sec_ctx *ctx,
+				    struct sec_req *sreq, bool *need_fallback)
 {
 	struct skcipher_request *sk_req = sreq->c_req.sk_req;
 	struct device *dev = ctx->dev;
 	u8 c_alg = ctx->c_ctx.c_alg;
 
-	if (unlikely(!sk_req->src || !sk_req->dst ||
-		     sk_req->cryptlen > MAX_INPUT_DATA_LEN)) {
+	if (unlikely(!sk_req->src || !sk_req->dst)) {
 		dev_err(dev, "skcipher input param error!\n");
 		return -EINVAL;
 	}
+
+	if (sk_req->cryptlen > MAX_INPUT_DATA_LEN)
+		*need_fallback = true;
+
 	sreq->c_req.c_len = sk_req->cryptlen;
 
 	if (ctx->pbuf_supported && sk_req->cryptlen <= SEC_PBUF_SZ)
@@ -2107,6 +2098,7 @@ static int sec_skcipher_crypto(struct skcipher_request *sk_req, bool encrypt)
 	struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(sk_req);
 	struct sec_req *req = skcipher_request_ctx(sk_req);
 	struct sec_ctx *ctx = crypto_skcipher_ctx(tfm);
+	bool need_fallback = false;
 	int ret;
 
 	if (!sk_req->cryptlen) {
@@ -2120,11 +2112,11 @@ static int sec_skcipher_crypto(struct skcipher_request *sk_req, bool encrypt)
 	req->c_req.encrypt = encrypt;
 	req->ctx = ctx;
 
-	ret = sec_skcipher_param_check(ctx, req);
+	ret = sec_skcipher_param_check(ctx, req, &need_fallback);
 	if (unlikely(ret))
 		return -EINVAL;
 
-	if (unlikely(ctx->c_ctx.fallback))
+	if (unlikely(ctx->c_ctx.fallback || need_fallback))
 		return sec_skcipher_soft_crypto(ctx, sk_req, encrypt);
 
 	return ctx->req_op->process(ctx, req);
@@ -2257,52 +2249,35 @@ static int sec_aead_spec_check(struct sec_ctx *ctx, struct sec_req *sreq)
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	size_t sz = crypto_aead_authsize(tfm);
 	u8 c_mode = ctx->c_ctx.c_mode;
-	struct device *dev = ctx->dev;
 	int ret;
 
-	/* Hardware does not handle cases where authsize is not 4 bytes aligned */
-	if (c_mode == SEC_CMODE_CBC && (sz & WORD_MASK)) {
-		sreq->aead_req.fallback = true;
+	if (unlikely(ctx->sec->qm.ver == QM_HW_V2 && !sreq->c_req.c_len))
 		return -EINVAL;
-	}
 
 	if (unlikely(req->cryptlen + req->assoclen > MAX_INPUT_DATA_LEN ||
-	    req->assoclen > SEC_MAX_AAD_LEN)) {
-		dev_err(dev, "aead input spec error!\n");
+		     req->assoclen > SEC_MAX_AAD_LEN))
 		return -EINVAL;
-	}
 
 	if (c_mode == SEC_CMODE_CCM) {
-		if (unlikely(req->assoclen > SEC_MAX_CCM_AAD_LEN)) {
-			dev_err_ratelimited(dev, "CCM input aad parameter is too long!\n");
+		if (unlikely(req->assoclen > SEC_MAX_CCM_AAD_LEN))
 			return -EINVAL;
-		}
-		ret = aead_iv_demension_check(req);
-		if (ret) {
-			dev_err(dev, "aead input iv param error!\n");
-			return ret;
-		}
-	}
 
-	if (sreq->c_req.encrypt)
-		sreq->c_req.c_len = req->cryptlen;
-	else
-		sreq->c_req.c_len = req->cryptlen - sz;
-	if (c_mode == SEC_CMODE_CBC) {
-		if (unlikely(sreq->c_req.c_len & (AES_BLOCK_SIZE - 1))) {
-			dev_err(dev, "aead crypto length error!\n");
+		ret = aead_iv_demension_check(req);
+		if (unlikely(ret))
+			return -EINVAL;
+	} else if (c_mode == SEC_CMODE_CBC) {
+		if (unlikely(sz & WORD_MASK))
+			return -EINVAL;
+		if (unlikely(ctx->a_ctx.a_key_len & WORD_MASK))
 			return -EINVAL;
-		}
 	}
 
 	return 0;
 }
 
-static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq)
+static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq, bool *need_fallback)
 {
 	struct aead_request *req = sreq->aead_req.aead_req;
-	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
-	size_t authsize = crypto_aead_authsize(tfm);
 	struct device *dev = ctx->dev;
 	u8 c_alg = ctx->c_ctx.c_alg;
 
@@ -2311,12 +2286,10 @@ static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq)
 		return -EINVAL;
 	}
 
-	if (ctx->sec->qm.ver == QM_HW_V2) {
-		if (unlikely(!req->cryptlen || (!sreq->c_req.encrypt &&
-			     req->cryptlen <= authsize))) {
-			sreq->aead_req.fallback = true;
-			return -EINVAL;
-		}
+	if (unlikely(ctx->c_ctx.c_mode == SEC_CMODE_CBC &&
+		     sreq->c_req.c_len & (AES_BLOCK_SIZE - 1))) {
+		dev_err(dev, "aead cbc mode input data length error!\n");
+		return -EINVAL;
 	}
 
 	/* Support AES or SM4 */
@@ -2325,8 +2298,10 @@ static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq)
 		return -EINVAL;
 	}
 
-	if (unlikely(sec_aead_spec_check(ctx, sreq)))
+	if (unlikely(sec_aead_spec_check(ctx, sreq))) {
+		*need_fallback = true;
 		return -EINVAL;
+	}
 
 	if (ctx->pbuf_supported && (req->cryptlen + req->assoclen) <=
 		SEC_PBUF_SZ)
@@ -2370,17 +2345,19 @@ static int sec_aead_crypto(struct aead_request *a_req, bool encrypt)
 	struct crypto_aead *tfm = crypto_aead_reqtfm(a_req);
 	struct sec_req *req = aead_request_ctx(a_req);
 	struct sec_ctx *ctx = crypto_aead_ctx(tfm);
+	size_t sz = crypto_aead_authsize(tfm);
+	bool need_fallback = false;
 	int ret;
 
 	req->flag = a_req->base.flags;
 	req->aead_req.aead_req = a_req;
 	req->c_req.encrypt = encrypt;
 	req->ctx = ctx;
-	req->aead_req.fallback = false;
+	req->c_req.c_len = a_req->cryptlen - (req->c_req.encrypt ? 0 : sz);
 
-	ret = sec_aead_param_check(ctx, req);
+	ret = sec_aead_param_check(ctx, req, &need_fallback);
 	if (unlikely(ret)) {
-		if (req->aead_req.fallback)
+		if (need_fallback)
 			return sec_aead_soft_crypto(ctx, a_req, encrypt);
 		return -EINVAL;
 	}
-- 
2.51.0


  parent reply	other threads:[~2026-02-28 18:12 UTC|newest]

Thread overview: 233+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28 18:07 [PATCH 6.1 001/232] RDMA/siw: Fix potential NULL pointer dereference in header processing Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 002/232] RDMA/umad: Reject negative data_len in ib_umad_write Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 003/232] auxdisplay: arm-charlcd: fix release_mem_region() size Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 004/232] hfsplus: return error when node already exists in hfs_bnode_create Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 005/232] audit: avoid missing-prototype warnings Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 006/232] audit: move the compat_xxx_class[] extern declarations to audit_arch.h Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 007/232] i3c: Move device name assignment after i3c_bus_init Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 008/232] fs: add <linux/init_task.h> for 'init_fs' Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 009/232] i3c: master: Update hot-join flag only on success Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 010/232] gfs2: Add metapath_dibh helper Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 011/232] gfs2: Fix use-after-free in iomap inline data write path Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 012/232] tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 013/232] tpm: st33zp24: Fix missing cleanup on get_burstcount() error Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 014/232] btrfs: qgroup: return correct error when deleting qgroup relation item Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 015/232] btrfs: fix block_group_tree dirty_list corruption Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 016/232] smb: client: fix potential UAF and double free in smb2_open_file() Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 017/232] xen/virtio: Optimize the setup of "xen-grant-dma" devices Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 018/232] xen/virtio: Handle PCI devices which Host controller is described in DT Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 019/232] xen/virtio: Don't use grant-dma-ops when running as Dom0 Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 020/232] ACPICA: Fix NULL pointer dereference in acpi_ev_address_space_dispatch() Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 021/232] io_uring/sync: validate passed in offset Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 022/232] md/raid10: fix any_working flag handling in raid10_sync_request Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 023/232] iomap: fix submission side handling of completion side errors Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 024/232] ublk: Validate SQE128 flag before accessing the cmd Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 025/232] PM: wakeup: Handle empty list in wakeup_sources_walk_start() Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 026/232] PM: sleep: wakeirq: harden dev_pm_clear_wake_irq() against races Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 027/232] s390/cio: Fix device lifecycle handling in css_alloc_subchannel() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 028/232] crypto: qat - fix warning on adf_pfvf_pf_proto.c Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 029/232] selftests/bpf: veristat: fix printing order in output_stats() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 030/232] libbpf: Fix OOB read in btf_dump_get_bitfield_value Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 031/232] ARM: VDSO: Patch out __vdso_clock_getres() if unavailable Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 032/232] crypto: cavium - fix dma_free_coherent() size Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 033/232] crypto: octeontx " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 034/232] crypto: hisilicon/zip - support deflate algorithm Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 035/232] crypto: hisilicon/zip - remove zlib and gzip Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 036/232] crypto: hisilicon/zip - adjust the way to obtain the req in the callback function Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 037/232] crypto: hisilicon/sec - fix spelling mistake 'ckeck' -> 'check' Sasha Levin
2026-02-28 18:08 ` Sasha Levin [this message]
2026-02-28 18:08 ` [PATCH 6.1 039/232] crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware queue unavailable Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 040/232] hrtimer: Fix trace oddity Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 041/232] bpf, sockmap: Fix incorrect copied_seq calculation Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 042/232] crypto: hisilicon/trng - modifying the order of header files Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 043/232] crypto: hisilicon/trng - support tfms sharing the device Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 044/232] bpf: Fix bpf_xdp_store_bytes proto for read-only arg Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 045/232] scsi: efct: Use IRQF_ONESHOT and default primary handler Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 046/232] EDAC/altera: Remove IRQF_ONESHOT Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 047/232] mfd: wm8350-core: Use IRQF_ONESHOT Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 048/232] sched/rt: Skip currently executing CPU in rto_next_cpu() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 049/232] pstore/ram: fix buffer overflow in persistent_ram_save_old() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 050/232] soc: qcom: smem: handle ENOMEM error during probe Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 051/232] EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 052/232] EDAC/i5400: Fix snprintf() limit " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 053/232] arm64: dts: tqma8mpql-mba8mpxl: Fix HDMI CEC pad control settings Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 054/232] clk: qcom: Return correct error code in qcom_cc_probe_by_index() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 055/232] arm64: dts: qcom: sdm630: fix gpu_speed_bin size Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 056/232] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 057/232] arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on Sasha Levin
2026-02-28 18:13   ` David Heidelberg
2026-02-28 18:08 ` [PATCH 6.1 058/232] arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 059/232] ARM: dts: allwinner: sun5i-a13-utoo-p66: delete "power-gpios" property Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 060/232] powerpc/uaccess: Move barrier_nospec() out of allow_read_{from/write}_user() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 061/232] soc: qcom: cmd-db: Use devm_memremap() to fix memory leak in cmd_db_dev_probe Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 062/232] soc: mediatek: mtk-svs: Add explicit include for cpu.h Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 063/232] soc: mediatek: svs: Fix memory leak in svs_enable_debug_write() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 064/232] powerpc/eeh: fix recursive pci_lock_rescan_remove locking in EEH event handling Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 065/232] ARM: dts: lpc32xx: Set motor PWM #pwm-cells property value to 3 cells Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 066/232] arm: dts: lpc32xx: add clocks property to Motor Control PWM device tree node Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 067/232] arm64: dts: amlogic: axg: assign the MMC signal clocks Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 068/232] arm64: dts: amlogic: gx: " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 069/232] arm64: dts: amlogic: g12: assign the MMC B and C " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 070/232] arm64: dts: amlogic: g12: assign the MMC A signal clock Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 071/232] arm64: dts: qcom: sdm845-db845c: drop CS from SPIO0 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 072/232] arm64: dts: qcom: sdm845-db845c: specify power for WiFi CH1 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 073/232] smack: /smack/doi must be > 0 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 074/232] smack: /smack/doi: accept previously used values Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 075/232] ASoC: nau8821: Consistently clear interrupts before unmasking Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 076/232] ASoC: nau8821: Avoid unnecessary blocking in IRQ handler Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 077/232] ASoC: nau8821: Fixup nau8821_enable_jack_detect() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 078/232] drm/amdgpu: Use explicit VCN instance 0 in SR-IOV init Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 079/232] regulator: core: move supply check earlier in set_machine_constraints() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 080/232] HID: playstation: Add missing check for input_ff_create_memless Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 081/232] drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 082/232] media: ccs: Accommodate C-PHY into the calculation Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 083/232] platform/chrome: cros_typec_switch: Don't touch struct fwnode_handle::dev Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 084/232] media: uvcvideo: Fix allocation for small frame sizes Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 085/232] platform/chrome: cros_ec_lightbar: Fix response size initialization Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 086/232] spi: tools: Add include folder to .gitignore Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 087/232] Revert "hwmon: (ibmpex) fix use-after-free in high/low store" Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 088/232] PCI: mediatek: Fix IRQ domain leak when MSI allocation fails Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 089/232] Documentation: PCI: endpoint: Fix ntb/vntb copy & paste errors Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 090/232] PCI/PM: Avoid redundant delays on D3hot->D3cold Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 091/232] PCI: Do not attempt to set ExtTag for VFs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 092/232] PCI/portdrv: Fix potential resource leak Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 093/232] net: mctp-i2c: fix duplicate reception of old data Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 094/232] mctp i2c: initialise event handler read bytes Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 095/232] wifi: cfg80211: stop NAN and P2P in cfg80211_leave Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 096/232] netfilter: nf_conncount: make nf_conncount_gc_list() to disable BH Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 097/232] netfilter: nf_conncount: increase the connection clean up limit to 64 Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 098/232] netfilter: nft_compat: add more restrictions on netlink attributes Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 099/232] netfilter: nf_conncount: fix tracking of connections from localhost Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 100/232] module: add helper function for reading module_buildid() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 101/232] kallsyms/ftrace: set module buildid in ftrace_mod_address_lookup() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 102/232] PCI: Mark 3ware-9650SA Root Port Extended Tags as broken Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 103/232] iommu/vt-d: Flush cache for PASID table before using it Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 104/232] dm: use bio_clone_blkg_association Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 105/232] nfsd: never defer requests during idmap lookup Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 106/232] fat: avoid parent link count underflow in rmdir Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 107/232] tcp: tcp_tx_timestamp() must look at the rtx queue Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 108/232] wifi: ath10k: sdio: add missing lock protection in ath10k_sdio_fw_crashed_dump() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 109/232] PCI: Initialize RCB from pci_configure_device() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 110/232] ipc: don't audit capability check in ipc_permissions() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 111/232] ucount: check for CAP_SYS_RESOURCE using ns_capable_noaudit() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 112/232] octeontx2-af: Fix PF driver crash with kexec kernel booting Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 113/232] bonding: only set speed/duplex to unknown, if getting speed failed Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 114/232] timers: Replace in_irq() with in_hardirq() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 115/232] nfc: hci: shdlc: Stop timers and work before freeing context Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 116/232] netfilter: nft_set_hash: fix get operation on big endian Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 117/232] netfilter: nft_counter: fix reset of counters on 32bit archs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 118/232] netfilter: nft_set_rbtree: check for partial overlaps in anonymous sets Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 119/232] PCI: Add ACS quirk for Pericom PI7C9X2G404 switches [12d8:b404] Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 120/232] net: hns3: fix double free issue for tx spare buffer Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 121/232] procfs: fix missing RCU protection when reading real_parent in do_task_stat() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 122/232] smb: client: correct value for smbd_max_fragmented_recv_size Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 123/232] net: atm: fix crash due to unvalidated vcc pointer in sigd_send() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 124/232] net: Add skb_dstref_steal and skb_dstref_restore Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 125/232] net: Switch to skb_dstref_steal/skb_dstref_restore for ip_route_input callers Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 126/232] xfrm: fix ip_rt_bug race in icmp_route_lookup reverse path Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 127/232] serial: caif: fix use-after-free in caif_serial ldisc_close() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 128/232] ionic: Rate limit unknown xcvr type messages Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 129/232] octeontx2-pf: Unregister devlink on probe failure Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 130/232] RDMA/rtrs: server: remove dead code Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 131/232] IB/cache: update gid cache on client reregister event Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 132/232] RDMA/hns: Fix WQ_MEM_RECLAIM warning Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 133/232] RDMA/hns: Notify ULP of remaining soft-WCs during reset Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 134/232] power: supply: ab8500: Fix use-after-free in power_supply_changed() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 135/232] power: supply: act8945a: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 136/232] power: supply: bq256xx: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 137/232] power: supply: bq25980: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 138/232] power: supply: cpcap-battery: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 139/232] power: supply: goldfish: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 140/232] power: supply: rt9455: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 141/232] power: supply: sbs-battery: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 142/232] power: reset: nvmem-reboot-mode: respect cell size for nvmem_cell_write Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 143/232] power: supply: bq27xxx: fix wrong errno when bus ops are unsupported Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 144/232] power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 145/232] RDMA/rtrs-srv: Refactor the handling of failure case in map_cont_bufs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 146/232] RDMA/rtrs-srv: Correct the checking of ib_map_mr_sg Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 147/232] RDMA/rtrs-srv: fix SG mapping Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 148/232] RDMA/rxe: Fix double free in rxe_srq_from_init Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 149/232] mtd: rawnand: cadence: Fix return type of CDMA send-and-wait helper Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 150/232] crypto: ccp - Add an S4 restore flow Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 151/232] RDMA/uverbs: Validate wqe_size before using it in ib_uverbs_post_send Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 152/232] RDMA/core: Fix a couple of obvious typos in comments Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 153/232] svcrdma: Remove queue-shortening warnings Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 154/232] svcrdma: Clean up comment in svc_rdma_accept() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 155/232] svcrdma: Increase the per-transport rw_ctx count Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 156/232] svcrdma: Reduce the number of rdma_rw contexts per-QP Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 157/232] RDMA/core: add rdma_rw_max_sge() helper for SQ sizing Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 158/232] cxl: Fix premature commit_end increment on decoder commit failure Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 159/232] mtd: parsers: ofpart: fix OF node refcount leak in parse_fixed_partitions() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 160/232] RDMA/uverbs: Add __GFP_NOWARN to ib_uverbs_unmarshall_recv() kmalloc Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 161/232] pNFS: fix a missing wake up while waiting on NFS_LAYOUT_DRAIN Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 162/232] scsi: smartpqi: Replace one-element arrays with flexible-array members Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 163/232] scsi: smartpqi: Fix memory leak in pqi_report_phys_luns() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 164/232] scsi: csiostor: Fix dereference of null pointer rn Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 165/232] nvdimm: virtio_pmem: serialize flush requests Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 166/232] fs/nfs: Fix readdir slow-start regression Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 167/232] tracing: Properly process error handling in event_hist_trigger_parse() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 168/232] tracing: Remove duplicate ENABLE_EVENT_STR and DISABLE_EVENT_STR macros Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 169/232] MIPS: Work around LLVM bug when gp is used as global register variable Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 170/232] ext4: don't cache extent during splitting extent Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 171/232] ext4: fix memory leak in ext4_ext_shift_extents() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 172/232] ext4: use optimized mballoc scanning regardless of inode format Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 173/232] ata: pata_ftide010: Fix some DMA timings Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 174/232] ata: libata-scsi: refactor ata_scsi_translate() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 175/232] SUNRPC: auth_gss: fix memory leaks in XDR decoding error paths Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 176/232] SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 177/232] fbdev: au1200fb: Fix a memory leak in au1200fb_drv_probe() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 178/232] clk: qcom: rcg2: compute 2d using duty fraction directly Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 179/232] clk: meson: gxbb: Limit the HDMI PLL OD to /4 on GXL/GXM SoCs Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 180/232] clk: qcom: gcc-msm8953: Remove ALWAYS_ON flag from cpp_gdsc Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 181/232] clk: Move clk_{save,restore}_context() to COMMON_CLK section Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 182/232] clk: qcom: dispcc-sdm845: Enable parents for pixel clocks Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 183/232] clk: qcom: gfx3d: add parent to parent request map Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 184/232] clk: mediatek: Fix error handling in runtime PM setup Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 185/232] dmaengine: mediatek: uart-apdma: Fix above 4G addressing TX/RX Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 186/232] dma: dma-axi-dmac: fix SW cyclic transfers Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 187/232] staging: greybus: lights: avoid NULL deref Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 188/232] serial: imx: change SERIAL_IMX_CONSOLE to bool Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 189/232] serial: SH_SCI: improve "DMA support" prompt Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 190/232] mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 191/232] coresight: etm3x: Fix cpulocked warning on cpuhp Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 192/232] Revert "mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms" Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 193/232] mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 194/232] drivers: iio: mpu3050: use dev_err_probe for regulator request Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 195/232] usb: bdc: fix sleep during atomic Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 196/232] pinctrl: equilibrium: Fix device node reference leak in pinbank_init() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 197/232] ovl: Fix uninit-value in ovl_fill_real Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 198/232] iio: sca3000: Fix a resource leak in sca3000_probe() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 199/232] pinctrl: qcom: sm8250-lpass-lpi: Fix i2s2_data_groups definition Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 200/232] pinctrl: single: fix refcount leak in pcs_add_gpio_func() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 201/232] leds: qcom-lpg: Check the return value of regmap_bulk_write() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 202/232] backlight: qcom-wled: Support ovp values for PMI8994 Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 203/232] io_uring/cancel: abstract out request match helper Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 204/232] io_uring/cancel: fix sequence matching for IORING_ASYNC_CANCEL_ANY Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 205/232] io_uring/cancel: add IORING_ASYNC_CANCEL_USERDATA Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 206/232] io_uring/cancel: support opcode based lookup and cancelation Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 207/232] io_uring/cancel: de-unionize file and user_data in struct io_cancel_data Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 208/232] fs/ntfs3: prevent infinite loops caused by the next valid being the same Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 209/232] fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 210/232] ACPI: CPPC: Fix remaining for_each_possible_cpu() to use online CPUs Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 211/232] ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 212/232] cpuidle: Skip governor when only one idle state is available Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 213/232] selftests: mlxsw: tc_restrictions: Fix test failure with new iproute2 Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 214/232] net: sparx5/lan969x: fix DWRR cost max to match hardware register width Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 215/232] net: mscc: ocelot: extract ocelot_xmit_timestamp() helper Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 216/232] net: mscc: ocelot: split xmit into FDMA and register injection paths Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 217/232] net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 218/232] net: sparx5/lan969x: fix PTP clock max_adj value Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 219/232] net: usb: catc: enable basic endpoint checking Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 220/232] xen-netback: reject zero-queue configuration from guest Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 221/232] net/rds: rds_sendmsg should not discard payload_len Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 222/232] selftests: forwarding: vxlan_bridge_1d: fix test failure with br_netfilter enabled Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 223/232] selftests: forwarding: vxlan_bridge_1d_ipv6: " Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 224/232] netfilter: nf_conntrack_h323: don't pass uninitialised l3num value Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 225/232] net: remove WARN_ON_ONCE when accessing forward path array Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 226/232] netfilter: nf_tables: fix use-after-free in nf_tables_addchain() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 227/232] ipv6: fix a race in ip6_sock_set_v6only() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 228/232] bpftool: Fix truncated netlink dumps Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 229/232] ping: Convert hlist_nulls to plain hlist Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 230/232] inet: ping: check sock_net() in ping_get_port() and ping_lookup() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 231/232] ping: annotate data-races in ping_lookup() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 232/232] Linux 6.1.165-rc1 Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260228181127.1592657-38-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=huangchenghai2@huawei.com \
    --cc=linwenkai6@hisilicon.com \
    --cc=patches@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox