Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-23 21:30
Security updates for Friday
Security updates have been issued by Debian (firefox-esr, openjdk-8, and wpa), openSUSE (irssi, jhead, opera, and python-django-registration), SUSE (firefox and qemu), and Ubuntu (dnsmasq and shibboleth-sp).
A statement on the UMN mess
Speaking for the Linux Foundation Technical Advisory Board, Kees Cook hasposted a brief statement on the controversyover patches submitted from the University of Minnesota.
Ubuntu 21.04 released
The Ubuntu21.04 distribution release is available. "Today, Canonicalreleased Ubuntu 21.04 with native Microsoft Active Directory integration,Wayland graphics by default, and a Flutter application developmentSDK. Separately, Canonical and Microsoft announced performance optimizationand joint support for Microsoft SQL Server on Ubuntu."
[$] Toward signed BPF programs
The kernel's BPF virtual machine is versatile;it is possible to load BPF programs into the kernel to carry outa large (and growing) set of tasks. The growing body of BPF code canreasonably bethought of as kernel code in its own right. But, while the kernel cancheck signatures on loadable modules and prevent the loading of modulesthat are not properly signed, there is no such mechanism for BPF programs;any sufficiently privileged process can load any program that will pass theverifier. One might think that adding this checking for BPF would bestraightforward, but that subsystem has some unique characteristics thatmake things more challenging than one might expect. There may be asolution in the works, though; fittingly, it works by loading yet another BPFprogram.
Security updates for Thursday
Security updates have been issued by Debian (thunderbird and wordpress), Fedora (curl, firefox, mediawiki, mingw-binutils, os-autoinst, and rpm-ostree), Oracle (java-1.8.0-openjdk and java-11-openjdk), SUSE (kernel, pcp, and tomcat6), and Ubuntu (linux, linux-aws, linux-gke-5.3, linux-hwe, linux-kvm, linux-lts-xenial, linux-oem-5.6, linux-raspi2-5.3, linux-snapdragon).
[$] LWN.net Weekly Edition for April 22, 2021
The LWN.net Weekly Edition for April 22, 2021 is available.
[$] Intentionally buggy commits for fame—and papers
A buggy patchposted to the linux-kernel mailing list in early April was apparently thelast straw for Greg Kroah-Hartman as it led to the planned reversion of a whole slew ofcommits with one thing in common: their origin at the University ofMinnesota (UMN). The patch to the NFSv4 authorization mechanism was dulyquestioned by two NFS developers, but it is not an honest mistake; according to Kroah-Hartman, there has been an attackof sorts underway as part of some academic research at the university. Inorder to be sure that these intentional bugs, many with securityimplications, do not continue to haunt Linux, he is workingon reverting commits that came from email addresses with theumn.edu domain.
Three stable kernels
Stable kernels 5.11.16, 5.10.32, and 5.4.114 have been released. They containimportant fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (firefox-esr, php-pear, wordpress, and zabbix), Oracle (java-1.8.0-openjdk and java-11-openjdk), Red Hat (java-1.8.0-openjdk, java-11-openjdk, kernel, and kpatch-patch), Scientific Linux (java-1.8.0-openjdk and java-11-openjdk), Slackware (seamonkey), SUSE (apache-commons-io, ImageMagick, kvm, ruby2.5, and sudo), and Ubuntu (edk2, libcaca, ntp, and ruby2.3, ruby2.5, ruby2.7).
[$] Rust heads into the kernel?
In a lengthymessage to the linux-kernel mailing list, Miguel Ojeda "introduced" theRust for Linux project. Itwas likely not the first time that most kernel developers had heard of theeffort; there was an extensive discussionof the project at the 2020 Linux PlumbersConference, for example. It has also been raisedbefore on the list. Now, the project is looking for feedback fromthe kernel community about its plans, thus the RFC posting on April 14.
In the trenches with Thomas Gleixner (Linux.com)
Linux.com has published aninterview with Thomas Gleixner with a focus on the realtime preemptionwork. "The approach to funding these kinds of projects reminds me of the Mikado Game, which is popular in Europe, where the first player who picks up the stick and disturbs the pile often is the one who loses.That’s puzzling to me, especially as many companies build key productsdepending on these technologies and seem to take the availability andsustainability for granted up to the point where such a project fails, orpeople stop working on it due to lack of funding. Such companies shouldseriously consider supporting the funding of the Real-Time project."
Security updates for Tuesday
Security updates have been issued by Debian (xorg-server), Fedora (CImg, gmic, leptonica, mingw-binutils, mingw-glib2, mingw-leptonica, mingw-python3, nodejs, and seamonkey), openSUSE (irssi, kernel, nextcloud-desktop, python-django-registration, and thunderbird), Red Hat (389-ds:1.4, kernel, kernel-rt, perl, and pki-core:10.6), SUSE (kernel, sudo, and xen), and Ubuntu (clamav and openslp-dfsg).
[$] Btrfs on zoned block devices
Zonedblock devices have some unfamiliar characteristics that result fromcompromises made in the name of higher storage density. They are dividedinto zones, some or all of which do not support random access for writeoperations. Instead, these "sequential" zones can only be written inorder, from the first block to the last. This constraint poses a newchallenge for filesystems, which are normally designed with the assumptionthat storage blocks can be written in any order. It is thus not surprisingthat zoned-device support in mainstream filesystems in Linux has been slowin coming; that is changing, though, with the additionof support for zoned block devices to Btrfs in Linux 5.12.
OpenSSH 8.6 released
OpenSSH 8.6 is now available. The "ssh-rsa" signature scheme, which usesthe SHA-1 hash algorithm, will be disabled by default in the nearfuture. "Note that the deactivation of "ssh-rsa" signatures does notnecessarily require cessation of use for RSA keys. In the SSH protocol,keys may be capable of signing using multiple algorithms. In particular,"ssh-rsa" keys are capable of signing using "rsa-sha2-256" (RSA/SHA256),"rsa-sha2-512" (RSA/SHA512) and "ssh-rsa" (RSA/SHA1). Only the last ofthese is being turned off by default."
Firefox 88.0 and 78.10 ESR
Firefox 88 has been released. Newfeatures include support for PDF forms with embedded JavaScript and smoothpinch-zooming using a touchpad, and better protection against cross-siteprivacy leaks. See thisarticle for more information on how Firefox 88 combats window.nameprivacy abuses. Firefox 78.10 ESR containsvarious fixes for stability, functionality, and security.
Security updates for Monday
Security updates have been issued by CentOS (nettle, squid, and thunderbird), Debian (libebml, python-bleach, and python2.7), Fedora (batik, gnuchess, kernel-headers, kernel-tools, ruby, singularity, and xorg-x11-server), Mageia (clamav, kernel, kernel-linus, and python3), openSUSE (chromium, fluidsynth, opensc, python-bleach, and wpa_supplicant), Oracle (gnutls and nettle), Red Hat (dpdk, gnutls and nettle, mariadb:10.3 and mariadb-devel:10.3, and redhat-ds:11), and SUSE (kernel, qemu, and xen).
Kernel prepatch 5.12-rc8
In the end, Linus decided to hold the 5.12 release for one more week andput out 5.12-rc8 instead. "Ok, so it's been _fairly_ calm this past week, but it hasn't been thekind of dead calm I would have taken to mean 'no rc8 necessary'.So here we are, with an extra rc to make sure things are all settleddown."
LLVM 12.0.0 released
Version 12.0.0 of the LLVM compiler suite is out. This appears to be arelease with a lot of incremental improvements rather than large headlinefeatures; see the various sets of release notes in the announcement fordetails.
Debian's election results
The Debian project has voted strongly toretain Jonathan Carter as the project leader. On that other littlenagging issue, the project has voted not toissue a statement regarding Richard Stallman's return to the FreeSoftware Foundation board of directors. This, too, was a relatively strongresult over the other options. Details can be found on the specific pagesfor the projectleader and generalresolution ballots.
A whole bunch of stable kernels
Today's crop of stable kernels includes the following: 4.4.267, 4.9.267, 4.14.231, 4.19.188, 5.4.113, 5.10.31, and 5.11.15. As usual. they contain importantfixes throughout the tree; users of those series should upgrade.
[$] Running code within another process's address space
One of the key resources that defines a process is its address space — theset of mappings that determines what any specific memory address meanswithin that process. An address space is normally privateto the process it belongs to, but there are situations where one processneeds to make changes to another process's memory; an interactive debuggerwould be one case in point. The ptrace()system call makes such changes possible, but it is slow and not always easyto use, so there has been a longstanding quest for better alternatives.One possibility, process_vm_exec()from Andrei Vagin, was recently posted for review.
Security updates for Friday
Security updates have been issued by Debian (smarty3), Fedora (libpano13, python3.8, and seamonkey), Mageia (chromium-browser-stable, gstreamer1.0, thunderbird, and x11-server), Oracle (libldb and thunderbird), SUSE (grafana and system-user-grafana, kernel, and openldap2), and Ubuntu (linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke-5.3, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe, linux-hwe-5.4, linux-hwe-5.8, linux-kvm, linux-oem-5.10, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4, linux-raspi2-5.3, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-lts-xenial, linux-oracle, linux-raspi2, linux-snapdragon, and linux-oem-5.6).
Kicking off the GNU Assembly
A new organization for maintainers and contributors to GNU tools, the GNU Assembly, has announced its existence."We’re excited to kick off the GNU Assembly and its web site! This place intends to be a collaboration platform for the developers of GNU packages who are all 'hacking for user freedom' and who share a vision for the umbrella project." It is an outgrowth of discussions on changes to GNU governance from a few years back, but its origins are even older than that. The organization is working on its governance model and invites those interested to its Assembly mailing list.
[$] Looking forward to Fedora 34
The Fedora project may have managed to shake off its reputation for delayedreleases in recent years, but that hasn't stopped the release date forFedora 34 from slippingone week to April 27. Modulo ahandful of bugs, though, this release is in its final form, so a lookat what is coming is warranted. Distribution releases, especially thosefor fast-moving community distributions, are a good point at which to catchup with the state of many free-software projects and where Linux is headedin general. Fedora 34 includes a lot of changes, including the GNOME 40 release but, for the mostpart, it looks like an exercise in continuity.
Security updates for Thursday
Security updates have been issued by Debian (xorg-server), Fedora (kernel), openSUSE (clamav, fluidsynth, python-bleach, spamassassin, and xorg-x11-server), Red Hat (gnutls and nettle, libldb, and thunderbird), Scientific Linux (thunderbird), SUSE (clamav, util-linux, and xorg-x11-server), and Ubuntu (network-manager and underscore).
Rust in the Linux kernel (Google security blog)
The Google security blog has adetailed article on what a device driver written in Rust looks like."That is, we use Rust's ownership discipline when interacting with Ccode by handing the C portion ownership of a Rust object, allowing it tocall functions implemented in Rust, then eventually giving ownershipback. So as long as the C code is correct, the lifetime of Rust fileobjects work seamlessly as well, with the compiler enforcing correctlifetime management on the Rust side, for example: open cannot returnstack-allocated pointers or heap-allocated objects containing pointers tothe stack, ioctl/read/write cannot free (ormodify without synchronization) the contents of the object stored in filp->private_data, etc."
[$] LWN.net Weekly Edition for April 15, 2021
The LWN.net Weekly Edition for April 15, 2021 is available.
[$] Enabling debuginfod for Fedora by default
In early April, Fedora program manager Ben Cotton posteda proposal to use the distribution'sdebuginfodservers by default in Fedora 35. This feature would help developerswho are trying to debug or trace their programs using various tools, but who arelacking the source code and debugging symbols needed. The serverscan provide that data directly to the tools as needed, but there are somesecurity and privacy concerns to work through before turning the feature onby default.
OpenStack Wallaby released
The OpenStack cloud-infrastructure project has made its 23rd release, Wallaby. "The Wallaby release strengthens open infrastructure for cloud native applications with enhanced security and integration with other open source technologies. More than 17,000 code changes authored by over 800 contributors from 140 different organizations and 45 countries were merged into the release.In addition to delivering a wide range of improvements to the stable and reliable OpenStack core and its highly flexible project integration capabilities, Wallaby delivers security enhancements including fallback permissions and RBAC improvements in Ironic [bare-metal provisioning service], Glance [image service] and Manila [shared filesystems], and the community focused this cycle on migrating the RBAC policy format from JSON to YAML. Additionally, the Ironic project has extended functionality for UEFI (Unified Extensible Firmware Interface), including secure erase for NVME."
Four stable kernels
Stable kernels 5.11.14, 5.10.30, 5.4.112, and 4.19.187 have been released with importantfixes throughout the tree. Users should upgrade.
Security updates for Wednesday
Security updates have been issued by CentOS (screen), Debian (clamav, courier-authlib, and tomcat9), Red Hat (thunderbird), SUSE (clamav, glibc, kernel, open-iscsi, opensc, spamassassin, thunderbird, wpa_supplicant, and xorg-x11-server), and Ubuntu (linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-kvm, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-kvm, linux-oracle, linux-raspi2, linux-snapdragon, linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.8, linux-kvm, linux-oracle, linux-raspi, linux, linux-aws, linux-kvm, linux-lts-xenial, linux-raspi2, linux-snapdragon, linux-oem-5.10, linux-oem-5.6, nettle, and xorg-server, xorg-server-hwe-16.04, xorg-server-hwe-18.04).
FreeBSD 13.0 released
The FreeBSD 13 release is out. It includes a lot of updated software, theremoval of a number of GNU tools (including the toolchain), and more, butnot WireGuard. See the releasenotes for the details.
[$] Comparing SystemTap and bpftrace
There are times when developers and system administrators need to diagnoseproblems in running code. The program to be examined can be a user-spaceprocess, the kernel, or both. Two of the major tools available on Linux toperform this sort of analysis areSystemTap andbpftrace. SystemTap has been availablesince 2005, while bpftrace is a more recent contender that, to some,may appear tohave made SystemTap obsolete. However, SystemTap is still the preferredtool forsome real-world use cases.
Security updates for Tuesday
Security updates have been issued by Debian (libpano13), Fedora (mosquitto and perl-Net-CIDR-Lite), Mageia (curl, mongodb, pdfbox, python-jinja2, rygel, spamassassin, tor, velocity, webkit2, and wireshark), openSUSE (umoci), Oracle (389-ds:1.4, kernel, and virt:ol and virt-devel:rhel), Red Hat (kernel and kpatch-patch), Slackware (dnsmasq and irssi), and SUSE (cifs-utils, rubygem-actionpack-4_2, and spamassassin).
[$] NUMA-aware qspinlocks
While some parts of the core kernel reached a relatively stable "done"state years ago, others never really seem to be finished. One of thelatter variety is undoubtedly the kernel's implementation of spinlocks,which arbitrate access to data at the lowest levels of the kernel. Lockperformance can have a significant effect on the performance of the systemas a whole, so optimization work can pay back big dividends. Lest onethink that this work is finally done, the NUMA-awareqspinlock patch set shows how some more performance can be squeezed outof the kernel's spinlock implementation.
The FSF on Stallman's reinstatement
The Free Software Foundation has finally issueda statement on why the decision to return Richard Stallman to theorganization's board of directors was taken.
Security updates for Monday
Security updates have been issued by CentOS (kernel and libldb), Debian (mediawiki, qemu, ruby-kramdown, and xen), Fedora (grub2, libldb, libopenmpt, python-pikepdf, python39, samba, squid, and webkit2gtk3), openSUSE (bcc, ceph, gssproxy, hostapd, isync, kernel, openexr, openSUSE KMPs, and tpm2-tss-engine), SUSE (fwupdate and wpa_supplicant), and Ubuntu (spamassassin).
Kernel prepatch 5.12-rc7
The 5.12-rc7 kernel prepatch is out; it'srather larger than Linus would have liked."End result: I'm still waffling about the final 5.12 release. The factthat we have a big rc7 does make me think that I'll probably do an rc8this time around. But it ends up depending a bit on how the upcomingweek goes, and if things are deathly quiet, I may end up deciding thatan rc8 doesn't really make sense."
Stable kernels for the weekend
There is another set of stable kernel updates out:5.11.13,5.10.29,5.4.111,4.19.186,4.14.230,4.9.266, and4.4.266.Each contains another set of important fixes.
HPVM v1.0 released
HPVM ("heterogeneous parallelvirtual machine") is a compiler for targets like GPUs and FPGAs based onLLVM; the 1.0 release is available now. "This release is a major addition to our first release (version 0.5),adding support for linear algebra tensor operations, Pytorch andKeras frontends, approximations for convolution operators, and anefficient and flexible framework for approximation tuning. Our novelapproximation-tuner automatically selects approximation knobs forindividual tensor operations and selects configurations that maximizea (configurable) performance objective."
[$] Seccomp user-space notification and signals
The seccomp()mechanism allows the imposition of a filter program (expressed in "classic" BPF)that makes policy decisions on whether to allow each system call invoked by the targetprocess. The user-space notificationfeature further allows those decisions to be deferred to anotherprocess. As this recentpatch set from Sargun Dhillon shows, though, user-space notificationstill has some rough edges, especially when it comes to signals. Thispatch makes a simple change to try to address a rather complex problembrought to the fore by changes in the Go language's preemption model.
Security updates for Friday
Security updates have been issued by Debian (lib3mf, php-pear, and python-django), Fedora (perl-Net-Netmask), openSUSE (flatpak, libostree, xdg-desktop-portal,, fwupd, fwupdate, and hostapd), Oracle (kernel, libldb, nettle, and squid), Red Hat (nettle), and SUSE (fwupdate, tpm2-tss-engine, and umoci).
[$] Debian votes on a statement — and a leader
Richard Stallman's return to the FreeSoftware Foundation's board of directors has provoked a flurry of responses, and many organizations inthe free-software community have expressed their unhappiness with thatappointment. In almost every case, the process leading up to thatexpression has been carried out behind closed doors. The Debian project,instead, is deciding what to do in a classic Debian way — holding a publicvote on a general resolution with a wide range of possible outcomes.
Security updates for Thursday
Security updates have been issued by Fedora (chromium, libldb, rpm, samba, and seamonkey), openSUSE (isync), Oracle (kernel), Red Hat (openssl and squid), SUSE (ceph, flatpak, libostree, xdg-desktop-portal, xdg-desktop-portal-gtk, fwupd, fwupdate, and openexr), and Ubuntu (curl, linux-lts-trusty, and lxml).
[$] LWN.net Weekly Edition for April 8, 2021
The LWN.net Weekly Edition for April 8, 2021 is available.
[$] Resurrecting DWF
Five years ago, we looked at an effort toassist in the assignment of CommonVulnerabilities and Exposures (CVE) IDs, especially for open-sourceprojects.Developers in the free-software world have often found it difficult toobtain CVE IDs for the vulnerabilities that they find.The Distributed WeaknessFiling (DWF) project was meant to reduce the friction in theCVE-assignment process, but it never really got off the ground. In a blogpost, Josh Bressers said that DWF was hampered by trying to follow therules for CVEs. That has led to a plan to restart DWF, but this time without the"yoke of legacy CVE".
[$] Scanning for secrets
Projects, even of the open-source variety, sometimes have secrets that needto be maintained. They can range from things like signing keys, which are(or should be) securely stored away from the project's code, to credentialsand tokens for access to various web-based services, such as cloud-hosting services or thePython Package Index (PyPI). These credentialsare sometimesneeded by instances of the running code, and some others benefit from beingstored "near" the code, but these types of credentials are not meant tobe distributed outside of the project.They can sometimes mistakenly be added to a public repository, however, which isa slip that attackers are most definitely on the lookout for.The big repository-hosting services like GitHuband GitLab are well-placed to scan for these kinds of secrets beingcommitted to project repositories—and they do.
A set of stable kernels
Stable kernels 5.11.12, 5.10.28, 5.4.110, 4.19.185, 4.14.229, 4.9.265, and 4.4.265 have been released with the usual setof important fixes. Users should upgrade.
Security updates for Wednesday
Security updates have been issued by openSUSE (chromium), Oracle (flatpak and kernel), Red Hat (virt:8.3 and virt-devel:8.3), and SUSE (gssproxy and xen).
Eliminating Data Races in Firefox – A Technical Report
The Mozilla Hacks site has areport on the use of ThreadSanitizer to detect and fix data races inthe Firefox browser. "While benign data races do exist, we foundthat data races arevery easily misclassified as benign. The reasons for this are clear: It ishard to reason about what compilers can and will optimize, and confirmationfor certain 'benign' data races requires you to look at the assembler codethat the compiler finally produces. Needless to say, this procedure isoften much more time consuming than fixing the actual data race and alsonot future-proof. As a result, we decided that the ultimate goal should bea 'no data races' policy that declares even benign data races asundesirable due to their risk of misclassification, the required time forinvestigation and the potential risk from future compilers (with betteroptimizations) or future platforms (e.g. ARM)."
...71727374757677787980...