lua crash
Description
Environment
None
Attachments
1
Activity
Walt Miner
September 16, 2021 at 6:28 PM
Close for KK 11.0.1 and LL 12.0.0
Jan-Simon Moeller
September 15, 2021 at 9:41 AM
Submitted upstream.
Jan-Simon Moeller
April 7, 2021 at 9:39 PM
Work upstream is pending. Locally masked and tests pass.
Jan-Simon Moeller
March 18, 2021 at 2:07 AM
It turns out to be
file://CVE-2020-15945.patch \
in
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/lua/lua_5.3.6.bb?h=dunfell#n11
I'll mask the patch for now and work with upstream on a solution.
Applies to dunfell up to gatesgarth, hardknott, master of meta-oe .
Edi Feschiyan
March 2, 2021 at 4:35 PM
raspberrypi4-64:/usr/lib/lua/ptest/test# coredumpctl info
Failed to check if any systemd-coredump@.service units are running: Connection timed out
PID: 778 (lua)
UID: 0 (root)
GID: 0 (root)
Signal: 11 (SEGV)
Timestamp: Mon 2020-06-29 03:19:46 UTC (2min 45s ago)
Command Line: lua db.lua
Executable: /usr/bin/lua
Control Group: /system.slice/system-sshd.slice/sshd@0-192.168.234.176:22-192.168.234.199:40574.service
Unit: sshd@0-192.168.234.176:22-192.168.234.199:40574.service
Slice: system-sshd.slice
Boot ID: 68e0d9d22ab3495193d083193614f3be
Machine ID: 4c177ae7e35e49a4a5c86528b72bcd48
Hostname: raspberrypi4-64
Storage: /var/lib/systemd/coredump/core.lua.0.68e0d9d22ab3495193d083193614f3be.778.1593400786000000.xz
Message: Process 778 (lua) of user 0 dumped core.
raspberrypi4-64:/usr/lib/lua/ptest/test# coredumpctl debug
...
Reading symbols from /usr/bin/lua...
(No debugging symbols found in /usr/bin/lua)
[New LWP 778]
Core was generated by `lua db.lua'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000555955ae44 in ?? ()
(gdb) bt full
#0 0x000000555955ae44 in ?? ()
No symbol table info available.
#1 0x000000555955b30c in ?? ()
No symbol table info available.
#2 0x00000055595671c0 in ?? ()
No symbol table info available.
#3 0x000000555955b574 in ?? ()
No symbol table info available.
#4 0x000000555955b5b8 in ?? ()
No symbol table info available.
#5 0x000000555955a994 in ?? ()
No symbol table info available.
#6 0x000000555955b8e8 in ?? ()
No symbol table info available.
#7 0x0000005559558ae4 in lua_pcallk ()
No symbol table info available.
#8 0x0000005559556234 in _start ()
No symbol table info available.
(gdb)
Fixed
Details
Details
Assignee
Jan-Simon Moeller
Jan-Simon MoellerReporter
Jan-Simon Moeller
Jan-Simon MoellerFix versions
Hardware Platform(s) Affected
QEMU x86_64
Raspberry Pi 4
Affects versions
Priority
Created March 1, 2021 at 11:32 AM
Updated September 16, 2021 at 6:28 PM
Resolved September 15, 2021 at 9:41 AM
Feb 26 02:04:41 qemux86-64 audit[4758]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj=System pid=4758 comm=\"lua\" exe=\"/usr/bin/lua\" sig=11 res=1 Feb 26 02:04:41 qemux86-64 kernel: traps: lua[4758] general protection fault ip:55adc0bcbe58 sp:7ffe8a252a40 error:0 in lua[55adc0bc7000+24000] Feb 26 02:04:41 qemux86-64 kernel: audit: type=1701 audit(1614305081.626:6): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=System pid=4758 comm=\"lua\" exe=\"/usr/bin/lua\" sig=11 res=1 Feb 26 02:04:41 qemux86-64 systemd[1]: Created slice system-systemd\x2dcoredump.slice. Feb 26 02:04:41 qemux86-64 systemd[1]: Started Process Core Dump (PID 4759/UID 0).
References:
https://lava.automotivelinux.org/scheduler/job/16945#L7528
https://lava.automotivelinux.org/scheduler/job/16949#L7673