Skip to content

[22.04] CVE-2026-31431#416

Merged
mmstick merged 1 commit intomaster_jammyfrom
copy_jammy
Apr 30, 2026
Merged

[22.04] CVE-2026-31431#416
mmstick merged 1 commit intomaster_jammyfrom
copy_jammy

Conversation

@mmstick
Copy link
Copy Markdown
Member

@mmstick mmstick commented Apr 29, 2026

Same as #415


This mostly reverts commit 72548b0 except for the copying of the associated data.

There is no benefit in operating in-place in algif_aead since the source and destination come from different mappings. Get rid of all the complexity added for in-place operation and just copy the AD directly.

Fixes: 72548b0 ("crypto: algif_aead - copy AAD from src to dst")
Reported-by: Taeyang Lee 0wn@theori.io

This mostly reverts commit 72548b0 except for the copying of
the associated data.

There is no benefit in operating in-place in algif_aead since the
source and destination come from different mappings.  Get rid of
all the complexity added for in-place operation and just copy the
AD directly.

Fixes: 72548b0 ("crypto: algif_aead - copy AAD from src to dst")
Reported-by: Taeyang Lee <0wn@theori.io>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
@mmstick mmstick requested review from a team April 29, 2026 23:46
@mmstick mmstick mentioned this pull request Apr 29, 2026
@mmstick mmstick merged commit b3c7b11 into master_jammy Apr 30, 2026
4 of 8 checks passed
@mmstick mmstick deleted the copy_jammy branch April 30, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants