Skip to content

tree: cleanup paths when freeing namespace#3091

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-free-ns
Feb 13, 2026
Merged

tree: cleanup paths when freeing namespace#3091
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-free-ns

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Feb 11, 2026

When freeing a namespace object it's also necessary to update all the paths pointing to the namespace in order to avoid UAF.

Reported-by: Maurizio Lombardi [email protected]

When freeing a namespace object it's also necessary to update all the
paths pointing to the namespace in order to avoid UAF.

Reported-by: Maurizio Lombardi <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Feb 11, 2026

@maurizio-lombardi could test this patch? I works in my setup, but it would good to run in your setup where it triggers a crash.

@igaw igaw merged commit f5ce3bc into linux-nvme:master Feb 13, 2026
20 checks passed
@igaw igaw deleted the fix-free-ns branch February 13, 2026 07:24
@maurizio-lombardi
Copy link
Copy Markdown
Contributor

@igaw Hello, I will test it today, I didn't have the hw ready for testing before. But since it looks pretty similar to the patch I sent you in private, I guess it's gonna work

@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Feb 13, 2026

From the report I think I got a very similar test setup with the NetApp. So I think it should be good.... yeah famous last words!

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.

3 participants