Bug 2283623 - segfault at 42 ip 00007fd6b507bb37 sp 00007ffe6bd7d380 error 4 in libdcmnet.so.14.3.6.4[7fd6b4ff1000+fe000] - dcmtk-3.6.4-11.el8.x86_64
Summary: segfault at 42 ip 00007fd6b507bb37 sp 00007ffe6bd7d380 error 4 in libdcmnet.s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: dcmtk
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-28 09:53 UTC by Kamil Maslowski
Modified: 2026-01-15 00:43 UTC (History)
8 users (show)

Fixed In Version: dcmtk-3.6.4-12.el8
Clone Of:
Environment:
Last Closed: 2026-01-15 00:43:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Maslowski 2024-05-28 09:53:25 UTC
Description of problem:
Tools from dcmtk RPM in latest version 3.6.4-11.el8.x86_64 segfaults.
Version 3.6.4-9.el8.x86_64 works correctly.


Version-Release number of selected component (if applicable):
dcmtk-3.6.4-11.el8.x86_64 - segfaults


How reproducible:

Steps to Reproduce:
Run for example echoscu command: echoscu -aet local_test -aec NRSTORE $(hostname) 104


Actual results:
[root@nr2 ~]# echoscu -aet local_test -aec NRSTORE $(hostname) 104
Segmentation fault (core dumped)


Expected results:
No segfault after running command

Additional info:
Logs:
May 27 09:32:43 nr2 kernel: movescu[2264818]: segfault at 8 ip 00007f81c7725b42 sp 00007ffc8dabf730 error 4 in libdcmnet.so.14.3.6.4[7f81c769b000+fe000]
May 27 09:36:15 nr2 kernel: movescu[2270694]: segfault at 8 ip 00007fa5ecd2fb42 sp 00007ffef43b6020 error 4 in libdcmnet.so.14.3.6.4[7fa5ecca5000+fe000]
May 27 12:30:16 nr2 kernel: movescu[2593333]: segfault at 7fa6a06d ip 00007fa6a0f23b42 sp 00007ffdf12e4c60 error 4 in libdcmnet.so.14.3.6.4[7fa6a0e99000+fe000]
May 28 09:11:04 nr2 kernel: findscu[683071]: segfault at 312e42 ip 00007f103837db37 sp 00007ffe3944a9d0 error 4 in libdcmnet.so.14.3.6.4[7f10382f3000+fe000]
May 28 11:06:44 nr2 kernel: movescu[882155]: segfault at 558700312e42 ip 00007f2f447aeb37 sp 00007ffd63558bb0 error 4 in libdcmnet.so.14.3.6.4[7f2f44724000+fe000]
May 28 11:09:14 nr2 kernel: movescu[886915]: segfault at 560200312e42 ip 00007f89007ccb37 sp 00007ffd84e82670 error 4 in libdcmnet.so.14.3.6.4[7f8900742000+fe000]
May 28 11:24:32 nr2 kernel: echoscu[917101]: segfault at 42 ip 00007f52e58a5b37 sp 00007ffc07427990 error 4 in libdcmnet.so.14.3.6.4[7f52e581b000+fe000]
May 28 11:24:47 nr2 kernel: echoscu[917910]: segfault at 42 ip 00007fd6b507bb37 sp 00007ffe6bd7d380 error 4 in libdcmnet.so.14.3.6.4[7fd6b4ff1000+fe000]


Before update (dcmtk-3.6.4-9.el8.x86_64):
[root@nr2 ~]#  echoscu -aet local_test -aec NRSTORE $(hostname) 104
[root@nr2 ~]# 

After update:
[root@nr2 ~]# echoscu -aet local_test -aec NRSTORE $(hostname) 104
Segmentation fault (core dumped)
[root@nr2 ~]#

Comment 1 Alessio 2024-11-15 18:14:00 UTC
Same with epel9

Comment 2 Alessio 2024-11-15 18:15:55 UTC
Same with epel9 and dcmtk 3.6.6
3.6.7 seems to build successfully and no more segmentation fault

Comment 3 Kamil Maslowski 2024-11-18 11:29:55 UTC
For me 3.6.8 is also ok, no segfaults.

Comment 4 Carl George 🎩 2026-01-06 05:18:42 UTC
Based on this Ubuntu bug report [0], the fix for CVE-2021-41687 introduced a regression.  That has been fixed upstream [1].  I've submitted that commit as a backport patch for the EPEL 8 [2] and EPEL 9 [3] packages.  If anyone is able, please test out the scratch build RPMs [4][5] to see if this is sufficient to resolve the issue.

[0] https://bugs.launchpad.net/ubuntu/+source/dcmtk/+bug/2081100
[1] https://github.com/DCMTK/dcmtk/commit/32ae3e5137e5a52f61a8dc9186f2539226794217
[2] https://src.fedoraproject.org/rpms/dcmtk/pull-request/12
[3] https://src.fedoraproject.org/rpms/dcmtk/pull-request/11
[4] https://kojipkgs.fedoraproject.org/work/tasks/4999/140784999/dcmtk-3.6.4-12.el8.x86_64.rpm
[5] https://kojipkgs.fedoraproject.org/work/tasks/4326/140784326/dcmtk-3.6.6-13.el9.x86_64.rpm

Comment 5 Fedora Update System 2026-01-06 23:35:51 UTC
FEDORA-EPEL-2026-7bb9f14935 (dcmtk-3.6.4-12.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-7bb9f14935

Comment 6 Carl George 🎩 2026-01-07 00:02:56 UTC
Once the update linked above moves to testing, people can test this by running `dnf --enablerepo epel-testing upgrade dcmtk` instead of manually downloading the scratch build RPM.

Comment 7 Fedora Update System 2026-01-07 01:12:08 UTC
FEDORA-EPEL-2026-7bb9f14935 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-7bb9f14935

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-01-15 00:43:39 UTC
FEDORA-EPEL-2026-7bb9f14935 (dcmtk-3.6.4-12.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.