mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-05 16:03:51 +00:00
Fixes #103: the Unisoc CONFIG_XFRM_FRAGMENT code kept its second sysctl header and table in two static pointers, overwritten by every network namespace's init and unregistered and freed by whichever namespace exited first, so with two namespaces alive (Docker, a sandbox) the second one's exit walked a freed header in count_subheaders or freed the table twice (slub.c:308), under "Workqueue: netns cleanup_net". The entry is now the fifth member of the per-namespace xfrm_table (the reporter's candidate fix, tested over 460 lifecycles on an F50); the switch stays one global integer. No upstream fix to take: the option is vendor-only and linux-5.4.y has not touched this file since 2017. BUILD.md points at KPATCHES instead of a stale hand-written list of three patches; FINDINGS §44 has the trace, the mechanism and the reproduction (two namespaces torn down at once). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn