Bug 2405303 - Crash when probing devices for v4l2
Summary: Crash when probing devices for v4l2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gstreamer1-plugins-good
Version: 42
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-21 09:43 UTC by Kevin Wolf
Modified: 2025-11-01 01:49 UTC (History)
6 users (show)

Fixed In Version: gstreamer1-plugins-good-1.26.7-2.fc43 gstreamer1-plugins-good-1.26.7-2.fc42
Clone Of:
Environment:
Last Closed: 2025-11-01 01:41:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Wolf 2025-10-21 09:43:31 UTC
After the recent update from gstreamer1-1.26.6-1.fc42 to gstreamer1-1.26.7-1.fc42, I started to get crashes in gst_v4l2_device_provider_probe_device(). The sequence in my case is that SELinux denied the application using the library (in my case a custom build of bitlbee) to access /dev/video0, stat() failed and the error path for then dereferences NULL.

Note that the application didn't even make use of v4l2, merely the fact that the plugin is installed meant that on startup, it was automatically loaded and immediately crashed the application.

I submitted a fix upstream at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9870 and confirmed that a locally built package with this change fixes the crash for me.

Reproducible: Always

Comment 1 Fedora Update System 2025-10-21 15:58:34 UTC
FEDORA-2025-e2956ec610 (gst-devtools-1.26.7-1.fc43, gst-editing-services-1.26.7-1.fc43, and 10 more) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e2956ec610

Comment 2 Fedora Update System 2025-10-21 15:59:24 UTC
FEDORA-2025-c493030fbf (gstreamer1-plugins-good-1.26.7-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c493030fbf

Comment 3 Fedora Update System 2025-10-22 01:08:16 UTC
FEDORA-2025-c493030fbf has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c493030fbf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c493030fbf

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

Comment 4 Fedora Update System 2025-10-22 02:26:39 UTC
FEDORA-2025-e2956ec610 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e2956ec610`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e2956ec610

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

Comment 5 Fedora Update System 2025-11-01 01:41:13 UTC
FEDORA-2025-e2956ec610 (gst-devtools-1.26.7-1.fc43, gst-editing-services-1.26.7-1.fc43, and 10 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-11-01 01:49:00 UTC
FEDORA-2025-c493030fbf (gstreamer1-plugins-good-1.26.7-2.fc42) has been pushed to the Fedora 42 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.