1. Please describe the problem: Beginning with kernel 6.8.4 and continuing with 6.8.5, there is a memory leak on my Rasberry Pi with 8 GB of RAM. This device is running freeipa and almost nothing else. It is stable on kernel 6.7.11. On any 6.8 kernel, memory is depleted over a period of 1-2 days to the point that OOM kills everything up to and including systemd. I have confirmed that the memory is not consumed by any user space application. 2. What is the Version-Release number of the kernel: Any 6.8.x kernel 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : There is no memory leak in 6.7.11. The issue first appeared in 6.8.4. 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: It is reproducible 100% of the time just by booting a 6.8.4 or 6.8.5 kernel. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: 6. Are you running any modules that not shipped with directly Fedora's kernel?: No 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. There is nothing relevant in the logs. Reproducible: Always
I'm seeing the same on a Pi3 v1.3 running Fedora 40 IoT. I've put 6.8.7 on it to make it more similar to my other devices. It seems to fall over after about 11-12 hours. This device is mostly always idle until called upon to run the occaissional build test. I have two more Pi3 (one v1.2, one v1.3) running a more "standard" Fedora 40 with 6.8.7 which don't exhibit the problem. These two have something running continuously although they're not heavily loaded. I'm still trying to identify where the memory is going but kmalloc-4k in slabtop appears to be the difference (only managed a few hours of comparison).
Still present on 6.8.7-200.fc39.aarch64. It lasted about 12 hours before running through the 8 GB of RAM. I also haven't figured out where it's going. It's not user space.
First impressions are that this is fixed in 6.8.9
Yes, there was a fix for this that made it into 6.8.9
FEDORA-2024-3697e3b459 (kernel-6.8.9-200.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3697e3b459
FEDORA-2024-c90afc5c01 (kernel-6.8.9-300.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-c90afc5c01
FEDORA-2024-3697e3b459 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-3697e3b459` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3697e3b459 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-c90afc5c01 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c90afc5c01` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c90afc5c01 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
The memory leak is resolved.
*** Bug 2279327 has been marked as a duplicate of this bug. ***
FEDORA-2024-3697e3b459 (kernel-6.8.9-200.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-c90afc5c01 (kernel-6.8.9-300.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.