clamdscan - MULTISCAN parameter causes Segmentation fault error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ClamAV |
Unknown
|
Unknown
|
|||
clamav (Ubuntu) |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Xenial |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Bionic |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Focal |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Groovy |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Hirsute |
Fix Released
|
Undecided
|
Leonidas S. Barbosa |
Bug Description
While running clamdscan with the --multiscan parameter we get the following error: Segmentation fault (core dumped)
The scan starts without '--multiscan' but it cause performance issues
The issue is present on Ubuntu 16.04.7 LTS, Ubuntu 18.04.5 LTS, Ubuntu 20.04.2 LTS
from dmesg log:
[Wed Apr 21 13:45:30 2021] clamdscan[5805]: segfault at 0 ip 00007f42b5128bf5 sp 00007fff89b76088 error 4 in libc-2.
[Wed Apr 21 13:45:30 2021] Code: bc d1 f3 0f 7f 27 f3 0f 7f 6f 10 f3 0f 7f 77 20 f3 0f 7f 7f 30 49 83 c0 0f 49 29 d0 48 8d 7c 17 31 e9 8f 0b 00 00 66 0f ef c0 <f3> 0f 6f 0e f3 0f 6f 56 10 66 0f 74 c1 66 0f d7 d0 49 83 f8 11 0f
ClamAV 0.103.2/26152/Mon Apr 26 11:04:28 2021
clamav 0.103.2+
clamav-base 0.103.2+
clamav-daemon 0.103.2+
clamav-docs 0.103.2+
clamav-freshclam 0.103.2+
clamdscan 0.103.2+
information type: | Public → Public Security |
information type: | Public Security → Public |
tags: | added: regression-update |
Changed in clamav (Ubuntu Focal): | |
status: | New → Triaged |
Changed in clamav (Ubuntu Groovy): | |
status: | New → Triaged |
Changed in clamav (Ubuntu Hirsute): | |
status: | New → Triaged |
Changed in clamav (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in clamav (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in clamav (Ubuntu Xenial): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Bionic): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Focal): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Groovy): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Hirsute): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Xenial): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Bionic): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Focal): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Groovy): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Hirsute): | |
assignee: | Marc Deslauriers (mdeslaur) → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Ubuntu Xenial): | |
status: | Triaged → Fix Released |
Changed in clamav (Ubuntu Xenial): | |
status: | In Progress → Triaged |
On Ubuntu 20.04.2 LTS, downgraded to 0.102.2 - the issue does not occur