Skip to content

fs/vfs/fs_rename: fix directory move operation. #16455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cederom
Copy link
Contributor

@cederom cederom commented May 27, 2025

Summary

  • Recurrency is removed from filesystem directory rename.
  • Fixes use after free in buffer that was used as output and argument.
  • Patch provided by @richyliu.

Impact

fs/vfs bug fix of possible use after free.

Testing

@cederom: esp32c6-xiao:usbnsh.
@richyliu: STM32 Nucleo H743ZI + FTP.

Reviewers please double check locally if the issue is reproducible and there are no side effects after patch :-)

@github-actions github-actions bot added Area: File System File System issues Size: S The size of the change in this PR is small labels May 27, 2025
@cederom cederom marked this pull request as draft May 27, 2025 20:06
* Recurrency is removed from filesystem directory rename.
* Fixes use after free in buffer that was used as output and argument.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
@cederom cederom force-pushed the cederom-20250524-vfs_fs_rename_fix branch from 3e74ef1 to af85063 Compare May 27, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: File System File System issues Size: S The size of the change in this PR is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants