Bug 1925912

Summary: [abrt] afuse: strcpy(): afuse killed by SIGABRT
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: afuseAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: chris, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/46d9b2119b55b64e7505721b894134ed4d74a3ff
Whiteboard: abrt_hash:4759d903152057aa68c45a5c6e0e54d8fba31835;
Fixed In Version: afuse-0.4.1-17.fc32 afuse-0.4.1-17.fc33 afuse-0.4.1-17.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-03 23:26:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Pavel Alexeev 2021-02-07 10:40:50 UTC
Description of problem:
echo "afuse#                                    /mnt/remote afuse auto 0 0" > /etc/fstab
# mount -a
*** buffer overflow detected ***: terminated
Aborted (core dumped)

It works many years, but stop on upgrading to Fedora 33. So it looks like a regression.

Version-Release number of selected component:
afuse-0.4.1-15.fc33

Additional info:
reporter:       libreport-2.14.0
backtrace_rating: 4
cmdline:        afuse -o mount_template=sshfs -o reconnect -o auto_cache -o kernel_cache %r:/ %m -o unmount_template=fusermount -u -z %m -o auto_unmount /mnt/remote
crash_function: strcpy
executable:     /usr/bin/afuse
journald_cursor: s=ba22ae14f66d449c8a8bd7d5ef51c5f9;i=92611;b=8a765a29ce8b43998a6345f880104724;m=abc5a76174;t=5babc57b538d9;x=f6379973af368b5e
kernel:         5.9.16-200.fc33.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (1 frames)
 #5 strcpy at /usr/include/bits/string_fortified.h:90

Comment 1 Pavel Alexeev 2021-02-07 10:40:54 UTC
Created attachment 1755450 [details]
File: backtrace

Comment 2 Pavel Alexeev 2021-02-07 10:40:56 UTC
Created attachment 1755451 [details]
File: cgroup

Comment 3 Pavel Alexeev 2021-02-07 10:40:57 UTC
Created attachment 1755452 [details]
File: core_backtrace

Comment 4 Pavel Alexeev 2021-02-07 10:40:59 UTC
Created attachment 1755453 [details]
File: cpuinfo

Comment 5 Pavel Alexeev 2021-02-07 10:41:00 UTC
Created attachment 1755454 [details]
File: dso_list

Comment 6 Pavel Alexeev 2021-02-07 10:41:02 UTC
Created attachment 1755455 [details]
File: environ

Comment 7 Pavel Alexeev 2021-02-07 10:41:03 UTC
Created attachment 1755456 [details]
File: limits

Comment 8 Pavel Alexeev 2021-02-07 10:41:05 UTC
Created attachment 1755457 [details]
File: maps

Comment 9 Pavel Alexeev 2021-02-07 10:41:07 UTC
Created attachment 1755458 [details]
File: mountinfo

Comment 10 Pavel Alexeev 2021-02-07 10:41:08 UTC
Created attachment 1755459 [details]
File: open_fds

Comment 11 Pavel Alexeev 2021-02-07 10:41:10 UTC
Created attachment 1755460 [details]
File: proc_pid_status

Comment 12 Tom "spot" Callaway 2021-02-08 15:50:27 UTC
Please test this scratch build and let me know if it resolves the issue:

https://koji.fedoraproject.org/koji/taskinfo?taskID=61604172

Comment 13 Tom "spot" Callaway 2021-02-15 23:41:39 UTC
I'm reluctant to push this without testing, please test and let me know.

Comment 14 Fedora Update System 2021-02-24 18:46:54 UTC
FEDORA-2021-3a7e6cf0a4 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3a7e6cf0a4

Comment 15 Fedora Update System 2021-02-24 18:46:55 UTC
FEDORA-2021-6c9c0da25c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6c9c0da25c

Comment 16 Fedora Update System 2021-02-24 18:46:56 UTC
FEDORA-2021-04a4c6e25b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-04a4c6e25b

Comment 17 Fedora Update System 2021-02-24 19:19:03 UTC
FEDORA-2021-3a7e6cf0a4 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3a7e6cf0a4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3a7e6cf0a4

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

Comment 18 Fedora Update System 2021-02-24 21:42:14 UTC
FEDORA-2021-04a4c6e25b has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-04a4c6e25b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-04a4c6e25b

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

Comment 19 Fedora Update System 2021-02-24 21:58:04 UTC
FEDORA-2021-6c9c0da25c has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6c9c0da25c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6c9c0da25c

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

Comment 20 Fedora Update System 2021-03-03 23:26:35 UTC
FEDORA-2021-04a4c6e25b has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2021-03-04 20:09:51 UTC
FEDORA-2021-6c9c0da25c has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2021-03-19 17:37:42 UTC
FEDORA-2021-3a7e6cf0a4 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2021-03-19 19:55:16 UTC
FEDORA-2021-3a7e6cf0a4 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Red Hat Bugzilla 2023-09-15 01:00:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days