Date: Fri, 23 Jul 2021 23:29:46 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257368] ggate(d) misbehaving Message-ID: <bug-257368-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257368 Bug ID: 257368 Summary: ggate(d) misbehaving Product: Base System Version: 12.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: johannes@jo-t.de Looks like there's a 32 bit integer overflow or underflow glitch in ggated = or ggatec (not sure yet which). Relevant lines from the log. ggated first: [...snipped...] debug: Received hdr packet. debug: recv_thread: offset=3D53686845440 length=3D114688 debug: disk_thread: offset=3D53686845440 length=3D114688 debug: send_thread: offset=3D53686845440 length=3D114688 debug: Sent hdr packet. debug: Sent 114688 bytes (offset=3D53686845440, size=3D114688). debug: Received hdr packet. debug: recv_thread: offset=3D16384 length=3D2147467264 debug: disk_thread: offset=3D16384 length=3D2147467264 debug: send_thread: offset=3D16384 length=3D2147467264 debug: Sent hdr packet. debug: Process 2048 exiting. Notice the suspicious length paramter: 2147467264 =3D 0x7FFFC000 114688 =3D 0x 1C000 Corresponding log from ggatec: [...snipped...] debug: Received 114688 bytes (offset=3D53686845440, size=3D114688). debug: Sent hdr packet. debug: Received hdr packet. debug: Received data packet. error: Lost connection 4. debug: recv_thread: Died. debug: send_thread: Died. And ggated promptly allocates an additional 2GB of memory. Line from top: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 2048 root 1 20 0 2077M 1217M spa_na 1 0:05 0.00% ggated --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257368-227>