diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-04 08:29:58 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-12 13:38:19 +0800 |
| commit | 31d00156e50ecad37f2cb6cbf04aaa9a260505ef (patch) | |
| tree | 4c3c33ab33c116e7f0f977adbd1672aaec8a5d9f /samples/workqueue/git@git.tavy.me:linux-stable.git | |
| parent | 8eceab19eba9dcbfd2a0daec72e1bf48aa100170 (diff) | |
crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl
When page reassignment was added to af_alg_pull_tsgl the original
loop wasn't updated so it may try to reassign one more page than
necessary.
Add the check to the reassignment so that this does not happen.
Also update the comment which still refers to the obsolete offset
argument.
Reported-by: syzbot+d23888375c2737c17ba5@syzkaller.appspotmail.com
Fixes: e870456d8e7c ("crypto: algif_skcipher - overhaul memory management")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples/workqueue/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
