Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2025-06-01 21:15
Catanzaro: Dangerous arbitrary file read vulnerability in Yelp
GNOME contributor Michael Catanzaro has written a blogpost about a noteworthy vulnerability in GNOME's help browser, Yelp.
[$] Parallel directory operations
Allowing directories to be modified in parallel was the topic of JeffLayton's filesystem-track session at the 2025 Linux Storage, Filesystem,Memory Management, and BPF Summit (LSFMM+BPF). There are certain usecases, including for the NFS and Lustre filesystems, as mentioned in a patch setreferenced in the topicproposal, where contention in creating multiple files in a directory iscausing noticeable performance problems. In some testing, Layton has foundthat the inode read-write semaphore (i_rwsem) for the directory isserializing operations; he wanted to discuss alternatives.
[$] Taking BPF programs beyond one-million instructions
The BPF verifier is not magic; it cannot solve thehalting problem. Therefore,it has to err on the side of assuming that a program will run too long if itcannot prove that the program will not.The ultimate check on the size of a BPF program is theone-million-instruction limit - the verifier will refuse to process more thanone-million instructions, no matter what a BPF program does. Alexei Starovoitov gavea talk at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit about that limit,why correctly written BPF programs shouldn't hit it, and how to make the userexperience of large BPF programs better in the future.
CISA extends funding to the CVE program (BleepingComputer)
Sergiu Gatlan reportsthat the US government has extended funding for the CommonVulnerabilities and Exposures (CVE) program, following yesterday's reports that fundingwould run out as of April16.
[$] Improvements for the contiguous memory allocator
As a system runs, its memory becomes fragmented; it does not take longbefore the allocation of large, physically contiguous memory ranges becomesdifficult or impossible. The contiguous memoryallocator (CMA) is a kernel subsystem that attempts to address thisproblem, but it has never worked as well as some would like. Two sessionsin the memory-management track at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit looked at how CMA can be improved; thefirst looked at providing guaranteed allocations, while the secondaddressed some inefficiencies in CMA.
Security updates for Wednesday
Security updates have been issued by AlmaLinux (gvisor-tap-vsock, kernel, and kernel-rt), Fedora (chromium, dnf, dotnet9.0, golang, lemonldap-ng, mariadb10.11, perl-Crypt-URandom-Token, perl-DBIx-Class-EncodedColumn, php-tcpdf, podman-tui, and trunk), Red Hat (java-17-openjdk and kernel), Slackware (mozilla), SUSE (apache2-mod_auth_openidc, cosign, etcd, expat, flannel, kernel, libsqlite3-0, libvarnishapi3, mozjs52, Multi-Linux Manager 4.3: Server, Multi-Linux Manager 5.0: Server, Proxy and Retail Server, pgadmin4, rekor, rsync, rubygem-bundler, and webkit2gtk3), and Ubuntu (7zip, Docker, and quickjs).
[$] Topics from the virtual filesystem layer
In the first filesystem-track session at the 2025 Linux Storage,Filesystem, Memory Management, and BPF Summit (LSFMM+BPF), virtualfilesystem (VFS) layer co-maintainer Christian Brauner had a few differenttopics he wanted to talk about. Issues on the agendaincluded iterating through anonymous mount namespaces, a needed featurefor ID-mapped mounts, the perennial unprivileged mounts topic, potentiallyusing hazard pointers for file reference counting, and Rust bindings. Hedid not expect to get through all of them in the 30 minutes allotted, butthe session did move along pretty quickly to at leastintroduce them to the assembled filesystem developers.
MITRE Warns CVE Program Faces Disruption (Security Week)
Security Week is one of several outlets reportingthat the funding for the CVE program at MITRE disappears as ofApril16.
Manjaro Linux 25.0 released
Version25.0 ("Zetar") of the Arch-based Manjaro Linuxdistribution is now available. This release includes Linux kernel 6.12,GNOME48, KDE6.3, Xfce4.18, and more.
Fedora Linux 42 released (Fedora Magazine)
The Fedora Project has announcedthe release of Fedora Linux42, with "what's new" articles for FedoraWorkstationand FedoraKDEPlasmaDesktop. Thereis also a last-minute warning about the live media for the release:
[$] Don't panic: Fedora 42 is here
Fedora Linux42 has been released with manyincremental improvements and updates. In this development cycle, the KDEPlasmaDesktophas finally gotten a promotion from a spin to anedition, the new web-baseduser interface for the Anaconda installer makes its debut, and theWayland-ification of Fedora continues apace. In all it is a solidrelease with lots of polish.
[$] Automatic tuning for weighted interleaving
It is common, on NUMA systems, to try to allocate all memory on the localnode, since it will be the fastest. That is not the only possible policy,though; another is weighted interleaving,which seeks to distribute allocations across memory controllers to maximizethe bandwidth utilization on each. Configuring such policies can bechallenging, though. At the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, Joshua Hahn ran a session in thememory-management track about how that configuration might be automated.
Security updates for Tuesday
Security updates have been issued by AlmaLinux (glibc), Red Hat (kernel and kernel-rt), Slackware (perl), SUSE (haproxy, kernel, and webkit2gtk3), and Ubuntu (cimg, perl, protobuf, and webkit2gtk).
Pinta 3.0 released
Version3.0 of the Pintaimage editor has been released. The most notable change in thisrelease is that Pinta has been ported to GTK4.0 and libadwaita. Italso includes a number of improvements, new effects, and bug fixes.
[$] In search of a stable BPF verifier
BPF is, famously, not part of the kernel's promises of user-space stability. Newkernels can and do break existing BPF programs; the BPF developers try tofix unintentional regressions as they happen, but the whole thing can be something of a bumpyride for users trying to deploy BPF programs across multiple kernel versions.Shung-Hsi Yu and Daniel Xu had two different approaches to fixing the problemthat they presented at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit.
[$] The state of the memory-management development process, 2025 edition
Andrew Morton, the lead maintainer for the kernel's memory-managementsubsystem, tends to be quiet during the Linux Storage, Filesystem,Memory-Management, and BPF Summit, preferring to let the developers workthings out on their own. That changes, though, when he leads thetraditional development-process session in the memory-management track. Atthe 2025 gathering, this discussion covered a number of ways in which theprocess could be improved, but did not unearth any significant problems.
Security updates for Monday
Security updates have been issued by Debian (glib2.0, jinja2, kernel, mediawiki, perl, subversion, twitter-bootstrap3, twitter-bootstrap4, and wpa), Fedora (c-ares, chromium, condor, corosync, cri-tools1.29, exim, firefox, matrix-synapse, nextcloud, openvpn, perl-Data-Entropy, suricata, upx, varnish, webkitgtk, yarnpkg, and zabbix), Mageia (giflib, gnupg2, graphicsmagick, and poppler), Oracle (delve and golang, go-toolset:ol8, grub2, and webkit2gtk3), Red Hat (kernel and kernel-rt), SUSE (chromium, fontforge-20230101, govulncheck-vulndb, kernel, liblzma5-32bit, pgadmin4, python311-Django, and python311-PyJWT), and Ubuntu (graphicsmagick).
Kernel prepatch 6.15-rc2
Linus has released 6.15-rc2 for testing."Nothing particularly stands out to me, but it's early in the releaseyet, so let's see how it goes."
[$] Managing multiple sources of page-hotness data
Knowing how frequently accessed a page of memory is (its "hotness") is akey input to many memory-management heuristics. Jonathan Cameron, in amemory-management track at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, pointed out that the number of sourcesof that kind of data is growing over time. He wanted to explore thequestions of what commonality exists between data from those sources, andwhether it makes sense to aggregate them all somehow.
[$] Inlining kfuncs into BPF programs
Eduard Zingerman presented a daring proposal that "makes sense if you thinkabout it a bit" at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit. He wants to inlineperformance-sensitive kernel functionsinto the BPF programs that call them. Hisprototype does not yet address all of the design problems inherent in that idea,but it did spark a lengthy discussion about the feasibility of his proposal.
Security updates for Friday
Security updates have been issued by AlmaLinux (delve and golang and go-toolset:rhel8), Debian (webkit2gtk), Fedora (openvpn, thunderbird, uboot-tools, and zabbix), SUSE (expat, fontforge, govulncheck-vulndb, and kernel), and Ubuntu (haproxy and libsoup2.4, libsoup3).
[$] Atomic writes for ext4
Building on the discussion in the two previous sessions on untorn (oratomic) writes, for buffered I/O and for XFS using direct I/O, Ojaswin Mujooremotely led asession on support for the feature on ext4. That took place in the combined storage andfilesystem track at the2025 Linux Storage, Filesystem, Memory Management, and BPF Summit. Part ofthe support for the feature is already in the upstream kernel, with morecoming. But there are still some challenges that Mujoo wanted to discuss.
Malcolm: 6 usability improvements in GCC 15
Over on the Red Hat Developer site, David Malcolm has an articleabout improvements in GCC 15, specifically focusing on the diagnosticinformation that the compiler emits. This includes ASCII art with a ""warning emoji to display the execution path when it detects a problem (likean infinite loop in one of his examples), better C++ template errors,machine-readable diagnostics using StaticAnalysis Results Interchange Format (SARIF), better messages regardingC23 compatibility since that is the default C version for GCC 15, and more.Since the changes are focused on messages, there is the inevitable color-scheme update as well:
[$] Management of volatile CXL devices
ComputeExpress Link (CXL) memory is not like the ordinary RAM that one mightinstall into a computer; it can come and go at any time and is often notpresent when the kernel is booting. That complicates the management ofthis memory. During the memory-management track of the 2025 Linux Storage,Filesystem, Memory-Management, and BPF Summit, Gregory Price ran a sessionon the challenges posed by CXL and how they might be addressed.
Eight new stable kernels
Greg Kroah-Hartman has announced the release of eight stable kernels: 6.14.2, 6.13.11, 6.12.23, 6.6.87, 6.1.134, 5.15.180, 5.10.236, and 5.4.292. These all contain a largeassortment of important kernel fixes throughout the tree.
[$] Preparing DAMON for future memory-management problems
The Data AccessMONitor (DAMON) subsystem provides access to detailed memory-managementstatistics, along with a set of tools for implementing policies based onthose statistics. An update on DAMON by its primary author, SeongJae Park,has been a fixture of the Linux Storage, Filesystem, Memory-Management, andBPF Summit for some years. The 2025 Summit was no exception; Park led twosessions on recent and future DAMON developments, and how DAMON mightevolve to facilitate a more access-aware memory-management subsystem in thefuture.
Security updates for Thursday
Security updates have been issued by AlmaLinux (tomcat and webkit2gtk3), Debian (chromium), Fedora (ghostscript), Mageia (atop, docker-containerd, and xz), Red Hat (go-toolset:rhel8), SUSE (apache2-mod_auth_openidc, apparmor, etcd, expat, firefox, kernel, libmozjs-128-0, and libpoppler-cpp2), and Ubuntu (dino-im, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle, linux, linux-aws, linux-kvm, linux-lts-xenial, linux-fips, linux-fips, linux-aws-fips, linux-azure-fips, linux-gcp-fips, opensc, and poppler).
[$] LWN.net Weekly Edition for April 10, 2025
Inside this week's LWN.net Weekly Edition:
Hardening the Firefox frontend
Tom Schuster, Frederik Braun, and Christoph Kerschbaumer havepublished an articleon the Firefox Security team's Attack & Defenseblog that explains recent work to harden Firefox's frontend code.
[$] An update on torn-write protection
In a combined storage and filesystem track session at the 2025 Linux Storage, Filesystem, Memory Management, and BPF Summit, JohnGarry continued the theme of "untorn" (or atomic) writes that started in the previous session. It was alsoan update on where things have gone for untorn writes since his session at last year's summit. Beyond that,he looked at some of the plans and challenges for the feature in the future.
[$] Debian Project Leader election 2025 edition
Four candidates have stepped up to run in the 2025 Debian ProjectLeader (DPL) election. AndreasTille, who is in his first term as DPL, is running again. SruthiChandran, GianfrancoCostamagna, and Julian AndresKlode are the other candidates running for a chance to serve aterm as DPL. The campaigning phase ended on April5, and Debianmembers began voting on April6. Voting ends onApril19. This year, the campaign period has been lively andsometimes contentious, touching on problems with Debian teamdelegations and finances.
[$] A new type of spinlock for the BPF subsystem
The 6.15 merge window saw the inclusion of a new type of lock for BPF programs:a resilient queued spinlock that Kumar Kartikeya Dwivedi has been working onfor some time. Eventually, he hopes to convert all of the spinlocks currentlyused in the BPF subsystem to his new lock.He gave a remote presentation about the design of the lock at the2025 Linux Storage, Filesystem,Memory-Management, and BPF summit.
[$] Improving hot-page detection and promotion
Tiered-memory systems feature multiple types of memory with varyingperformance characteristics; on such systems, good performance depends onkeeping the most frequently used data in the fastest memory. Identifyingthat data and placing it properly is a challenge that has kept developersbusy for years. Bharata Rao, presenting remotely during amemory-management-track session at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, led a discussion on a potential solution he has recentlyposted; Raghavendra KT was also named on thesession proposal. It seems likely, based on the discussion, thatdevelopers working in this area will not run out of problems anytime soon.
[$] Two approaches to better kernel samepage merging
The kernelsamepage merging (KSM) subsystem works by finding pages in memory withthe same contents, then replacing the duplicated copies with a single,shared copy. KSM can improve memory utilization in a system, but has someproblems as well. In two memory-management-track sessions at the 2025Linux Storage, Filesystem, Memory-Management, and BPF Summit, MathieuDesnoyers and Sourav Panda proposed improvements to KSM tomake it work better for specific use cases.
OpenSSH 10.0 released
OpenSSH10.0 has been released. Support for the DSA signature algorithm,which was disabled by default beginning in 2015, has beenremoved. Other notable changes include using the post-quantum algorithm mlkem768x25519-sha256for key agreement by default, support for systemd-style socketactivation in Portable OpenSSH, and moving code for userauthentication from the sshd-session binary to the newssh-auth binary:
Security updates for Wednesday
Security updates have been issued by Debian (lemonldap-ng, libbssolv-perl, and phpmyadmin), Fedora (augeas, mariadb10.11, and thunderbird), Oracle (gimp, libxslt, python3.11, python3.12, tomcat, and xorg-x11-server), Red Hat (expat, grafana, opentelemetry-collector, and webkit2gtk3), SUSE (azure-cli-core, doomsday, kernel, and poppler), and Ubuntu (dotnet8, dotnet9, erlang, and poppler).
OpenSSL 3.5.0 released
Version3.5.0 of OpenSSL has been released. This release adds support forserver-side QUIC (RFC 9000), anew configuration option (no-tls-deprecated-ec) that disablessupport for TLS groups deprecated in RFC 8422, and more.
FreeDOS 1.4 released
Version1.4 of FreeDOS has beenreleased. This is the first stable release since 2022, andincludes improvements to the Fdisk hard-disk-management program, andreliability updates for the mTCP set of TCP/IP applications forDOS.
[$] Taking notes with Joplin
Joplin is an open-sourcenote-taking application designed to handle taking many kinds of notes,whether it is managing code snippets, writing documentation, jottingdown lecture notes, or drafting a novel. Joplin has Markdown support,a plugin system for extensibility, and accepts multimedia content,allowing users to attach images, videos, and audio files to theirnotes. It can provide synchronization of content across devices usingend-to-end encryption, or users can opt to stick to local storageonly. Joplin even offers a command-lineversion for terminal-based usage. Joplin3.2, the most recent feature release, brought long-awaitedmulti-window support, multi-column layouts, enhanced accessibility,and theme detection.
[$] Using large folios for text areas
Quite a bit of work has been done in recent years to allow the kernel tomake more use of large folios. That progress has not yet reached thehandling of text (executable code) areas, though. During thememory-management track of the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, Ryan Roberts ran a session on how thatsituation might be improved. It would be a relatively small and containedoperation, but can give a measurable performance improvement.
[$] Per-CPU memory for user space
The kernel makes extensive use of per-CPU data as a way to avoid contentionbetween processors and improve scalability. Using the same technique inuser space is harder, though, since there is little control over which CPUa process may be running on at any given time. That hasn't stopped MathieuDesnoyers from trying, though; in the memory-management track of the 2025Linux Storage, Filesystem, Memory-Management, and BPF Summit, he presenteda proposal for how user-space per-CPU memory could work.
Security updates for Tuesday
Security updates have been issued by AlmaLinux (gimp, libxslt, python3.11, python3.12, and tomcat), Debian (ghostscript and libnet-easytcp-perl), Fedora (openvpn, perl-Data-Entropy, and webkitgtk), Red Hat (python-jinja2), SUSE (giflib, pam, and xen), and Ubuntu (apache2, binutils, expat, fis-gtm, linux-azure, linux-azure-6.8, linux-nvidia-lowlatency, linux-azure, linux-azure-fde, linux-azure-5.15, linux-azure-fde-5.15, linux-azure-fips, linux-gcp-fips, linux-hwe-5.4, linux-nvidia, linux-nvidia-tegra-igx, ruby2.7, ruby3.0, ruby3.2, ruby3.3, and vim).
[$] An update on pahole
Pahole (originally "Poke-a-hole") is a Swiss Army knife for exploring andediting debug information. Pahole is also currently involvedin the kernel's build process to rearrange the informationproduced by various compilers into a form useful to the BPF verifier, althoughthere are plans to render it unnecessary.Pahole maintainer Arnaldo Carvalho de Melo shared some statusupdates about the project at the 2025 Linux Storage, Filesystem,Memory-Management, and BPF summit. Interested readers can find his slideshere.
Fifty Years of Open Source Software Supply Chain Security (Queue)
ACM Queue looks atthe security problem in the light of a report on Multics security thatwas published in 1974.
[$] Three ways to rework the swap subsystem
The kernel's swap subsystem is complex and highly optimized - though notalways optimized for today's workloads. In three adjacent sessions duringthe memory-management track of the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, Kairui Song, Nhat Pham, and Usama Arifall talked about some of the problems that they are trying to solve in theLinux swap subsystem. In the first two cases, the solutions take the form ofan additional layer of indirection in the kernel's swap map; the third,which enables swap-in of large folios, may or may not be worthwhile in theend.
[$] The rest of the 6.15 merge window
Linus Torvalds released 6.15-rc1 andclosed the 6.15 merge window on April6. By that time, 12,633non-merge changesets had found their way into his repository; that issubstantially more than were merged during the entire 6.14development cycle. Just under 6,000 of those changesets were merged afterthe first-half merge-window summary waswritten.
Five new stable kernels
The 6.14.1, 6.13.10, 6.12.22, 6.6.86, and 6.1.133 stable kernels have all beenreleased. They contain a relatively small collection of important fixesacross the kernel tree.
Security updates for Monday
Security updates have been issued by Debian (abseil, atop, jetty9, ruby-saml, tomcat10, trafficserver, xz-utils, and zfs-linux), Fedora (chromium, condor, containernetworking-plugins, cri-tools1.29, crosswords-puzzle-sets-xword-dl, exim, ghostscript, matrix-synapse, upx, varnish, and yarnpkg), Gentoo (XZ Utils), Mageia (augeas, corosync, nss & firefox, and thunderbird), Oracle (container-tools:ol8, firefox, freetype, and kernel), Red Hat (firefox), SUSE (chromium, gn, firefox-esr, go1.23-1.23.8, go1.24, go1.24-1.24.2, google-guest-agent, govulncheck-vulndb, gsl, python311-ecdsa, thunderbird, and webkit2gtk3), and Ubuntu (kamailio, libdbd-mysql-perl, linux-nvidia, linux-nvidia-6.8, and tomcat9).
Kernel prepatch 6.15-rc1
Linus has released 6.15-rc1 and closed themerge window for this release. "As expected, this was one of the biggermerge windows, almost certainly just because we had some pent-updevelopment due to the previous releases being impacted by the holidayseason. That said, while it's bigger than normal, it's not some kind ofrecord-breaking thing.". In the end, 12.633 non-merge changesets werepulled into the mainline during this merge window.
[$] The state of guest_memfd
A typical cloud-computing host will share some of its memory with eachguest that it runs. The host retains its access to that memory, though,meaning that it can readily dig through that memory in search of data thatthe guest would prefer to keep private. The guest_memfd subsystem removes (most of) thehost's access to guest memory, making the guest's data more secure. In thememory-management track of the 2025 Linux Storage, Filesystem,Memory-Management, and BPF Summit, David Hildenbrand ran a discussion onthe state and future of this feature.
12345678910...