Bug 2225209
| Summary: | scanadf crashes when showing help for specific device | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raman Gupta <rocketraman> | ||||||||||||||||||||||||
| Component: | sane-frontends | Assignee: | Zdenek Dohnal <zdohnal> | ||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||
| Version: | 38 | CC: | nphilipp, rocketraman, zdohnal | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/aba34c28f84b975fbaa4e4178110e830b81456b | ||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:7e79cd99969cf89b99e06df21e6ae966e81fa2a7;VARIANT_ID=; | ||||||||||||||||||||||||||
| Fixed In Version: | sane-frontends-1.0.14-48.fc37 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||
| Last Closed: | 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
Raman Gupta
2023-07-24 14:53:57 UTC
Created attachment 1977308 [details]
File: backtrace
Created attachment 1977309 [details]
File: proc_pid_status
Created attachment 1977310 [details]
File: open_fds
Created attachment 1977311 [details]
File: cpuinfo
Created attachment 1977312 [details]
File: exploitable
Created attachment 1977313 [details]
File: dso_list
Created attachment 1977314 [details]
File: limits
Created attachment 1977315 [details]
File: mountinfo
Created attachment 1977316 [details]
File: os_info
Created attachment 1977317 [details]
File: core_backtrace
Created attachment 1977318 [details]
File: maps
Hi Raman, thank you for reporting the issue! scanadf closes the device handle before scanadf_exit(), but does not set it to NULL, which causes use-after-free leading to the segfault. I've created patch and sent it upstream as https://gitlab.com/sane-project/frontends/-/merge_requests/12 . FEDORA-2023-0c94505bc7 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0c94505bc7 FEDORA-2023-97ce1b58b2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-97ce1b58b2 FEDORA-2023-97ce1b58b2 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-97ce1b58b2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-97ce1b58b2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0c94505bc7 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0c94505bc7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0c94505bc7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0c94505bc7 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-97ce1b58b2 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |