You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking at the various security vulnerabilities seen recently, I've been thinking that Flatpak could benefit from documenting a minimum targeted kernel version.
Perhaps as a conservative starting point, 1.19.x could require Linux 5.10, the oldest LTS listed on https://kernel.org/? That would allow Ubuntu 22.04, Debian 11, RHEL 9 but rule out Ubuntu 20.04, Debian 10, RHEL 8, and would mean we can assume we have statx(), openat2(), faccessat() with AT_EMPTY_PATH, and basic pidfd support, among other nice things.
At the moment I believe our minimum is 4.11, for statx(). (RHEL 8, Debian 10, Ubuntu 18.04, or Ubuntu 16.04 with HWE kernel backport, if my notes are accurate.)
I think this makes sense. We should document that older versions work with new flatpaks, and are usable for older systems (although those may not always get security updates).
The ppc64le runner has a 4.18 kernel, and we're seeing this error introduced when testing with a container that bumps flatpak to 1.18.1. We've not seen the issue with 1.18.0
I will double check the kernel version (we had an issue with crun recently, and the check then showed 4.18 containers/crun#2182)
I can rebuild with 1.19.0 if that would be relevant, I will also doublecheck with flatpak reverted to 1.18.0
So I've rebuilt the container (our beta4 target for 26.08) twice, one with a revert to 1.18.0 & one with an upgrade to 1.19.0:
The revert to 1.18.0 resolves the problem and 1.19.0 still presents the issue, so that gives a bisect point to something intoduced1.18.1 (I can rebuild at any specific sha of flatpak on request)
If piggybacking this issue isn't the correct place please let me know and I'll create a standalone issue, but as you were talking statx() and kernel requirements this seemed fitting. I double checked the kernel and it's reporting as 4.18.0-553.150.1.el8_10.ppc64le
If piggybacking this issue isn't the correct place please let me know and I'll create a standalone issue
Please do. This issue is about documentation and minimum requirements, your issue is a functional regression (although it might have to be resolved as "won't fix" or "can't fix" if the alternative would be re-introducing a security vulnerability).
If your kernel was too old for statx(), you'd see ENOSYS, Function not implemented. What you are seeing instead is that statx() doesn't report all the fields required by glnx_chaseat() - I would guess that it's STATX_MNT_ID that is missing, which might require Linux 5.8.
However, I did say, in the initial report of this issue,
and 4.18 is significantly older than that. So if you intend to be able to run Flatpak apps on a particular machine, please look into upgrading it sooner rather than later.
Activity
smcv commentedon Aug 13, 2026
cc @swick @alexlarsson
smcv commentedon Aug 13, 2026
At the moment I believe our minimum is 4.11, for
statx(). (RHEL 8, Debian 10, Ubuntu 18.04, or Ubuntu 16.04 with HWE kernel backport, if my notes are accurate.)alexlarsson commentedon Aug 14, 2026
I think this makes sense. We should document that older versions work with new flatpaks, and are usable for older systems (although those may not always get security updates).
swick commentedon Aug 14, 2026
The big questions are where to put it, and how we ensure it keeps up-to-date.
alexlarsson commentedon Aug 14, 2026
We could put it in README.md
tom--pollard commentedon Aug 15, 2026
I think I'm seeing the an issue related to the statx() requirement hit on a 4.18 kernel here in freedesktop-sdk CI:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/15914462888#L3880
The ppc64le runner has a 4.18 kernel, and we're seeing this error introduced when testing with a container that bumps flatpak to
1.18.1(https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/commit/77e3c50c8c6e0fbf0e08b3d09107b3b2db89f542). We've not seen the issue with1.18.0but I will double checkI will double check the kernel version (we had an issue with crun recently, and the check then showed 4.18 containers/crun#2182)
I can rebuild with
1.19.0if that would be relevant, I will also doublecheck with flatpak reverted to1.18.0tom--pollard commentedon Aug 15, 2026
So I've rebuilt the container (our beta4 target for 26.08) twice, one with a revert to 1.18.0 & one with an upgrade to 1.19.0:
1.18.0: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/338701.19.0: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/33869The revert to 1.18.0 resolves the problem and 1.19.0 still presents the issue, so that gives a bisect point to something intoduced
1.18.1(I can rebuild at any specific sha of flatpak on request)If piggybacking this issue isn't the correct place please let me know and I'll create a standalone issue, but as you were talking statx() and kernel requirements this seemed fitting. I double checked the kernel and it's reporting as
4.18.0-553.150.1.el8_10.ppc64le@alexlarsson @smcv
smcv commentedon Aug 15, 2026
Please do. This issue is about documentation and minimum requirements, your issue is a functional regression (although it might have to be resolved as "won't fix" or "can't fix" if the alternative would be re-introducing a security vulnerability).
If your kernel was too old for
statx(), you'd see ENOSYS,Function not implemented. What you are seeing instead is thatstatx()doesn't report all the fields required byglnx_chaseat()- I would guess that it'sSTATX_MNT_IDthat is missing, which might require Linux 5.8.However, I did say, in the initial report of this issue,
and 4.18 is significantly older than that. So if you intend to be able to run Flatpak apps on a particular machine, please look into upgrading it sooner rather than later.
README: Document the required kernel and conservative dependencies
README: Document the required kernel and conservative dependencies