Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2025-04-21 20:30
[$] Some 5.13 development statistics
As expected, the 5.13 development cycle turned out to be a busy one, with16,030 non-merge changesets being pulled into the mainline over aperiod of nine weeks. The 5.13release happened on June 27, meaning that it must be time for our traditional look at the provenance of the codethat was merged for this kernel.
Security updates for Monday
Security updates have been issued by Debian (bluez, intel-microcode, tiff, and xmlbeans), Fedora (openssh and php-phpmailer6), openSUSE (freeradius-server, java-1_8_0-openjdk, live555, openexr, roundcubemail, tor, and tpm2.0-tools), SUSE (bouncycastle and zziplib), and Ubuntu (linux-kvm and thunderbird).
The 5.13 kernel has been released
Linus has released the 5.13 kernel.
Take control over your data with Rally, a novel privacy-first data sharing platform (Mozilla blog)
Over on the Mozilla blog, the company has announced a new platform, Mozilla Rally, that "puts users in control of their data and empowers them to contribute their browsing data to crowdfund projects for a better Internet and a better society". Rally comes out of work that Mozilla did with Professor Jonathan Mayer's research group at Princeton University .
[$] Suppressing SIGBUS signals
The mmap()system call creates a mapping for a range of virtual addresses; ithas a long list of options controlling just how that mapping should work.Ming Lin is proposingthe addition of yet another option, called MAP_NOSIGBUS, whichchanges the kernel's response when a process accesses an unmapped address.What this option does is relatively easy to understand; why it is useful takes a bit more explanation.
Security updates for Friday
Security updates have been issued by Arch Linux (chromium, dovecot, exiv2, helm, keycloak, libslirp, matrix-appservice-irc, nginx-mainline, opera, pigeonhole, tor, tpm2-tools, and vivaldi), Debian (libgcrypt20), Fedora (pdfbox), Mageia (graphicsmagick, matio, and samba and ldb), openSUSE (dovecot23, gupnp, libgcrypt, live555, and ovmf), SUSE (gupnp, libgcrypt, openexr, and ovmf), and Ubuntu (ceph and rabbitmq-server).
Google's open-source vulnerability schema
The Google Security Blog announcesthe release of a schema intended to describe vulnerabilities in aproject-independent manner:
MyGNUHealth Personal Health Record 1.0 released
The first stable release of MyGNUHealth is out.
[$] Spectre revisits BPF
It has been well over three years now since theSpectre hardware vulnerabilities were disclosed, but Spectre is truly a gift that keeps ongiving. Writing correct and secure code is hard enough when the hardwarebehaves in predictable ways; the problem gets far worse when processors cando random and crazy things. For an illustration of the challengesinvolved, one need look no further than the BPF vulnerability described inthisadvisory, which was fixed in the 5.13-rc7 release.
Security updates for Thursday
Security updates have been issued by Mageia (apache-mod_auth_openidc, bind, bluez, cifs-utils, ffmpeg, gnome-autoar, guacd, kernel, kernel-linus, qtwebsockets5, slic3r, tunnel, wavpack, wireshark, and xscreensaver), openSUSE (apache2, cryptctl, go1.15, libnettle, python-rsa, salt, thunderbird, wireshark, libvirt, sbc, libqt5-qtmultimedia, xstream, and xterm), and SUSE (cryptctl, freeradius-server, libnettle, and libsolv).
[$] LWN.net Weekly Edition for June 24, 2021
The LWN.net Weekly Edition for June 24, 2021 is available.
[$] Pulling GitHub into the kernel process
There is an ongoing effort to "modernize" the kernel-development process;so far, the focus has been on providing bettertools that can streamline the usual email-based workflow. But that"email-based" part has proven to be problematic for some potentialcontributors, especially those who might want to simply submit a small bugfix and are not interested in getting set up with that workflow. Theproject-hosting "forge" sites, like GitHub and GitLab, provide a nearlyfrictionless path for these kinds of one-off contributions, but they donot mesh well—at all, really—with most of mainline kernel development.There is some ongoing work that may change all of that, however.
A review of the kernel's release-signing practices
At the behest of the Linux Foundation, a security-oriented review of thekernel project's release-signing and key-management practices was done; thereport from this work has now been published.
Louis: PipeWire under the hood
For those wanting lots of grungy details about how the PipeWire systemworks, thisblog entry from Patrick Louis should be of interest.
SUSE Linux Enterprise 15 SP3
SUSE Linux Enterprise (SLE) 15 SP3 hasbeen released.
Three stable kernels
Stable kernels 5.12.13, 5.10.46, and 5.4.128 have been released with the usual setof important fixes. Users should upgrade.Note that 5.12.13 and 5.10.46 contain a fix for asignificant Spectre vulnerability; stay tuned to LWN for details.
Security updates for Wednesday
Security updates have been issued by Debian (kernel and linux-4.19), Fedora (tor), Oracle (rh-postgresql10-postgresql), Red Hat (kernel), SUSE (ansible, apache2, dovecot23, OpenEXR, ovmf, and wireshark), and Ubuntu (linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4, linux, linux-aws, linux-aws-5.8, linux-azure, linux-azure-5.8, linux-gcp, linux-gcp-5.8, linux-hwe-5.8, linux-kvm, linux-oracle, linux-oracle-5.8, linux-raspi, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-hwe, linux-oracle, linux-raspi2, linux-snapdragon, linux, linux-aws, linux-azure, linux-gcp, linux-oracle, linux-raspi, linux-hwe, linux-gke-5.3, linux-raspi2-5.3, linux-oem-5.10, and thunderbird).
[$] New features and other changes in Python3.10
Python 3.10 is proceeding apace; everything looks to be ontrack for the final release, which is expected onOctober 4. The beta releases started in early May, with the first of those marking the feature-freeze for this version ofthe language. There are a number of interesting changes that are coming withPython 3.10, including what is perhaps the "headline feature":structural pattern matching.
Security updates for Tuesday
Security updates have been issued by Fedora (audacity), openSUSE (chromium), Oracle (glib2), SUSE (Salt and salt), and Ubuntu (apache2 and openexr).
Rocky Linux 8.4
Rocky Linux is a community enterpriseoperating system, created by Gregory Kurtzer, founder of the CentOSproject. Rocky Linux 8.4 has beenreleased for x86-64 and aarch64. "Sufficient testing has been performed such that we have confidence in its stability for production systems."
[$] A stable bug fix bites proprietary modules
The kernel-development community has long had a tense relationship withcompanies that create and ship proprietary loadable kernel modules. In theview of many developers, such modules are a violation of the GPL and shouldsimply be disallowed. That has never happened, though; instead, thecommunity has pursued a policy of legal ambiguity and technicalinconvenience to discourage proprietary modules. A"technical-inconvenience" patch that was merged nearly one year ago hasbegun to show up in stable kernel releases, leading at least onedeveloper to complain that things have gone a little too far.
Security updates for Monday
Security updates have been issued by Arch Linux (connman, go, and grub), Debian (nettle, prosody, and tor), Fedora (iaito, mingw-ilmbase, mingw-openexr, mingw-python-urllib3, mosquitto, nettle, polkit, and radare2), Mageia (puddletag, python-babel, python-eventlet, and python-pikepdf), openSUSE (htmldoc), SUSE (go1.15, go1.16, gupnp, and libgcrypt), and Ubuntu (apache2 and dovecot).
Kernel prepatch 5.13-rc7
The 5.13-rc7 kernel prepatch is out fortesting. "So there's not a huge number of patches in here, and most of thepatches are pretty small too. A fair number of one-liners and'few-liners'.Which is just how I like it."For reasons that have not been disclosed on the list, the codename for this release has been changed to "Opossums on Parade".
Stable kernels 5.12.12, 5.10.45, and 5.4.127
The 5.12.12, 5.10.45, and 5.4.127 stable kernels have been released.They contain important fixes, as usual, so users should upgrade.
[$] Protecting control dependencies with volatile_if()
Memory ordering issues are, as Linus Torvalds recentlyobserved, "the rocket science of CS". Understandingmemory ordering is increasingly necessary to write scalable code, so kerneldevelopers often find themselves having to become rocket scientists. Thesubtleties associated with control dependencies turn out to be anespecially tricky sort of rocket. A recent discussion about how to forcecontrol dependencies to be observed shows the sorts of difficulties thatarise in this area.
Security updates for Friday
Security updates have been issued by Arch Linux (aspnet-runtime, aspnet-runtime-3.1, chromium, drupal, intel-ucode, nginx, opera, python-django, radare2, thefuck, and vivaldi), Debian (jetty9), Fedora (dogtag-pki and pki-core), openSUSE (htmldoc and postgresql10), Oracle (dhcp), SUSE (apache2, caribou, jetty-minimal, libxml2, postgresql12, python-PyJWT, python-rsa, python-urllib3, thunderbird, tpm2.0-tools, xstream, and xterm), and Ubuntu (grub2-signed, grub2-unsigned and libxml2).
[$] Landlock (finally) sets sail
Kernel development is not for people who lack persistence; changes can takea number of revisions and a lot of time to make it into a mainlinerelease. Even so, the story of the Landlock security module, developed byMickaël Salaün, seems like an extreme case; this code was merged for 5.13 aftermore than five years of development and 34 versions of the patch set.This sandboxing mechanism has evolved considerably since LWN covered version 3 of the patch set in2016, so a look at what Landlock has become is warranted.
Supporting Miguel Ojeda’s Work on Rust in the Linux Kernel (Prossimo blog)
The Prossimo project has announcedthat it has contracted with Miguel Ojeda to work on Rust in the Linux kernelfor the next year. Prossimo is a new name for the memory-safetyprojects being run by the Internet Security ResearchGroup (ISRG), which is the organization behind the Let's Encrypt certificate authority(CA) project. Google provided the funds to enable Ojeda to work full-timeon the project starting back in April.
Security updates for Thursday
Security updates have been issued by CentOS (gnupnp and postgresql), Fedora (dino, microcode_ctl, and xen), Mageia (apache, gsoap, libgd, openssh, perl-Image-ExifTool, python-bleach, and qt4 and qtsvg5), openSUSE (chromium, containerd, docker, runc, djvulibre, htmldoc, kernel, libjpeg-turbo, libopenmpt, libxml2, spice, squid, and ucode-intel), Red Hat (dhcp and glib2), SUSE (apache2, inn, java-1_8_0-openjdk, and webkit2gtk3), and Ubuntu (nettle).
[$] LWN.net Weekly Edition for June 17, 2021
The LWN.net Weekly Edition for June 17, 2021 is available.
[$] Fedora and supply-chain attacks
The specter of more events like the SolarWindssupply-chain attacks is something that concerns many in ourcommunities—and beyond. Linux distributions provide a supply chain thatobviously needs to be protected against attackers injecting malicious codeinto the update stream. This problem recently came up on the Fedora develmailing list, which led to a discussion covering a few different topics.For the most part, Fedora users are protected against such attacks, whichis not to say there is nothing more to be done, of course.
Seven stable kernels
Stable kernels 5.12.11, 5.10.44, 5.4.126, 4.19.195, 4.14.237, 4.9.273, and 4.4.273 have been released. They all containimportant fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (prosody, python-urllib3, and xen), Fedora (dino, dotnet3.1, dotnet5.0, and vmaf), Oracle (gupnp, kernel, and kernel-container), Red Hat (gupnp), Scientific Linux (kernel), SUSE (java-1_8_0-openjdk, kernel, snakeyaml, and xorg-x11-libX11), and Ubuntu (bluez).
[$] Audacity gets a CLA
The Audacity multi-track audioeditor and recorder got its start in the previous century; it is a popularapplication that is available for multiple platforms, and it is licensed under theGPLv2 or later. But Audacity has been acquired by a newlyformed organization called Muse Group;that event has caused something of an uproar in its community. The problem, atleast in part, isthe new ContributorLicense Agreement (CLA) required to contribute to Audacity.
FSFE: REUSE Booster helps Free Software projects with licensing and copyright
The Free Software Foundation Europe introduces REUSEBooster. REUSE is a set of bestpractices to make Free Software licensing easier. "With REUSEBooster, we go one step further. We invite Free Software projects to register for getting help by theFSFE's legal experts. As the name suggests, this will boost the process ofadopting the best practices as well as general understanding of licensingand copyright." The registration deadline is July 8.
linux.dev mailboxes for kernel developers
Konstantin Ryabitsev has announceda new service providing @linux.dev mailboxes for people to usewith kernel development. The documentation pagehas more information. "This is a BETA offering. Currently, it isonly available to people listed in the MAINTAINERS file. We hope to be ableto offer it to everyone else who can demonstrate an ongoing history ofcontributions to the Linux kernel (patches, git commits, mailing listdiscussions, etc)."
Security updates for Tuesday
Security updates have been issued by CentOS (389-ds-base, dhcp, firefox, glib2, hivex, kernel, postgresql, qemu-kvm, qt5-qtimageformats, samba, and xorg-x11-server), Fedora (kernel and kernel-tools), Oracle (kernel and postgresql), Red Hat (dhcp and gupnp), Scientific Linux (gupnp and postgresql), SUSE (postgresql10 and xterm), and Ubuntu (imagemagick).
A possible copyright-policy change for glibc
The GNU C Library developers are askingfor comments on a proposal to stop requiring developers to assign theircopyrights to the Free Software Foundation. This mirrors the recent change by GCC, except that thecommunity is being consulted first. "The changes to accept patcheswith or without FSF copyright assignment would be effective on August 2nd, and would apply to all open branches.The glibc stewards, like the GCC SC, continue to affirm the principles ofFree Software, and that will never change."
Aya: writing BPF in Rust
The first release of the Aya BPF library has been announced; this projectallows the writing of BPF programs in the Rust language. "Over thelast year I've talked with many folks interested in using eBPF in the Rustcommunity. My goal is to get as many of you involved in the project aspossible! Now that the rustc target has been merged, it's time to build asolid foundation so that we can enable developers to write great eBPFenabled apps".
[$] quotactl_path() becomes quotactl_fd()
The quotactl()system call is used to manipulate disk quotas on a filesystem; it canbe used to turn quota enforcement on or off, change quotas, retrievecurrent usage information, and more. The 5.13 merge window brought in anew variant of that system call that was subsequently disabled due to APIconcerns; its replacement is now taking form.
Google's fully homomorphic encryption package
The Google Developers Blog has thisannouncement describing the release of a fullyhomomorphic encryption project under the Apache license."With FHE, encrypted data can travel across the Internet to a server,where it can be processed without being decrypted. Google’s transpiler willenable developers to write code for any type of basic computation such assimple string processing or math, and run it on encrypted data. Thetranspiler will transform that code into a version that can run onencrypted data. This then allows developers to create new programmingapplications that don’t need unencrypted data." See thiswhite paper for more details on how it all works.
Security updates for Monday
Security updates have been issued by Arch Linux (apache, gitlab, inetutils, isync, kube-apiserver, nettle, polkit, python-urllib3, python-websockets, thunderbird, and wireshark-cli), Debian (squid3), Fedora (glibc, libxml2, mingw-openjpeg2, and openjpeg2), Mageia (djvulibre, docker-containerd, exif, gnuchess, irssi, jasper, kernel, kernel-linus, microcode, python-lxml, python-pygments, rust, slurm, and wpa_supplicant, hostapd), openSUSE (389-ds and pam_radius), Oracle (.NET Core 3.1, container-tools:3.0, container-tools:ol8, krb5, microcode_ctl, postgresql:12, postgresql:13, and runc), Red Hat (dhcp, postgresql, postgresql:10, postgresql:12, postgresql:9.6, rh-postgresql10-postgresql, rh-postgresql12-postgresql, and rh-postgresql13-postgresql), Scientific Linux (dhcp and microcode_ctl), SUSE (ardana-neutron, ardana-swift, cassandra, crowbar-openstack, grafana, kibana, openstack-dashboard, openstack-ironic, openstack-neutron, openstack-neutron-gbp, openstack-nova, python-Django1, python-py, python-pysaml2, python-xmlschema, rubygem-activerecord-session_store, venv-openstack-keystone, crowbar-openstack, grafana, kibana, monasca-installer, python-Django, python-py, rubygem-activerecord-session_store, freeradius-server, libjpeg-turbo, spice, and squid), and Ubuntu (rpcbind).
Kernel prepatch 5.13-rc6
The 5.13-rc6 kernel prepatch is out fortesting. "Nothing particularly special to say about this - rc6 iscertainly smaller than rc5 was, so we're moving in the rightdirection".
[$] Code humor and inclusiveness
Free-software development is meant to be fun, at least some of the time.Even developers of database-management systems seem to think that it isfun; there is no accounting for taste, it seems. Part of having fun iscertainly allowing the occasional exercise of one's sense of humor whileworking on the code. But, as some recent "fix" attempts show, humor doesnot always carry through to developers all over the planet. Balancinghumor and inclusiveness is always going to be a challenge for our community.
Privacy analysis of FLoC (Mozilla blog)
Over on the Mozilla blog, Eric Rescorla looksinto some of the privacy implications of the Federated Learning of Cohorts(FLoC), which is a Google effort to replacethird-party cookies with a different type of identifier that is lesstrackable. But less tracking does not equal no tracking. "People'sinterests aren't constant and neither are their FLoC IDs. Currently, FLoCIDs seem to be recomputed every week or so. This means that if a tracker isable to use other information to link up user visits over time, they canuse the combination of FLoC IDs in week 1, week 2, etc. to distinguishindividual users. This is a particular concern because it works even withmodern anti-tracking mechanisms such as Firefox's TotalCookie Protection (TCP). TCP is intended to prevent trackers from correlating visits acrosssites but not multiple visits to one site. FLoC restores cross-sitetracking even if users have TCP enabled."
Poettering: The Wondrous World of Discoverable GPT Disk Images
In a lengthyblog post, Lennart Poettering describes the advantages of using theunique IDs (UUIDs) and flags from the discoverable partitionsspecification to label the entries in a GUID PartitionTable (GPT). That information can be used to tag disk images in aself-descriptive way, so that external configuration files (such as/etc/fstab) are not needed to assemble the filesystems for therunning system. Systemd can use this information in a variety of ways,including for running the image in a container: "If a disk imagefollows the Discoverable Partition Specification then systemd-nspawn hasall it needs to just boot it up. Specifically, if you have a GPT disk imagein a file foobar.raw and you want to boot it up in a container, just runsystemd-nspawn -i foobar.raw -b, and that's it (you can specify a blockdevice like /dev/sdb too if you like). It becomes easy and natural toprepare disk images that can be booted either on a physical machine, insidea virtual machine manager or inside such a container manager: the necessarymeta-information is included in the image, easily accessible beforeactually looking into its file systems."
Security updates for Friday
Security updates have been issued by Debian (libwebp), Fedora (firefox, lasso, mod_auth_openidc, nginx, redis, and squid), Oracle (.NET 5.0, container-tools:2.0, dhcp, gupnp, hivex, kernel, krb5, libwebp, nginx:1.16, postgresql:10, and postgresql:9.6), SUSE (containerd, docker, runc, csync2, and salt), and Ubuntu (libimage-exiftool-perl, libwebp, and rpcbind).
[$] Implementing eBPF for Windows
Extended BPF (eBPF), the general-purposeexecution engine inside of the Linux kernel, has proved helpful for tracing andmonitoring the system, for processing network packets, or generally forextending the behavior of the kernel. So helpful, in fact, that developersworking on other operating systems have been watching it. Dave Thaler andPoorna Gaddehosur, on behalf of Microsoft, recentlypublished an implementation of eBPF for Windows. A Linux feature makingits way to Windows, in itself, deserves attention. Even more so when thatfeature has brought new degrees of programmability to the Linux kernel overthe last few years. This makes it especially interesting to look at what thenew project can do, and to ponder how the current ecosystem might evolve aseBPF begins its journey toward Windows.
Privilege escalation with polkit: How to get root on Linux with a seven-year-old bug (GitHub blog)
On the GitHub blog, Kevin Backhouse writesabout a privilege escalation vulnerability in polkit, which"enables an unprivileged local user to get a root shell on thesystem" CVE-2021-3560"is triggered by starting a dbus-send command but killing it whilepolkit is still in the middle of processing the request. [...] Why doeskilling the dbus-send command cause an authentication bypass? Thevulnerability is in step four of the sequence of events listed above. Whathappens if polkit asks dbus-daemon for the UID of connection :1.96, butconnection :1.96 no longer exists? dbus-daemon handles that situationcorrectly and returns an error. But it turns out that polkit does nothandle that error correctly. In fact, polkit mishandles the error in aparticularly unfortunate way: rather than rejecting the request, it treatsthe request as though it came from a process with UID 0. In other words, itimmediately authorizes the request because it thinks the request has comefrom a root process."
Another batch of stable kernels
The 5.12.10, 5.10.43, 5.4.125, 4.19.194, 4.14.236, 4.9.272, and 4.4.272 stable kernels have been released. Asusual, they contain fixes all over the kernel tree and users of thoseseries should upgrade.
...77787980818283848586...