Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-22 12:30
JDK 21 released
JDK 21, the reference implementation of the Java 21 language specification,hasbeen released. "This release includes fifteen JEPs [1], includingthe final versions of Record Patterns (440), Pattern Matching for switch(441), and Virtual Threads (444)".
Four stable kernels released
The6.5.4,6.1.54,5.15.132, and5.10.195stable kernel updates have been released; each contains a relatively largeset of important fixes.
[$] The European Cyber Resilience Act
The security of digital products has become a topic of regulationin recent years. Currently, the European Union is moving forwardwith another new law, which, if it comes into effect in a formclose to the current draft, will affect software developers worldwide.This new proposal, called the "CyberResilience Act" (CRA), brings mandatory security requirements on alldigital products, both softwareand hardware, that are available in Europe. While it aims at a worthy goal, theproposal is causing a stir among open-source communities.
Forty years of GNU
The Free Software Foundation looksforward to the 40th anniversary of the GNU project, coming soon:
Security updates for Tuesday
Security updates have been issued by Debian (chromium, flac, gnome-shell, libwebp, openjdk-11, and xrdp), Fedora (giflib), Oracle (kernel), Red Hat (busybox, dbus, firefox, frr, kpatch-patch, libwebp, open-vm-tools, and thunderbird), Slackware (netatalk), SUSE (flac, gcc12, kernel, libeconf, libwebp, libxml2, and thunderbird), and Ubuntu (binutils, c-ares, libraw, linux-intel-iotg, nodejs, python-django, and vsftpd).
[$] Moving physical pages from user space
Processes in a Linux system run within their own virtual address spaces.Their virtual addresses map to physical pages provided by the hardware, butthe kernel takes pains to hide the physical addresses of those pages;processes normally have no way of knowing (and no need to know) where theirmemory is located in physical memory. As a result, the system calls formemory management also deal in virtual addresses. Gregory Price iscurrently trying to create an exception to this rule with aproposal for a new system call that would operate on memory using physicaladdresses.
Security updates for Monday
Security updates have been issued by Debian (firefox-esr, libwebp, and thunderbird), Fedora (chromium, curl, flac, libtommath, libwebp, matrix-synapse, python-matrix-common, redis, and rust-pythonize), Gentoo (binwalk, ghostscript, python-requests, rar, samba, and wireshark), Oracle (.NET 6.0, kernel, and kernel-container), Slackware (python3), and SUSE (firefox).
Kernel prepatch 6.6-rc2
The 6.6-rc2 kernel prepatch is out fortesting.
The Debian Project mourns the loss of Abraham Raji
The Debian project is mourning Abraham Raji, who died in an accident on September13.
[$] Shrinking shrinker locking overhead
Much of the kernel's performance is dependent on caching - keeping usefulinformation around for future use to avoid the cost of looking it up again.The kernel aggressively caches pages of file data, directory entries,inodes, slab objects, and much more. Without active measures, though,caches will tend to grow without bounds, leading to memory exhaustion. Thekernel's "shrinker" mechanism exists to be that active measure, butshrinkers have some performance difficulties of their own. Thispatch series from Qi Zheng seeks to address one of the worst of thoseby removing some locking overhead.
Security updates for Friday
Security updates have been issued by Debian (c-ares and samba), Fedora (borgbackup, firefox, and libwebp), Oracle (.NET 6.0 and kernel), Slackware (libwebp), SUSE (chromium and firefox), and Ubuntu (atftp, dbus, gawk, libssh2, libwebp, modsecurity-apache, and mutt).
PostgreSQL 16 released
Version 16of the PostgreSQL database manager has been released.
Videos from FOSSY released (Software Freedom Conservancy)
The Software Freedom Conservancy(SFC) has announcedthe availability of videos from thefirst-ever Free and Open Source Yearly(FOSSY) conference, which was held in July in Portland, Oregon in the US.
[$] Why glibc's fstat() is slow
The fstat()system call retrieves some of the metadata - owner, size, protections,timestamps, and so on - associated with an open file descriptor. One mightnot think of it as a performance-critical system call, but there areworkloads that make a lot of fstat() calls; it is not somethingthat should be slowed unnecessarily. As it turns out, though, the GNU CLibrary (glibc) has been doing exactly that, but a fix is in the works.
Security updates for Thursday
Security updates have been issued by Debian (firefox-esr, libwebp, ruby-loofah, and ruby-rails-html-sanitizer), Fedora (open-vm-tools and salt), Oracle (.NET 7.0, dmidecode, flac, gcc, httpd:2.4, keylime, libcap, librsvg2, and qemu-kvm), Red Hat (.NET 6.0 and .NET 7.0), Slackware (libarchive and mozilla), SUSE (chromium and kernel), and Ubuntu (curl, firefox, ghostscript, open-vm-tools, postgresql-9.5, and thunderbird).
[$] LWN.net Weekly Edition for September 14, 2023
The LWN.net Weekly Edition for September 14, 2023 is available.
[$] The bogus CVE problem
The "Common Vulnerabilities andExposures" (CVE) system was launched late in the previous century (September1999) to track vulnerabilities insoftware. Over the years since, it has had a somewhat checkeredreputation, along with some some attempts toreplace it, but CVE numbers are still the only effective way to trackvulnerabilities. While that can certainly be useful, theCVE-assignment (and severity scoring) process is not without its problems.The prominence of CVE numbers, and the consequent increase in "reputation" for a reporter, have combined to create a system that canbe-and is-actively gamed. Meanwhile, the organizations that oversee thesystem are ultimately not doing a particularly stellar job.
Stable kernels 6.5.3, 6.4.16, and 6.1.53
The6.5.3,6.4.16, and6.1.53stable kernel updates have been released; each contains a large number ofimportant fixes. Note that the 6.4.x line ends with 6.4.16.
Security updates for Wednesday
Security updates have been issued by Debian (e2guardian), Fedora (libeconf), Red Hat (dmidecode, kernel, kernel-rt, keylime, kpatch-patch, libcap, librsvg2, linux-firmware, and qemu-kvm), Slackware (mozilla), SUSE (chromium and shadow), and Ubuntu (cups, dotnet6, dotnet7, file, flac, and ruby-redcloth).
A GCC -fstack-protector vulnerability on arm64
The GCC stack-protector feature detects stack-based buffer overruns byputting a canary value on the stack and noticing if that value is changed.Itturns out, though, that dynamically allocated local variables (such asvariable-length arrays and space obtained with alloca()) areplaced beyond the canary, so overflows of those variables will not bedetected. As a result, arm64 binaries built with vulnerable versions ofGCC are not as protected as they should be and need to be rebuilt.
[$] Arduino: open source for microcontroller boards
Arduino has emerged as one of theprime success stories of the open-hardware movement. In recent years, thecompany has shifted its focus toward Internet of Things (IoT)applications. As part of this transformation, it has completely redesignedits open-source integrated development environment (IDE), adding a moreprofessional feature set for its hobbyist target audience. If you haveexperimented with Arduino in the past, but have lost track of itsprogress, now might be a good time to give it another try.
Password-stealing Linux malware served for 3 years and no one noticed (Ars Technica)
Ars Technica reports on a credential-stealing Trojan horse that would infect only some of those who installed the "Free Download Manager". The article is based on a Kaspersky report that details the malicious payload offered up at that site from 2020 to 2022.
Security updates for Tuesday
Security updates have been issued by Debian (node-cookiejar and orthanc), Oracle (firefox, kernel, and kernel-container), Red Hat (flac and httpd:2.4), Slackware (vim), SUSE (python-Django, terraform-provider-aws, terraform-provider-helm, and terraform-provider-null), and Ubuntu (c-ares, curl, linux-azure, linux-azure-5.15, linux-azure-fde, linux-azure-fde-5.15, linux-raspi, and linux-ibm, linux-ibm-5.4).
[$] The rest of the 6.6 merge window
Linus Torvalds released6.6-rc1 and closed the 6.6 merge window on September10. At thatpoint, 12,230 non-merge changesets had been pulled into the mainlinerepository, which is exactly 500 more than were pulled for 6.5 at this stagein the cycle. Over 7,000 of those changes were pulled after our first-half summary was written; theybrought a fair amount of new functionality with them. Read on for anoverview of those changes.
Security updates for Monday
Security updates have been issued by Debian (frr, kernel, libraw, mutt, and open-vm-tools), Fedora (cjose, pypy, vim, wireshark, and xrdp), Gentoo (apache), Mageia (chromium-browser-stable, clamav, ghostscript, librsvg, libtiff, openssl, poppler, postgresql, python-pypdf2, and unrar), Red Hat (flac), SUSE (firefox, geoipupdate, icu73_2, libssh2_org, rekor, skopeo, and webkit2gtk3), and Ubuntu (linux-azure, linux-azure-4.15, linux-azure-5.4, linux-gcp-5.4, linux-gkeop, linux-raspi, linux-raspi-5.4, linux-xilinx-zynqmp, linux-gcp, linux-gcp-6.2, linux-ibm, linux-oracle, linux-starfive, linux-gcp-5.15, linux-gkeop-5.15, and opendmarc).
Kernel prepatch 6.6-rc1
Linus has released 6.6-rc1 and closed themerge window for this release.
Benjamin: Towards a new SymPy
In a series of posts on his blog, Oscar Benjamin looks at SymPy, which is a Python-based symbolic-mathematics library. In the first article, he outlines the "big changes for SymPy with particular focus on speed". The second covers polynomial handling; subsequent articles will examine other pieces of the puzzle.
[$] Prerequisites for large anonymous folios
The work to add support for large anonymousfolios to the kernel has been underway for some time, but this featurehas not yet landed in the mainline. The author of this work, Ryan Roberts,has been trying to get a handle on what the remaining obstacles are so hecan address them. On September6, an online meeting ofmemory-management developers discussed that topic and made some progress;there is still some work to do, though, before large anonymous folios cango upstream.
Security updates for Friday
Security updates have been issued by Debian (chromium, libssh2, memcached, and python-django), Fedora (netconsd), Oracle (firefox and thunderbird), Scientific Linux (firefox), SUSE (open-vm-tools), and Ubuntu (grub2-signed, grub2-unsigned, shim, and shim-signed, plib, and python2.7, python3.5).
Google bakes a user-tracking ad platform directly into Chrome (ars technica)
Thisars technica article looks at the widespread deployment of Google's"privacy sandbox" in the Chrome browser:
Ubuntu to add TPM-backed full-disk encryption
The Ubuntu blog has adetailed article on plans to add full-disk encryption, with the keystored in the system's trusted platform module (TPM), to the desktopdistribution.
[$] Replacing openSUSE Leap
OpenSUSE Leap is a hybriddistribution; it is based on SUSE's enterprise distribution (SLE), whichfollows the "slow and stable" approach, but adds a number of newer packageson top. Leap is intended to be a desktop-oriented distribution with a stableand reliable base. As SUSE transitions away from its traditionalenterprise distribution toward its "AdaptableLinux Platform" (ALP), though, the stable base upon which openSUSE Leapis built is going away. The openSUSE community is currently discussing howthe project should respond.
Security updates for Thursday
Security updates have been issued by Fedora (erofs-utils, htmltest, indent, libeconf, netconsd, php-phpmailer6, tinyexr, and vim), Red Hat (firefox), and Ubuntu (linux-aws, linux-aws-5.15, linux-ibm-5.15, linux-oracle, linux-oracle-5.15, linux-azure, linux-azure-fde-5.15, linux-gke, linux-gkeop, linux-intel-iotg-5.15, linux-raspi, linux-oem-6.1, linux-raspi, linux-raspi-5.4, shiro, and sox).
[$] LWN.net Weekly Edition for September 7, 2023
The LWN.net Weekly Edition for September 7, 2023 is available.
Four stable kernel releases
The6.5.2,6.4.15,6.1.52, and5.15.131stable kernels have been released; each contains another set of importantfixes.
[$] Altering Python attribute handling for modules
A recent discussion on the Python forum looked at a way toprotect module objects (and users) from mistaken attribute assignment anddeletion. There are ways to get the same effect today, but the mechanism that would be used causes aperformance penalty for an unrelated, and heavily used, action: attributelookup on modules. Back in2017, PEP562 ("Module __getattr__and __dir__") set the stage for adding magic methods to module objects; nowa new proposal would extend that idea to add __setattr__() and__delattr__() to them.
Mozilla: It’s Official: Cars Are the Worst Product Category We Have Ever Reviewed for Privacy
The Mozilla Foundation has published areport on the data-collection and privacy practices of 25 car brands.
A guide to network performance tuning
Leandro Moreira is maintaining adetailed description of Linux network tuning parameters and how theyall tie together. There is a lot of good information for administratorsseeking a better understanding of how all those knobs work andinteroperate. (Seen on HN).
Security updates for Wednesday
Security updates have been issued by Debian (aom and php7.3), Fedora (freeimage and mingw-freeimage), Scientific Linux (thunderbird), SUSE (amazon-ssm-agent, chromium, container-suseconnect, docker, glib2, php7, python-Django1, and rubygem-rails-html-sanitizer), and Ubuntu (kernel, linux, linux-aws, linux-aws-5.4, linux-gcp, linux-hwe-5.4, linux-ibm, linux-iot, linux-kvm, linux-oracle, linux-oracle-5.4, linux, linux-aws, linux-aws-6.2, linux-hwe-6.2, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-6.2, linux-raspi, linux, linux-aws, linux-aws-hwe, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle, and linux, linux-gcp, linux-hwe-5.15, linux-ibm, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia).
[$] Reducing the bandwidth needs for fwupd
The Linux Vendor Firmware Service (LVFS)provides a repository where vendors can upload firmware updates that can beaccessed by the fwupdfirmware update daemon on Linux systems. That mechanism allows users to keepthe hardware components of their systems up to date with the latest firmwarereleases, but it has gotten so popular that the daily metadata queries are starting to swamp the LVFScontent delivery network (CDN) server. So Richard Hughes, who developedfwupd and LVFS, suggestedthat it would make sense to start looking at ways to reduce that burden;the idea was discussed in a recent thread on the Fedora devel mailing list.
KDE Gear 23.08 Arrived With Plenty of Changes (FOSS Force)
FOSS Force looksat the KDE Gear 23.08 release.
Security updates for Tuesday
Security updates have been issued by Debian (file and thunderbird), Fedora (exercism, libtommath, moby-engine, and python-pyramid), Oracle (cups and kernel), Red Hat (firefox, kernel, kernel-rt, kpatch-patch, and thunderbird), SUSE (amazon-ecs-init, buildah, busybox, djvulibre, exempi, firefox, gsl, keylime, kubernetes1.18, php7, and sccache), and Ubuntu (docker-registry and linux-azure-5.4).
[$] Security topics: io_uring, VM attestation, and random-reseed notifications
The kernel-development community has recently been discussing a number ofindependent patches, each of which is intended to help improve the securityof deployed systems in some way. They touch on a number of areas within thekernel, including the question of how widely io_uring should be available,how to allow virtual machines to attest to their integrity, and the bestway to inform applications when their random-number generators need to bereseeded.
Security updates for Monday
Security updates have been issued by Debian (thunderbird), Fedora (firefox, kernel, kubernetes, and mediawiki), Mageia (openldap), SUSE (terraform), and Ubuntu (atftp, busybox, and thunderbird).
A pile of stable kernel updates
The6.5.1,6.4.14,6.1.51,5.15.130,5.10.194,5.4.256,4.19.294, and4.14.325stable kernel updates have all been released; each contains another set ofimportant fixes.
[$] Race-free process creation in the GNU C Library
The pidfd API has been added to the kernelover the last several years to provide a race-free way for processes torefer to each other. While the GNU C Library (glibc) gainedbasic pidfd support with the 2.36 release in 2022, it still lacks acomplete solution for race-free process creation. Thispatch set from Adhemerval Zanella seems likely to fill that gap in thenear future, though, with an extension to the posix_spawn()API.
Security updates for Friday
Security updates have been issued by Debian (chromium, firefox-esr, and gst-plugins-ugly1.0), Fedora (firefox, libeconf, libwebsockets, mosquitto, and rust-rustls-webpki), SUSE (amazon-ssm-agent, open-vm-tools, and terraform-provider-helm), and Ubuntu (linux-azure, linux-azure, linux-azure-5.15, linux-azure-fde, linux-gcp-5.15, linux-gcp-5.4, linux-oracle-5.4, linux-gkeop, linux-gkeop-5.15, linux-intel-iotg, linux-kvm, linux-oracle, and python-git).
[$] The first half of the 6.6 merge window
As of this writing, 4,588 non-merge changesets have been pulled into themainline repository for the 6.6 kernel release. The 6.6 merge window, inother words, is just getting started. Nonetheless, a fair amount ofsignificant work has already been pulled, so the time has come to summarizewhat has happened so far in this development cycle.
Security updates for Thursday
Security updates have been issued by Debian (firefox-esr, json-c, opendmarc, and otrs2), Red Hat (java-1.8.0-ibm and kpatch-patch), Scientific Linux (kernel), Slackware (mozilla), SUSE (haproxy, php7, vim, and xen), and Ubuntu (elfutils, frr, and linux-gcp, linux-starfive).
[$] LWN.net Weekly Edition for August 31, 2023
The LWN.net Weekly Edition for August 31, 2023 is available.
...23242526272829303132...