Skip to content

[Bug]: Flatpak Apps Crashing Linux 6.13 Kernel #6102

@RayJW

Description

@RayJW

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.16.0

What Linux distribution are you using?

Arch Linux

Linux distribution version

Rolling

What architecture are you using?

x86_64

How to reproduce

  1. Use the Flatpak package of an app e.g. Rnote
  2. Try to import a PDF file
  3. The kernel will throw a bunch of kernel: BUG: Bad page state in process ...

Expected Behavior

This issue is not reproducible with Linux Kernel 6.12.12, but both with 6.13 and 6.13.1 on multiple devices. I guess expected behaviour would be to not crash.

Actual Behavior

Somehow, interacting with certain files in some ways can cause these crashes. I was able to reproduce this issue with the Flatpak packages of multiple apps and can also confirm, that this issue does not happen when installing another version of the package. This is one such crash, I filed the issue with this repo since the process throwing the error is not always xdg-permission-. I've also seen fuse, the app itself, kworker, or the terminal emulator when running flatpak run .... The crash is always reproducible and leads to a full system crash every time but sometimes after a while and sometimes immediately.

Additional Information

I did find this issue, but since none of my crashes mentioned xdg-desktop-portal AFAIK I wasn't sure if this is also a kernel regression, although it would make sense and I did see FUSE come up in the crash logs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions