Files
mu300-linux/kernel
Abdurrahman Kaan DikeçandClaude Fable 5.1 126d5dc4ab kernel 5.4: the vendor's enable_xfrm_fragment sysctl is registered with each namespace's own header
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
2026-10-12 00:42:14 +03:00
..