Bug 2524448
| Summary: | kmscon: use-after-free crash in seat_go_foreground when DRM device lacks dumb buffer support (RPi4) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Groman <jgroman> | ||||||
| Component: | kmscon | Assignee: | Jocelyn Falempe <jfalempe> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 45 | CC: | jeremy.linton, jfalempe, kparal, rhbz | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | aarch64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | AcceptedFreezeException | ||||||||
| Fixed In Version: | kmscon-10.0.3-2.fc45 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2026-09-10 20:04:05 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 2406953 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jaroslav Groman
2026-08-26 14:55:50 UTC
Pull request: https://github.com/kmscon/kmscon/pull/512 I get the feeling we'll want to fix this in Beta if possible. In discussing https://bugzilla.redhat.com/show_bug.cgi?id=2526278 , Jeremy Linton thought there might be a lower-level issue: "the simpldrm framebuffer being provided, should be taken over by the vc4 drm driver". It occurred to me that might also be relevant here, so CCing him. +4 in https://forge.fedoraproject.org/quality/blocker-review/issues/2154 , marking accepted - the crash on shutdown is clearly FE-worthy, whether or not the LLM analysis/solution holds. Well vc4 has the usual https://elixir.bootlin.com/linux/v7.2.2/source/drivers/gpu/drm/vc4/vc4_drv.c#L362 which means the simpledrm devices should be removed, but its probably racy, even scanning /sys probably is. FEDORA-2026-45ebe41ba6 (kmscon-10.0.3-1.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-45ebe41ba6 FEDORA-2026-45ebe41ba6 has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-45ebe41ba6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-45ebe41ba6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Jaroslav, can you test this? Most convenient way will probably be to test the next Rawhide compose, as that will have the change in it. I can confirm that on Fedora-Minimal-Rawhide-20260903.n.0.aarch64 kmscon no longer crashes. Also SELinux policy seems to be fixed since I was able to complete initial-setup and login just fine. Attaching bootlog. Created attachment 2156524 [details]
Fedora-Minimal-Rawhide-20260903.n.0.aarch64 bootlog
Verified also on Fedora-Minimal-45_Beta-1.2.aarch64, works out of the box on RPi4. Created attachment 2156655 [details]
Fedora-Minimal-45_Beta-1.2.aarch64 bootlog
Setting verified per comment 11 FEDORA-2026-756d8c0914 has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-756d8c0914` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-756d8c0914 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-756d8c0914 (kmscon-10.0.3-2.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. |