Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-23 12:45
Security updates for Monday
Security updates have been issued by Debian (gzip, libxml2, minidlna, openjpeg2, thunderbird, webkit2gtk, wpewebkit, xen, and xz-utils), Fedora (crun, unrealircd, and vim), Mageia (389-ds-base, busybox, flatpak, fribidi, gdal, python-paramiko, and usbredir), openSUSE (opera and seamonkey), Oracle (kernel and kernel-container), Red Hat (firefox), Scientific Linux (firefox), Slackware (libarchive), SUSE (389-ds, libsolv, libzypp, zypper, and python), and Ubuntu (python-django and tcpdump).
OpenSSH 9.0 released
OpenSSH 9.0 has been released. It is claimed to be primarily a bug-fixrelease, but it also switches to a new, quantum-computer-proof key-exchangeprotocol by default and includes a number of sftp changes, some ofwhich may create some compatibility issues (described in the announcement)with scp.
[$] Readahead: the documentation I wanted to read
The readahead code in the Linux kernel is nominally responsible forreading data that has not yet been explicitly requested from storage,with the idea that it might be needed soon. The code is stable, functional, widelyused, and uncontroversial, so it is reasonable to expect the code to be ofhigh quality, and largely this is true. Recently, I found the need todocument this code, which naturally shone a rather different light onit. This work revealed minor problems with functionality and significantproblems with naming.
Four new stable kernels
The 5.17.2, 5.16.19, 5.15.33, and 5.10.110 stable kernels have been released.These post-merge-window updates have a larger than usual set offixes, throughout the tree. Users of those series should upgrade.
Security updates for Friday
Security updates have been issued by Arch Linux (libtiff), Debian (chromium), Fedora (buildah and chromium), openSUSE (firefox), SUSE (firefox, libsolv, libzypp, and openjpeg2), and Ubuntu (firefox and python-oslo.utils).
Rust 1.60.0 released
Version1.60.0 of the Rust language is available. Changes includecoverage-testing improvements, the return of incremental compilation, andchanges to the Instant type:
[$] Private memory for KVM guests
Cloud computing is a wonderful thing; it allows efficient use of computingsystems and makes virtual machines instantly available at the click of amouse or API call. But cloud computing can also be problematic; thesecurity of virtual machines is dependent on the security of thehost system. In most deployed systems, a host computer can dig through itsguests' memory at will; users running guest systems have to just hope thatdoesn't happen. There are a number of solutions to that problem underdevelopment, including thisKVM guest-private memory patch set by Chao Peng andothers, but some open questions remain.
Security updates for Thursday
Security updates have been issued by Arch Linux (bind), Debian (firefox-esr), Fedora (fribidi, gdal, and mingw-gdal), openSUSE (pdns-recursor and SDL2), Oracle (kernel), Slackware (mozilla), SUSE (glibc and openvpn-openssl1), and Ubuntu (fribidi and linux-azure-5.13, linux-oracle-5.13).
[$] LWN.net Weekly Edition for April 7, 2022
The LWN.net Weekly Edition for April 7, 2022 is available.
[$] Gathering multiple system parameters in a single call
Running a command like lsof,which lists the open files on the system along with information about theprocess that has each file open, takes a lot of system calls, mostly to read asmall amount of information from many /proc files. Providing anew interface to collect those calls together into a single (or, at least,fewer) system calls is the target of Miklos Szeredi's getvalues()RFC patch that was posted on March 22. While the proposal doesnot look like it is going far, at least in its current form, it did sparksome discussion of the need—or lack thereof—for a way to reduce this kindof overhead, as well as to explore some alternative ways to get there via code thatalready exists in the kernel.
Emacs 28.1 released
Version 28.1 of theEmacs editor has been released. The announcement says little about what'sin this release, but there are a lot of details in the NEWS file.Significant changes include native compilation of ELisp files, support forrunning the editor in a seccomp() sandbox, improved emoji support,and much more. Wayland support did notmake it into this release, but is already merged for version 29.
Security updates for Wednesday
Security updates have been issued by Arch Linux (rizin), Fedora (fish, gdal, mingw-fribidi, mingw-gdal, mingw-openexr, mingw-python-pillow, mingw-python3, and python-pillow), Mageia (chromium-browser-stable), Oracle (Extended Lifecycle Support (ELS) Unbreakable Enterprise kernel and kernel), Red Hat (kernel, kernel-rt, and Red Hat OpenStack Platform 16.2 (python-waitress)), Scientific Linux (kernel), Slackware (mozilla), SUSE (mozilla-nss), and Ubuntu (h2database).
[$] Debian still having trouble with merged /usr
The addition of the "/usr merge" feature has been something of longstanding messin the Debian world. It seems like a relatively innocuous change, whichis in keeping with the practice of most other distributions at this point; it effectivelyeliminates the top-level /bin, /sbin, and /lib*directories in order to move their contents to the corresponding locationsunder /usr. But ever since we first covered the feature introduction forDebian—more than six years ago—it has a been a recurring series ofheadaches within that community. Recent events have seemingly simplyprolonged the pain, though perhaps the end is in sight.
Rust Lang Roadmap for 2024
The Rust language team has put up ablog entry describing the plans for the language over the next coupleof years or so.
Firefox 99.0 released
Version99.0 of the Firefox browser has been released. "The Linuxsandbox has been strengthened: processes exposed to web content no longerhave access to the X Window system (X11)".
Cook: Security things in Linux v5.10
Kees Cook catchesup with the security-related changes in the 5.10 kernel, released atthe end of 2020.
LXD 5.0 LTS released
Version 5.0 LTS of the LXD container-management system has been released.This is a long-term-support release, which will be supported into 2027.New features include disk and USB hotplug support, the ability to startwith degraded networking, and more; see thisforum post for more information.
Security updates for Tuesday
Security updates have been issued by Arch Linux (polkit, postgresql, and zlib), openSUSE (389-ds and opera), Red Hat (kpatch-patch), SUSE (389-ds and util-linux), and Ubuntu (waitress).
Behnel: Cython is 20!
On his blog, Stefan Behnel writes about the 20th anniversary of Cython, which is a compiler for Python extensions written in C, for wrapping C libraries in order to provide Python bindings for them, and for embedding Python into other applications. It is used by NumPy, scikit-learn (and other scikit-* extensions), pandas, and more.
Claws Mail 4.1.0 released
Version 4.1.0 of the Claws Mail email client is out. New features includetext zooming in the message view, improvements to a number of preferences,a "keyword warner" plugin to give a warning before sending a messagecontaining any (user-defined) keywords, and more.
[$] 5.18 Merge window, part 2
Linus Torvalds released the 5.18-rc1 kernel prepatch onApril 3, after having pulled 13,207 non-merge changesets into themainline repository. This merge window has thus not only been turbulent, with a significant number of regressions and refused pullrequests, it has also been relatively busy. Just over 9,000 of thosechangesets were pulled after the first 5.18merge window summary was written; the time has come to catch up withthe remainder of changes merged for this development cycle.
Security updates for Monday
Security updates have been issued by Debian (asterisk, qemu, and zlib), Fedora (389-ds-base, ghc-cmark-gfm, ghc-hakyll, gitit, libkiwix, openssl, pandoc, pandoc-citeproc, patat, phoronix-test-suite, seamonkey, and skopeo), Mageia (libtiff, openjpeg2, and php-smarty), openSUSE (python), Oracle (httpd), Red Hat (httpd), and SUSE (libreoffice, python, and python36).
Kernel prepatch 5.18-rc1
Linus has released 5.18-rc1 and closed themerge window for the 5.18 release. "In fact, at least in purecommits, this has been a bigger merge window than we've had in sometime. But let's hope it's all smooth sailing this release." In theend, 13,207 non-merge changesets were merged during this merge window.
The 4.14.275 stable kernel is out
The 4.14.275 stable kernel update has beenreleased; it seems to consist mostly of backports of a set of arm64 Spectremitigations.
Boucher: rustc_codegen_gcc can now bootstrap rustc
On his blog, Antoni Boucher updates the status of rustc_codegen_gcc, which "is a GCC codegen for rustc, meaning that it can be loaded by the existing rustc frontend, but benefits from GCC by having more architectures supported and having access to GCC’s optimizations". A significant milestone has been reached: "the GCC codegen has made enough progress to be able to compile rustc itself". For the Rust programming language, rustc is the standard compiler, so this work will eventually allow programs to be built for a number of architectures that are not supported by rustc. He also made progress beyond just building the compiler as he "was able to compile rustc using the GCC codegen and use the resulting rustc to compile a Hello World".
[$] A security fix briefly breaks DMA
In theory, direct memory access (DMA) operations are simple to understand;a device transfers data directly to or from a memory buffer managed by theCPU. Almost all contemporary devices perform DMA, since it would not bepossible to obtain the needed performance without it. Like so many things,DMA turns out to be a bit more complicated in practice. That complexityled to an erroneous patch, intended to improve security, breaking DMA forsome devices in 5.17 and some stable kernels.
Security updates for Friday
Security updates have been issued by Debian (wireshark), Fedora (389-ds-base), Mageia (golang, wavpack, and zlib), openSUSE (yaml-cpp), SUSE (expat and yaml-cpp), and Ubuntu (linux, linux-aws, linux-kvm, linux-lts-xenial, linux-aws-5.4, linux-azure, linux-gcp, linux-gcp-5.13, linux-gcp-5.4, linux-gke, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-aws-hwe, linux-gcp-4.15, linux-oracle, linux-intel-5.13, and tomcat9).
[$] Indirect branch tracking for Intel CPUs
"Control-flow integrity" (CFI) is a set of technologies intended to preventan attacker from redirecting a program's control flow and taking it over.One of theapproaches taken by CFI is called "indirect branch tracking" (IBT); itspurpose is to prevent an attacker from causing an indirect branch (afunction call via a pointer variable, for example) to go to an unintendedplace. IBT for Intel processors has been under development for some time;after an abrupt turn, support for protecting the kernel with IBT has beenmerged for the upcoming 5.18 release.
Security updates for Thursday
Security updates have been issued by Debian (libgc and pjproject), Fedora (cobbler, mingw-openjpeg2, and openjpeg2), Mageia (openvpn), openSUSE (abcm2ps, fish3, icingaweb2, kernel-firmware, nextcloud, openSUSE-build-key, python2-numpy, salt, and zlib), Slackware (vim), SUSE (kernel-firmware, opensc, python2-numpy, python3, salt, and zlib), and Ubuntu (dosbox, linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.13, linux-hwe-5.4, linux-kvm, linux-oracle, linux-oracle-5.4, linux, linux-aws, linux-azure-4.15, linux-dell300x, linux-hwe, linux-kvm, linux-snapdragon, rsync, twisted, and zlib).
[$] LWN.net Weekly Edition for March 31, 2022
The LWN.net Weekly Edition for March 31, 2022 is available.
[$] Systemd discusses its kernel-version needs
A query regarding the possibility of dropping support for older kernels in systemd ledto some discussion on the systemd-devel mailing list recently. As might beguessed, exactly which kernel would be the minimumsupported, what kernel features systemd is using, and when those kernelfeatures became available, were all part of that conversation.A component like systemd that is closely tied to the kernel, and the interfacesdifferent versionsprovide, has a number of different factors to consider when making adecision of this sort.
OpenSUSE adopts a new code of conduct
The openSUSE project has announcedthe adoption of a newcode of conduct:"We hope that by having a clear and concise Code of Conduct for theproject, the openSUSE Community can continue to grow and prosper inthe years to come".
Security updates for Wednesday
Security updates have been issued by CentOS (expat, firefox, httpd, openssl, and thunderbird), Debian (cacti), Fedora (kernel, rsh, unrealircd, and xen), Mageia (kernel and kernel-linus), openSUSE (apache2, java-1_8_0-ibm, kernel, openvpn, and protobuf), Oracle (openssl), Red Hat (httpd:2.4, kernel, kpatch-patch, and openssl), SUSE (apache2, java-1_7_1-ibm, java-1_8_0-ibm, kernel, openvpn, protobuf, and zlib), and Ubuntu (chromium-browser and paramiko).
[$] Problems emerge for a unified /dev/*random
In mid-February, we reported on the plan tounite the two kernel devices that provide random numbers;/dev/urandom was to effectively just be another way to access therandom numbers provided by /dev/random. That change made it asfar as the mainline during the Linux 5.18 merge window, but it wasquickly reverted when problems were found. It may be possible todo that unification someday, but, for now, there are environments that needtheir random numbers early on—without entropy or the "Linus jitter dance"being available on the platform.
Fedora 36 beta released
The Fedora36 beta release has been announced.
Security updates for Tuesday
Security updates have been issued by Debian (libdatetime-timezone-perl, pjproject, and tzdata), Mageia (chromium-browser-stable, docker, graphicsmagick, and libtiff), Oracle (expat), Red Hat (expat, httpd:2.4, openssl, and screen), Scientific Linux (expat and openssl), and Ubuntu (libtasn1-6, linux-oem-5.14, openjdk-lts, and paramiko).
Some nftables security vulnerabilities
Anew set of vulnerabilities has been disclosed in the nftablessubsystem; these lead fairly easily to a local system compromise, on someconfigurations at least. Fixes for these vulnerabilities were present inthe March 28 stable updates; upgradingseems like a good idea.
[$] Pointer tagging for x86 systems
Pointers are a fact of life for developers working in numerous languages.It is often convenient to be able to associate a small amount — a few bits at most — of ancillary information with a pointer.This can often be done within the pointer value itself with some carefulmasking and shifting. CPU manufacturers have been adding ways to supportthe addition of this sort of "tag" to pointers; the most recent may beAMD's "upper address ignore" (UAI) feature, support for which wasrecently postedby Bharata B Rao. This feature has an uncertain future in Linux, though,as the result of a fundamental design decision.
Debian decides to allow secret votes
The Debian project has been voting on a generalresolution that would allow secret voting on future issues. The results havebeen posted in unofficial form, and the winner was "proposal B": "Hide identities ofDevelopers casting a particular vote and allow verification". One mightthink that closes the discussion, but Debian project leader candidate FelixLechner is questioningthe election and calling for it to be redone — something that theDebian constitution lacks provisions for.
Eight new stable kernels
Greg Kroah-Hartman has announced the release of new stable kernels: 5.17.1, 5.16.18, 5.15.32, 5.10.109, 5.4.188, 4.19.237, 4.14.274, and 4.9.309. They contain a relatively small setof important fixes throughout the three; users of those series should upgrade.
Security updates for Monday
Security updates have been issued by Debian (chromium and faad2), Fedora (dotnet3.1, libass, linux-firmware, python-paramiko, seamonkey, and xen), openSUSE (perl-DBD-SQLite and wavpack), Slackware (seamonkey), SUSE (perl-DBD-SQLite and wavpack), and Ubuntu (binutils, python2.7, python3.4, python3.5, python3.6, python3.8, and smarty3).
[$] 5.18 Merge window, part 1
As of this writing, 4,127 non-merge changesets have found their way intothe mainline repository for the 5.18 development cycle. That may seem likea relatively slow start to the merge window, but there are a lot of changespacked into those commits. Read on for a summary of the mostsignificant changes to land in the first half of the 5.18 merge window.
Security updates for Friday
Security updates have been issued by Debian (tiff), Fedora (nicotine+ and openvpn), openSUSE (bind, libarchive, python3, and slirp4netns), Oracle (cyrus-sasl, httpd, httpd:2.4, and openssl), Red Hat (httpd and httpd:2.4), Scientific Linux (httpd), SUSE (bind, libarchive, python3, and slirp4netns), and Ubuntu (firefox).
Horn: Racing against the clock
Jann Horn describesin great detail the process he went through to exploit a tiny racewindow in the kernel.
Ekstrand: How to write a Vulkan driver in 2022
Over on the Collabora blog, Jason Ekstrand has a detailed look at writing a Vulkan graphics driver in today's world. "Not only has Vulkan grown, but Mesa has as well, and we've built up quite a suite of utilities and helpers for making writing Vulkan drivers easier." The blog post takes the form of a tutorial of sorts, though the end result is not a functioning Vulkan driver, the framework of one is shown.
[$] A way out for a.out
The a.out executableformat dates back to the earliest days of Linux — and before. It hasnot been used in any serious way for decades, but support still exists inthe Linux kernel and has resisted all attempts at its removal. Back inJanuary, Borislav Petkov tried yetagain to delete support for this format, leading to another extendeddiscussion. There is one difference this time around, though: the effortto get rid of a.out support might just succeed.
Security updates for Thursday
Security updates have been issued by Debian (php-twig), Mageia (abcm2ps, libpano13, and pesign), openSUSE (nextcloud and xen), Oracle (kernel, kernel-container, and openssl), SUSE (java-1_7_1-ibm and xen), and Ubuntu (linux-oem-5.14, openvpn, and thunderbird).
[$] LWN.net Weekly Edition for March 24, 2022
The LWN.net Weekly Edition for March 24, 2022 is available.
[$] A method for replacing Python tuple entries
A recent discussion on the python-ideas mailing list gives some insightinto how to—or how not to—propose a feature to be added to the language. At firstblush, adding a method to Python's immutable tupletype for replacing one of its elements is not a particularly strange idea,nor one that would cause much in the way of backward-compatibilityconcerns. Even though there was some evidence offered that such a method might beuseful, it seems pretty unlikely that the idea will go anywhere, at leastin part because of the repetitive, bordering on aggressive, manner in which itsbenefits were argued.
GNOME 42 released
Version 42 of the GNOME desktop environment is out.
...52535455565758596061...