The second 6.1 kernel prepatch is out fortesting. "Usually rc2 is a pretty quiet week, and it mostly started outthat way too, but then things took a turn for the strange. End result:6.1-rc2 ended up being unusually large."
All memory accesses in a BPF program arestatically checked for safety using the verifier, which analyzes the program in itsentirety before allowing it to run. While this allows BPF programs tosafely run in kernel space, it restricts how that program is able to usepointers. Until recently, one such constraint was that the size of a memoryregion referenced by a pointer in a BPF program must be statically knownwhen a BPF program is loaded. A recentpatch set by Joanne Koong enhances BPF to support loading programs withpointers to dynamically sized memory regions.
Security updates have been issued by Fedora (poppler), Oracle (firefox and thunderbird), Red Hat (firefox, java-1.8.0-openjdk, java-11-openjdk, and java-17-openjdk), SUSE (bind, clone-master-clean-up, grafana, libksba, python3, tiff, and v4l2loopback), and Ubuntu (libreoffice).
Part of the early appeal of the World Wide Web was the promise that anybodycould create a site and publish interesting content to the world. A fewdecades later, that promise seems to have been transformed into the ability toprovide content for a small number of proprietary platforms run by hugecorporations.But, arguably, the dream of widespread independent publishing is enjoying aresurgence. The Ghost publishing platformis built around the goal of making publishing technology — and the abilityto make money from it — available with free software.
Ubuntu22.10 has been released. "Codenamed 'Kinetic Kudu', this interimrelease improves the experience of enterprise developers and ITadministrators. It also includes the latest toolchains and applicationswith a particular focus on the IoT ecosystem." See therelease notes for details.
Unlike many other architectures, x86 systems support atomic operations thataffect more than one cache line. This support comes at a cost, though, interms of overall system performance and, even, security. Over the last fewyears, kernel developers have worked to discourage the use of this sort of"split-lock" operation. Now, though, one group of users is feelinga little too discouraged, leading to a discussion of how much misery canappropriately be inflicted upon users who use problematic butarchitecturally legal operations.
Security updates have been issued by Debian (bcel, kernel, node-xmldom, and squid), Mageia (chromium-browser-stable, dhcp, dokuwiki, firefox, golang, python-joblib, sos, and unzip), Oracle (nodejs and nodejs:16), Red Hat (firefox, kernel, kernel-rt, nodejs, nodejs:14, and thunderbird), Scientific Linux (firefox and thunderbird), Slackware (git and mozilla), SUSE (amazon-ssm-agent, caasp-release, cri-o, patchinfo, release-notes-caasp, skuba, enlightenment, libreoffice, netty, nodejs12, nodejs14, nodejs16, pngcheck, postgresql-jdbc, python-waitress, rubygem-activesupport-5_1, and tcl), and Ubuntu (frr, git, libksba, and linux-azure-4.15).
Since its inclusion in the Linux kernel, the WireGuard VPN tunnel has becomeincreasingly popular. In general, WireGuard is simpler to configure thanother VPNs, but the approach that it takes to authentication can presentsome challenges. Each node in a WireGuard network has a cryptographic keythat serves as the node's identity; nodes that do not know each other's keys cannot directly communicate.Keepingtrack of these keys and distributing them to the other nodesin a mesh network quickly becomes a chore as the network grows.Fortunately, there are now several open-source tools that can automate the management of these keys and make usingWireGuard easier for both administrators and end users.
Version106.0 of the Firefox browser has been released. There are several newfeatures, including PDF editing, FirefoxView (an overview of recently closed tabs), and a set of new colorschemes.
Security updates have been issued by Debian (glibc and libksba), Fedora (dhcp and kernel), Red Hat (.NET 6.0, .NET Core 3.1, compat-expat1, kpatch-patch, and nodejs:16), Slackware (xorg), SUSE (exiv2, expat, kernel, libreoffice, python, python-numpy, squid, and virtualbox), and Ubuntu (linux-azure and zlib).
Linus Torvalds released6.1-rc1 and closed the 6.1 merge window on October 16; at that point, 11,537 non-merge changesets had been pulledinto the mainline repository. That is considerably less than the 13,543changesets pulled during the 6.0 merge window, but quantity is noteverything: there were quite a few significant changes brought in this timearound. Many of those were part of the nearly 5,800 changesets pulledsince our first 6.1 merge window summary;read on for a look at some of the work done in the latter part of thismerge window.
Version 2.3.8 of the GNU Privacy Guard is out. It contains a few newfeatures but the real purpose is to fix CVE-2022-3515,an integer overflow vulnerability that can be exploited remotely for codeexecution via a, for example, malicious S/MIME attachment. Note that theactual vulnerability is in the libksba library, which isnormally packaged separately on Linux systems.
Security updates have been issued by Arch Linux (kernel, linux-hardened, linux-lts, and linux-zen), Debian (python-django), Fedora (apptainer, kernel, python3.6, and vim), Gentoo (assimp, deluge, libvirt, libxml2, openssl, rust, tcpreplay, virglrenderer, and wireshark), Slackware (zlib), SUSE (chromium, python3, qemu, roundcubemail, and seamonkey), and Ubuntu (linux-aws-5.4 and linux-ibm).
The6.0.2,5.19.16,5.15.74,5.10.148, and5.4.218stable kernel updates have all been released. Among other things, theseupdates contain the fixes for the recently disclosed WiFi vulnerabilities.
Software patents affect our systems in many ways, but perhaps moststrongly in the area of codecs — code that creates or plays back audioor video that has been compressed using covered algorithms. For thisreason, certain formats have simply been unplayable on many Linuxdistributions — especially those backed by companies that are bigenough to be worth suing — without installing add-on software fromthird-party repositories. One might think that this problem could beworked around by purchasing hardware that implements the patented algorithms,but recent activity in the Fedora and openSUSE communities shows that lifeis not so simple.
It would appear that there is a set ofmemory-related vulnerabilities in the kernel's WiFi stack that can beexploited over the air via malicious packets; five CVE numbers have beenassigned to the set. Fixes are headed toward themainline and should show up in stable updates before too long; anybody whouses WiFi on untrusted networks should probably keep an eye out for therelevant updates.
There have been a lot of significant changes merged into the mainline forthe 6.1 release, but one of the changes that has received the mostattention will also have the least short-term effect for users of thekernel: the introduction of support for the Rust programming language. Nosystem with a production 6.1 kernel will be running any Rust code, but thischange does give kernel developers a chance to play with the language inthe kernel context and get a sense for how Rust development feels. Perhapsthe most likely conclusion for most developers, though, will be that thereisn't yet enough Rust in the kernel to do much of anything interesting.
Security updates have been issued by Debian (libreoffice, rexical, ruby-nokogiri, and squid), Fedora (wavpack), Red Hat (expat), SUSE (gdcm, orthanc, orthanc-gdcm, orthanc-webviewer and rubygem-puma), and Ubuntu (GMP and unzip).
At the end of September, Victor Stinner reportedon a security bugfix he had been working on for a script from the CPythonTools/scripts directory. As part of that work, he realizedthat there were 74 scripts in that directory that were potentiallyoutdated, unused, unmaintained, trivial, buggy, or some combination of allof those. It is not uncommon for projects to have code that accretes in overlookedcorners of the source tree, but it makes sense to periodically take a lookto see if changes are needed. Stinner seems to have kicked that off for Python with his message.
Security updates have been issued by Debian (mediawiki and twig), Oracle (expat, gnutls and nettle, and kernel), Red Hat (expat, kernel, and kpatch-patch), and Ubuntu (advancecomp and dotnet6).
The kernel's Bugzillainstance is largely unloved and ignored, at least as a bug-reportingtool for the bulk of the upstream kernel. At the recent Maintainers Summit,Bugzilla was discussed during the regression-handling session led by ThorstenLeemhuis. In a followup to that discussion, Leemhuis postedsome ideas for improving the state of bugzilla.kernel.org to theksummit-discuss mailing list recently; the resulting discussion helpedclarify a number of problem areas for it—and for the Bugzilla tool itself.
The Opus codec is an audio codec thatwas designed from the beginning to avoid existing patents in the field andbe royalty-free for all users. It was standardized by the IETF in 2012 asRFC 6716.Now a company called Vectis ("a premierfull-suite IP licensing and consultancy boutique") is collectingpatents that are claimed to read on Opus as a way of demandingroyalties on its use. "The planned Opus program will focus on hardware devices and will not bedirected towards open-source software, applications, services, orcontent". (Thanks to Paul Wise).
Version 7.0.0of the VirtualBox virtualization system is out. Changes include supportfor fully encrypted virtual machines, a new performance-monitoring tool,improved theme support, and a number of new devices.
Philip Herron and Arthur Cohen presented anupdate on the "gccrs" GCC front end for the Rust language at the2022 Kangrejos conference. Less thantwo weeks later — and joined by David Faust — they did it again at the 2022 GNU Tools Cauldron.This time, though, they were talking to GCC developers and refocused theirpresentation accordingly; the result was an interesting look into thechallenges of implementing a compiler for Rust.
Security updates have been issued by Debian (knot-resolver and libpgjava), Fedora (booth, dotnet3.1, expat, nheko, php-twig, php-twig2, php-twig3, poppler, python-joblib, and seamonkey), Mageia (colord, dbus, enlightenment, kitty, libvncserver, php, python3, and unbound), Slackware (libksba), SUSE (cyrus-sasl, ImageMagick, and xmlgraphics-commons), and Ubuntu (nginx and thunderbird).
The 6.1 merge window is well underway: since it opened, 5,752 non-mergechangesets have been pulled into the mainline repository. That isapproximately half of the work that had piled up in linux-next and marks agood time to look at what has been merged so far. Some long-awaited corechanges have landed for the next kernel release, but there are likely to bemore significant changes to come.
Security updates have been issued by Debian (dbus, isc-dhcp, and strongswan), Fedora (booth, php, php-twig, php-twig2, and php-twig3), Oracle (expat, prometheus-jmx-exporter, and squid), Red Hat (expat, openvswitch2.11, and squid), Scientific Linux (expat and squid), SUSE (exiv2, LibVNCServer, postgresql-jdbc, protobuf, python-PyJWT, python3, slurm, squid, and webkit2gtk3), and Ubuntu (libreoffice).
Back in May 2022, a mysterious set of patches titled insufficient TCPsource port randomness crossed the mailing lists and was subsequentlymerged (at -rc6) into the 5.18 kernel. Little information was available atthe time about why significant changes to the networking stack needed to bemade so late in the development cycle. That situation hasfinally changed with the publication of this paper by Moshe Kol,Amit Klein, and Yossi Gilad. It seems that the way the kernel chose portnumbers for outgoing network connections made it possible to uniquelyfingerprint users.
Security updates have been issued by Debian (bind9 and nodejs), Red Hat (prometheus-jmx-exporter and squid), Slackware (dhcp), SUSE (pngcheck and sendmail), and Ubuntu (isc-dhcp, kitty, and linux-gcp-5.4).
The release of source code for NVIDIAgraphics hardware was perhaps something of a surprise; at least at a quickglance, it seemslike that could lead to an in-tree, officially supported driver. For manyyears, though, the nouveauproject has been working on an upstream driver for NVIDIA hardware, so anobvious question is what happens with nouveau in light of the NVIDIAannouncement. Kernel graphics maintainer Dave Airlie gave a talk at the2022 Linux Plumbers Conference (LPC) tohelp shed some light on that subject.