ipset - ip_set_hash_ip leads to kernel crash on wrt1900acsv2
Username: hugo
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1642
Openwrt version:
17.01,17.01.4,18.06-rc1
ipset version:
from 6.25.1 - 6.38 (Self build, except 6.32-1 on 17.04 and 6.34 on 18.06-rc1)
Device:
Linksys wrt1900acsv2 (One old device, one completely new device)
Crashlog1:
https://gist.github.com/FireUponSky/e5a0a77c1233691af00fd690b532ab9e
Crashlog2:
https://gist.github.com/FireUponSky/08391dad9d878af4daf00772246c6ecb
Step to reproduce:
Installed packages: ip-full, ipset, shadowsocks-libev, dnsmasq-full
shadowsocks-libev:
/usr/bin/ss-redir -u -c $CONFIG -b $PROXY_BIND_IP -f $SERVICE_PID_FILE -l 50003
dnsmasq.conf:
server=/.google.com/8.8.8.8#53 ipset=/.google.com/mylist ......
iptalbes rules:
ipset create mylist hash:ip counters timeout 1200
Proxy by shadowsocks Settings
iptables -t nat -A PREROUTING -p tcp -m set -i br-lan --match-set mylist dst -j REDIRECT --to-port 50003 iptables -t nat -A OUTPUT -p tcp -m set --match-set mylist dst -j REDIRECT --to-port 50003
After reboot, trying ipset list mylist
will very possiblely crash with crashlog1. Using a while, the router will crash randomly with crashlog2.