Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 7, 2025

When fs_stat() queries the root / mountpoint it should return its root i_node but instead it tries to return the parent i_node which does not exist. Fix this by checking if parent is set otherwise return the root i_node.

Backport 1dcf123 from #93764.

Fixes #94000

When fs_stat() queries the root / mountpoint it should return its root
i_node but instead it tries to return the parent i_node which does not
exist. Fix this by checking if parent is set otherwise return the root
i_node.

Fixes #94000.

Signed-off-by: Bas van Loon <[email protected]>
(cherry picked from commit 1dcf123)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Aug 7, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Aug 7, 2025
@de-nordic de-nordic added the bug The issue is a bug, or the PR is fixing a bug label Aug 8, 2025
@de-nordic de-nordic added this to the v4.1.1 milestone Aug 8, 2025
@de-nordic de-nordic self-assigned this Aug 8, 2025
@de-nordic
Copy link
Contributor

FYI @bas-archembedded

@de-nordic de-nordic linked an issue Aug 8, 2025 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Backport PR and backport failure issues bug The issue is a bug, or the PR is fixing a bug
Projects
Status: To do
Development

Successfully merging this pull request may close these issues.

EXT2 fs_stat on mount point fails with a NULL pointer dereference.
2 participants