Skip to content

Conversation

@modules-kpd-app
Copy link

Pull request for series with
subject: module: release codetag section when module load fails
version: 1
url: https://patchwork.kernel.org/project/linux-modules/list/?series=963921

@modules-kpd-app
Copy link
Author

Upstream branch: a0b018a
series: https://patchwork.kernel.org/project/linux-modules/list/?series=963921
version: 1

@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch from d6fb02c to b788ac1 Compare June 2, 2025 09:03
@modules-kpd-app
Copy link
Author

Upstream branch: a0b018a
series: https://patchwork.kernel.org/project/linux-modules/list/?series=964276
version: 2

When module load fails after memory for codetag section is ready,
codetag section memory will not be properly released. This
causes memory leak, and if next module load happens to get the
same module address, codetag may pick the uninitialized section
when manipulating tags during module unload, and leads to
"unable to handle page fault" BUG.

Closes: https://lore.kernel.org/all/20250516131246.6244-1-00107082@163.com/
Signed-off-by: David Wang <00107082@163.com>
Acked-by: Suren Baghdasaryan <surenb@google.com>
@modules-kpd-app modules-kpd-app bot added V2 and removed V1 labels Jun 2, 2025
@modules-kpd-app modules-kpd-app bot force-pushed the series/963921=>modules-next branch from 9bb3723 to d8fbc1b Compare June 2, 2025 09:03
@dkruces dkruces force-pushed the modules-next_base branch from b788ac1 to e04c78d Compare June 20, 2025 07:31
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch from cbdca0b to 6a1a12c Compare June 25, 2025 20:39
@dkruces dkruces force-pushed the modules-next_base branch from 6a1a12c to 7c2b408 Compare June 26, 2025 12:20
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch 2 times, most recently from 6381fa5 to aaa7ece Compare June 26, 2025 18:03
@dkruces dkruces force-pushed the modules-next_base branch 2 times, most recently from b4d1c4e to 61dc34e Compare July 4, 2025 19:48
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch 2 times, most recently from 1df8185 to 9aab33d Compare July 8, 2025 19:00
@dkruces dkruces force-pushed the modules-next_base branch from 9aab33d to 99d099e Compare July 8, 2025 19:46
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch from 99d099e to 3aed49d Compare July 8, 2025 19:56
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch 4 times, most recently from cdc6b9e to 311def7 Compare October 22, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants