Commit aa28edc
committed
net: tls: fix returned read length with async decrypt
jira VULN-136507
cve-pre CVE-2025-39682
commit-author Jakub Kicinski <kuba@kernel.org>
commit ac437a5
We double count async, non-zc rx data. The previous fix was
lucky because if we fully zc async_copy_bytes is 0 so we add 0.
Decrypted already has all the bytes we handled, in all cases.
We don't have to adjust anything, delete the erroneous line.
Fixes: 4d42cd6 ("tls: rx: fix return value for async crypto")
Co-developed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ac437a5)
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>1 parent 9b76fe0 commit aa28edc
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2111 | 2111 | | |
2112 | 2112 | | |
2113 | 2113 | | |
2114 | | - | |
2115 | 2114 | | |
2116 | 2115 | | |
2117 | 2116 | | |
| |||
0 commit comments