There is a problem in kernel EROFS file system driver that causes wrong behaviour of mmap() on some files. It causes a crash in clang if system header files are stored in EROFS. Other software could be affected as mmap() is used extensively. It is reproducible vith e.g. paching entire root file systemt o EROFS image with `lz4hc` compression option (the problem is not in compression itself; different compression option will trigger it on different files), mounting this image to subdirectory, and running `clang-cpp mountpoint/usr/include/stdlib.h`; clang-cpp produces some garbage output and crashes. There are no EROFS-related messages in dmesg. It affects any kernel up to (and including) 6.5. It should be fixed in 6.6 with this commit: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git/commit/?id=e4c1cf523d820730a86cae2c6d55924833b6f7ac It could be fixed in older kernels with this patch: https://lore.kernel.org/linux-erofs/20230831112959.99884-5-hsiangkao@linux.alibaba.com/T/ Could this fix be included in fc37 and rawhide please? Reproducible: Always
FEDORA-2023-eadae36e49 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-eadae36e49
FEDORA-2023-f1812ce4c3 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f1812ce4c3
FEDORA-2023-eadae36e49 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-eadae36e49` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-eadae36e49 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-f1812ce4c3 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f1812ce4c3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f1812ce4c3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
yes, but it only impacts compressed files and will be fixed in all stable/LTS kernels.
FEDORA-2023-f1812ce4c3 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-4d7e9e1dc5 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4d7e9e1dc5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4d7e9e1dc5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-4d7e9e1dc5 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.