[PATCH 0/5] module/dups: Fix a use-after-free and improve the code
From: Petr Pavlu
Date: Mon Jul 20 2026 - 08:24:55 EST
Fix a use-after-free in the kmod dups code, simplify how duplicate requests are
informed about the result, and make several general improvements to the code.
Petr Pavlu (5):
module/dups: Fix use-after-free in kmod_dup_req lifetime handling
module/dups: Inform duplicate requests about the result directly
module/dups: Use scoped guards for kmod_dup_mutex
module/dups: Use strcmp() to compare module names
module/dups: Clean up includes
kernel/module/dups.c | 143 +++++++++++++++++++------------------------
1 file changed, 62 insertions(+), 81 deletions(-)
base-commit: a13c140cc289c0b7b3770bce5b3ad42ab35074aa
--
2.54.0