A race condition in netlink socket creation can trigger a kernel panic in netlinkrelease->moduleput for local users creating netlink sockets.
This issue is specific to Red Hat Enterprise Linux and does not affect upstream kernels. This issue was introduced in commit 3500659804251facce0cf4ee2ca657e0108e9a4f. This was introduced in kernel-3.10.0-304.el7 in the fix titled:
[net] netfilter: log: protect nflogregister against double registering.
It requires the nfnetlinklog module to be loaded to be effective.
This commit was introduced as part of a patchset that was required to backport netfilter functionality from upstream while attempting to maintain KABI. This flaw is RHEL specific.