Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-23 19:45
[$] LWN.net Weekly Edition for July 8, 2021
The LWN.net Weekly Edition for July 8, 2021 is available.
[$] Rust for Linux redux
On July 4, the Rust for Linux projectpostedanother version of its patch set adding support for the language to thekernel. It would seem that the project feels that it is ready to be considered formerging into the mainline. Perhaps a bigger question lingers, though: is the kerneldevelopment community ready for Rust? That part still seems to be up in the air.
Four 5.x stable kernels
Sasha Levin has released stable kernels 5.13.1, 5.12.15, 5.10.48, and 5.4.130. They all contain a small set ofimportant fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Fedora (glibc), Gentoo (doas, firefox, glib, schismtracker, and tpm2-tss), Mageia (httpcomponents-client), openSUSE (virtualbox), Red Hat (linuxptp), Scientific Linux (linuxptp), and Ubuntu (libuv1 and php7.2, php7.4).
[$] Python attributes, __slots__, and API design
A discussion on the python-ideas mailing list touched on a number ofinteresting topics, from the problems with misspelled attribute namesthrough the design of security-sensitive interfaces and to the use of the__slots__ attribute of objects. The latter may not be all thatwell-known (or well-documented), but could potentially fix the problem athand, though not in a backward-compatible way. The conversation revolvesaround the ssl modulein the standard library, which has been targeted forupgrades, more than once, over the years—with luck, the maintainers may find time for some upgrades relatively soon.
Virtuozzo VzLinux 8.4 Now Available
The Virtuozzo team has announcedthe release of VzLinux 8.4; its fork of RHEL. "Thanks for noticing that we are fixing bugs so quickly (24 hours) and that you think VzLinux is stable and enterprise ready. To those who have asked if we will be following a similar path as CentOS, shifting its focus to Stream, the answer is: there are no plans for us to go this route, VzLinux will remain free to download, use and distribute.See the releasenotes for details.
Security updates for Tuesday
Security updates have been issued by Arch Linux (python-django), Debian (libuv1, libxstream-java, and php7.3), Fedora (rabbitmq-server), Gentoo (glibc, google-chrome, libxml2, and postsrsd), openSUSE (libqt5-qtwebengine and roundcubemail), SUSE (python-rsa), and Ubuntu (djvulibre).
[$] Bye-bye bdflush()
The addition of system calls to the Linux kernel is a routine affair; ithappens during almost every merge window. The removal of system calls,instead, is much more uncommon. That appears likely to happensoon, though, as discussions proceed on the removal of bdflush().Read on for a look at the purpose and history of this obscure system call and tolearn whether you will miss it (you won't).
Security updates for Monday
Security updates have been issued by Arch Linux (electron11, electron12, istio, jenkins, libtpms, mediawiki, mruby, opera, puppet, and python-fastapi), Debian (djvulibre and openexr), Fedora (dovecot, libtpms, nginx, and php-league-flysystem), Gentoo (corosync, freeimage, graphviz, and libqb), Mageia (busybox, file-roller, live, networkmanager, and php), openSUSE (clamav-database, lua53, and roundcubemail), Oracle (389-ds:1.4, kernel, libxml2, python38:3.8 and python38-devel:3.8, and ruby:2.5), and SUSE (crmsh, djvulibre, python-py, and python-rsa).
Darktable 3.6 released
Version 3.6of the Darktable raw photo editor has been released. "The darktableteam is proud to announce our second summer feature release, darktable3.6. Merry (summer) Christmas! This is the first of two releases this yearand, from here on, we intend to issue two new feature releases each year,around the summer and winter solstices." The list of new featuresis long, including a new color-balance module, a "censorize" module forpartial pixelization of images, a new demosaic algorithm, and more.
[$] The first half of the 5.14 merge window
As of this writing, just under 5,000 non-merge changesets have been pulledinto the mainline repository for the 5.14 development cycle. That is lessthan half of the patches that have been queued up in linux-next, so it isfair to say that this merge window is getting off to a bit of a slowstart. Nonetheless, a fair number of significant changes have been merged.
Security updates for Friday
Security updates have been issued by Fedora (ansible and seamonkey), openSUSE (go1.15 and opera), Oracle (kernel and microcode_ctl), and Red Hat (go-toolset-1.15 and go-toolset-1.15-golang).
Kuhn: It Matters Who Owns Your Copylefted Copyrights
Bradley Kuhn has posted alengthy missive on the Software Freedom Conservancy blog about thehazards of distributed copyright ownership.
[$] Core scheduling lands in 5.14
The core scheduling feature has been underdiscussion for over three years. For those who need it, the waitis over at last; core scheduling was merged for the 5.14 kernel release.Now that this work has reached a (presumably) final form, a look at why this featuremakes sense and how it works is warranted. Core scheduling is not foreverybody, but it may prove to be quite useful for some user communities.
Security updates for Thursday
Security updates have been issued by Debian (htmldoc, ipmitool, and node-bl), Fedora (libgcrypt and libtpms), Mageia (dhcp, glibc, p7zip, sqlite3, systemd, and thunar), openSUSE (arpwatch, go1.15, and kernel), SUSE (curl, dbus-1, go1.15, and qemu), and Ubuntu (xorg-server).
[$] LWN.net Weekly Edition for July 1, 2021
The LWN.net Weekly Edition for July 1, 2021 is available.
[$] Mozilla Rally: trading privacy for the "public good"
A new project from Mozilla, which is meant to help researchers collectbrowsing data, but only with the informed consent of the browser-user, is taking a lot ofheat, perhaps in part because the company can never seem to do anythingright, at least in theeyes of some. Mozilla Rally wasannouncedon June 25 as joint venture between the company and researchers atPrinceton University "to enable crowdsourced science for publicgood". The idea is that users can volunteer to give academic studies access tothe same kinds of browser data that is being tracked in some browserstoday. Whether the privacy safeguards are strong enough—and if there is sufficient reason for users to sign up—remains to be seen.
A set of stable kernels
Stable kernels 5.12.14, 5.10.47, 5.4.129, 4.19.196, 4.14.238, 4.9.274, and 4.4.274 have been released. They all containimportant fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (fluidsynth), Fedora (libgcrypt and tpm2-tools), Mageia (nettle, nginx, openvpn, and re2c), openSUSE (kernel, roundcubemail, and tor), Oracle (edk2, lz4, and rpm), Red Hat (389-ds:1.4, edk2, fwupd, kernel, kernel-rt, libxml2, lz4, python38:3.8 and python38-devel:3.8, rpm, ruby:2.5, ruby:2.6, and ruby:2.7), and SUSE (kernel and lua53).
An EPYC escape: Case-study of a KVM breakout (Project Zero blog)
Over at the Project Zero blog, Felix Wilhelm posted a lengthy account of a vulnerability he found in the Linux kernel's KVM (Kernel-based virtual machine) subsystem:
[$] An unpleasant surprise for My Book Live owners
Embedded devices need regular software updates in order to even beminimally safe on today's internet. Products that have reached their "endof life", thus are no longer being updated, are essentially ticking timebombs—it is only a matter of time before they are vulnerable toattack. That situation played out in June for owners of WesternDigital (WD) My Book Live network-attached storage (NAS) devices; what wasmeant to be a disk for home users accessible via the internet turned into a black hole when a remotecommand-execution flaw was used to delete all of the data stored there. Orso it seemed at first.
Security updates for Tuesday
Security updates have been issued by Debian (klibc and libjdom2-java), Mageia (bash, glibc, gnutls, java-openjdk, kernel, kernel-linus, leptonica, libgcrypt, openjpeg2, tor, and trousers), openSUSE (bouncycastle, chromium, go1.16, and kernel), Oracle (docker-engine docker-cli and qemu), Red Hat (kpatch-patch), and SUSE (arpwatch, go1.16, kernel, libsolv, microcode_ctl, and python-urllib3, python-requests).
The first ever KernelCI hackfest
The KernelCI continuous-integration project heldits first hackfest recently. Developers from the KernelCI team,Google, and Collabora worked to improve many different aspects of KernelCItesting capabilities. There are plans for more hackfests.
[$] 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.
...67686970717273747576...