[OpenWrt-Devel] Fwd: Fixed bug
Voina Alex
alexvoina1994 at gmail.com
Wed Jul 11 11:52:26 EDT 2018
Dear OpenWRT/LEDE buddy,
I have found a bug in the Chaos Calmer (15.05.1 , 448532) release that has
been fixed since the lede-17.01.3 release for x86 targets. The bug is
related to ubusd or libubox but I'm not really sure which one it is. It is
a file descriptor leak rooted in the logread ubus method. Every call to
logread whether is logread -f, logread, logread -l 1 or ubus call log read
'{ }' opens a file of the following format which is not closed anymore.
ubusd 2918 root 41r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 42r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 43r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 44r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 45r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 46r CHR 1,3 0t0 3934 /dev/null
ubusd 2918 root 47r CHR 1,3 0t0 3934 /dev/null
I saw this issue is mitigated in lede-17.01.3 but I don't know where
exactly along the releases it happened. Can you point me to the
patch/commit that fixes this ?
Best,
Alex Voina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180711/de389dc2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openwrt_fd_leak.png
Type: image/png
Size: 29284 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180711/de389dc2/attachment.png>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list