Repository navigation
Conversation
Author
|
Upstream branch: de52810 |
Author
|
Upstream branch: de52810 |
ghost
force-pushed
the
series/1206958=>for-next
branch
from
November 10, 2026 08:22
5d5f40b to
dd4b266
Compare
The empty-secret path in nvmet_auth_set_key() modifies and frees host authentication secrets without holding nvmet_config_sem. nvmet_setup_auth() accesses these fields under the read lock, allowing concurrent secret removal to cause a use-after-free. Acquire nvmet_config_sem for writing while clearing the secrets to synchronize with authentication setup. Fixes: bb2df18 ("nvmet-auth: allow to clear DH-HMAC-CHAP keys") Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Author
|
Upstream branch: de52810 |
ghost
force-pushed
the
series/1206958=>for-next
branch
from
November 10, 2026 10:23
dd4b266 to
9d9703e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: nvmet: synchronize DH-CHAP secret removal
version: 1
url: https://patchwork.kernel.org/series/1206958/