Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2025-06-18 04:30
[$] LWN.net Weekly Edition for July 6, 2017
The LWN.net Weekly Edition for July 6, 2017 is available.
[$] Breaking Libgcrypt RSA via a side channel
A recent paper [PDF] bya group of eight cryptography researchers shows, once again, howcryptographic breakthroughs are made. They often start small, with just areduction in the strength of a cipher or key search space, say, but then growover time to reach the point of a full-on breaking of a cipher or theimplementation of one. In this case, the RSAimplementation in Libgcryptfor 1024-bit keys has been fully broken using a side-channelattack against the operation of the library—2048-bit keys are alsosusceptible, but not with the same reliability, at least using this exacttechnique.
Cuoq/Regehr: Undefined Behavior in 2017
Here is a detailed summaryof undefined behavior in C and C++ programs — and the tools that can beused to detect such behavior — by Pascal Cuoq and John Regehr."The state of the art in debugging tools for strict aliasingviolations is weak. Compilers warn about some easy cases, but thesewarnings are extremely fragile. libcrunch warns that a pointer is beingconverted to a type “pointer to thing” when the pointed object is not, infact, a 'thing.' This allows polymorphism though void pointers, but catchesmisuses of pointer conversions that are also strict aliasingviolations."
[$] A little surprise in the Ubuntu motd
At the end of June, Zachary Fouts noticed something on his Ubuntu systemthat surprised him a bit: an entry in the "message of the day" (motd) thatlooked, at least to some, like an advertisement. That is, of course, notwhat anyone expects from their free-software system; it turns out that it wasn't an ad at all,though it was worded ambiguously and could be (and was) interpreted thatway. As the discussion in the bugFouts filed shows, the "ad" came about from a useful feature that mayor not have been somewhat abused—that determination depends on the observer.
Four new stable kernels
Stable kernels 4.11.9, 4.9.36, 4.4.76, and 3.18.60 have been released. All of themcontain important fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (graphite2), Gentoo (icedtea-bin), openSUSE (postgresql94), Red Hat (bind, qemu-kvm, qemu-kvm-rhev, rh-postgresql94-postgresql, and rh-postgresql95-postgresql), Scientific Linux (bind and qemu-kvm), and SUSE (qemu, sudo, and xen).
Oryx Linux 0.2.0 Released
Version 0.2.0 of the Oryx Linux distribution is out."Oryx Linux is an embedded Linux distribution based around the Yocto Projectand OpenEmbedded. It incorporates a lightweight container runtime engine tobring the benefits of containerisation to the embedded sector withoutdisrupting existing developer workflows."
Kuhn: Goodbye To Bob Chassell
On his blog, Bradley Kuhn remembers Bob Chassell, who was an early contributor to free software, after his passing in early July. "I regularly credit Bob as the first Executive Director of the FSF. While he technically never held that title, he served as Treasurer for many years and was the de-facto non-technical manager at the FSF for its first decade of existence. One need only read the earliest issues of the GNU's Bulletin to see just a sampling of the plethora of contributions that Bob made to the FSF and Free Software generally.Bob's primary forte was as a writer and he came to Free Software as a technical writer. Having focused his career on documenting software and how it worked to help users make the most of it, software freedom — the right to improve and modify not only the software, but its documentation as well — was a moral belief that he held strongly. Bob was an early member of the privileged group that now encompasses most people in industrialized society: a non-developer who sees the value in computing and the improvement it can bring to life. However, Bob's realization that users like him (and not just developers) faced detrimental impact from proprietary software remains somewhat rare, even today. Thus, Bob died in a world where he was still unique among non-developers: fighting for software freedom as an essential right for all who use computers."
[$] Some 4.12 development statistics
Linus Torvalds released the 4.12 kernel onJuly 2, marking the end of one of the busiest development cycles in the kernel project'shistory. Tradition requires that LWN publish a look at this kernel releaseand who contributed to it. 4.12 was, in many ways, a fairly normal cycle,but it shows the development community's continued growth.
Security updates for US Independence Day
Security updates have been issued by Arch Linux (bind, qt5-webengine, and systemd), Debian (puppet and sudo), Fedora (drupal7, globus-ftp-client, globus-gass-cache-program, globus-gass-copy, globus-gram-job-manager, globus-gridftp-server, globus-gssapi-gsi, globus-io, globus-net-manager, globus-xio, globus-xio-gsi-driver, globus-xio-pipe-driver, globus-xio-udt-driver, libgcrypt, and myproxy), openSUSE (ffmpeg), Slackware (kernel), SUSE (unrar), and Ubuntu (libgcrypt11, libgcrypt20).
[$] Zero-copy networking
In many performance-oriented settings, the number of times that data iscopied puts an upper limit on how fast things can go. As a result,zero-copy algorithms have long been of interest, even though the benefitsachieved in practice tend to be disappointing. Networking is often performance-sensitive and is definitely dominated bythe copying of data, so an interest in zero-copy algorithms in networkingcomes naturally. A set of patches under review makes that capabilityavailable, in some settings at least.
Security updates for Monday
Security updates have been issued by Arch Linux (libgcrypt and systemd), Debian (apache2, icedove, libgcrypt20, libxml2, and vorbis-tools), Fedora (openvpn, systemd, xen, and zabbix), Mageia (bitlbee and libtiff), openSUSE (kdepim, messagelib, kdepim4, libxml2, and php5), Oracle (kernel), Slackware (glibc and kernel), and SUSE (python-pycrypto, unrar, and xen).
The linux.conf.au 2018 CFP is open
The call for presentations for the 2018 linux.conf.au event is now open."linux.conf.au is one of the best-known community driven Free and Open Source Software conferences in the world. In 2018 we welcome you to join us in Sydney, New South Wales on Monday 22 January through to Friday 26 January." The submission deadline is August 6.
The 4.12 kernel is out
Linus has released the 4.12 kernel.Some of the headline features in 4.12 includethe BFQ and Kyber block I/O schedulers,busy-polling of network sockets in epoll_wait(),the hybridconsistency model for live patching,the trusted execution environmentframework,and more.The KernelNewbies 4.12page is still under construction, but should be filled out in the nearfuture.
[$] Namespaced file capabilities
The kernel's file capabilities mechanism is a bit of an awkward fit withuser namespaces, in that all namespaces have the same view of thecapabilities associated with a given executable file. There is a patch set under consideration that addsawareness of user namespaces to file capabilities, but it has brought forthsome disagreement on how such a mechanism should work. The question is, inbrief: how should a set of file capabilities be picked for any given usernamespace?
Kubernetes 1.7 released
Version1.7 of the Kubernetes orchestration system is out."At-a-glance, security enhancements in this release include encrypted secrets, network policy for pod-to-pod communication, node authorizer to limit kubelet access and client / server TLS certificate rotation. For those of you running scale-out databases on Kubernetes, this release has a major feature that adds automated updates to StatefulSets and enhances updates for DaemonSets. We are also announcing alpha support for local storage and a burst mode for scaling StatefulSets faster."
Security updates for Friday
Security updates have been issued by CentOS (freeradius, kernel, and mercurial), Debian (libarchive and mercurial), Fedora (chromium-native_client, systemd, and tomcat), Mageia (drupal, golang, libmwaw, libsndfile, rxvt-unicode, and tomcat), Oracle (kernel), Slackware (bind, httpd, kernel, and libgcrypt), SUSE (bind, clamav, kernel, and openvpn-openssl1), and Ubuntu (bind9, eglibc, and linux-hwe).
4 cool facts you should know about FreeDOS (Opensource.com)
In honor of the 23rd anniversary of FreeDOS, project founder Jim Hall has written about the project over at Opensource.com. The free MS-DOS replacement has been in around for longer than MS-DOS was and is still under active development. "DOS is an old system and the original didn't support networking out of the box. Typically, you had to install device drivers for your hardware to connect to a network, which was usually a simple network like IPX. Few systems supported TCP/IP.With FreeDOS, not only do we include a TCP/IP networking stack, we include tools and programs that let you browse the web. Use Dillo for a graphical web browser experience, or Lynx to view the web as formatted plain text. If you just want to grab the HTML code and manipulate it yourself, use Wget or Curl."
Containers microconference accepted into Linux Plumbers Conference
A microconference on containers will be featured at this year's Linux Plumbers Conference, which will be held in Los Angeles, CA, US on13-15 September in conjunction with The Linux Foundation Open SourceSummit. "The agenda for this year will focus on unsolved issues and otherproblem areas in the Linux kernel container interfaces with the goal ofallowing all container runtimes and orchestration systems to provideenhanced services. Of particular interest is the unprivileged use ofcontainer APIs in which we can use both to enable self-containerisingapplications as well as to deprivilege (make more secure) containerorchestration systems. In addition we will be discussing the potentialaddition of new namespaces: (LSM for per-container security modules;IMA for per-container integrity and appraisal, file capabilities toallow setcap binaries to run within unprivileged containers)."
Four new stable kernels
Greg Kroah-Hartman has announced the release of the 4.11.8, 4.9.35, 4.4.75, and 3.18.59 stable kernels. As usual, theycontain important fixes and users of those kernel series should upgrade.
Security updates for Thursday
Security updates have been issued by Arch Linux (apache and libnl), CentOS (mercurial), Debian (drupal7), Fedora (c-ares), Oracle (freeradius and kernel), Scientific Linux (kernel), SUSE (php53 and xen), and Ubuntu (kernel, linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon, linux, linux-raspi2, linux-lts-trusty, and linux-lts-xenial).
[$] LWN.net Weekly Edition for June 29, 2017
The LWN.net Weekly Edition for June 29, 2017 is available.
[$] Distributing filesystem images and updates with casync
Recently, Lennart Poettering announceda new tool called casync for efficiently distributing filesystem and diskimages. Deployment of virtual machines or containers often requires suchan image to be distributed for them. These images typically contain mostor all of an entire operating system and its requisite data files; they canbe quite large. The images also often need updates, which can take upconsiderable bandwidth depending on how efficient the update mechanismis. Poettering developed casync as an efficient tool for distributing suchfilesystem images, as well as for their updates.
[$] An introduction to asynchronous Python
In his PyCon 2017 talk, MiguelGrinberg wanted to introduce asynchronous programming with Python tocomplete beginners. There is a lot of talk about asynchronous Python,especially with the advent of theasyncio module, but there are multiple ways to createasynchronous Python programs, many of which have been available for quitesome time. In the talk, Grinberg took something of a step back from theintricacies of those solutions to look at what asynchronous processingmeans at a higher level.
The mkosi OS generation tool
Last week Lennart Poettering introducedcasync, a tool for distributing system images. This week he introducesmkosi, a tool for making OS images. "mkosi is definitely a tool with a focus on developer's needs for building OS images, for testing and debugging, but also for generating production images with cryptographic protection. A typical use-case would be to add a mkosi.default file to an existing project (for example, one written in C or Python), and thus making it easy to generate an OS image for it. mkosi will put together the image with development headers and tools, compile your code in it, run your test suite, then throw away the image again, and build a new one, this time without development headers and tools, and install your build artifacts in it. This final image is then "production-ready", and only contains your built program and the minimal set of packages you configured otherwise. Such an image could then be deployed with casync (or any other tool of course) to be delivered to your set of servers, or IoT devices or whatever you are building."
[$] Ripples from Stack Clash
In one sense, the Stack Clash vulnerabilitythat was announced on June 19 has not had a huge impact: thus far, atleast, there have been few (if any) stories of active exploits in thewild. At other levels, though, this would appear to be an importantvulnerability, in that it has raised a number of questions about how thecommunity handles security issues and what can be expected in the future.The indications, unfortunately, are not all positive.
Security updates for Wednesday
Security updates have been issued by Debian (kernel and openvpn), Mageia (docker, libetpan, weechat, and yodl), Oracle (mercurial), Scientific Linux (freeradius), SUSE (kernel), and Ubuntu (systemd).
[$] CentOS and ARM
The CentOS distribution has long beena boon to those who want an enterprise-level operating system without anenterprise-level support contract—and the costs that go with it. Inkeeping with its server orientation, CentOS has been largely focused onx86 systems, but that has been changing over the last fewyears. Jim Perrin has been with the project since 2004 and his talk at OpenSource Summit Japan (OSSJ) described the process of making CentOSavailable for the ARM server market; he also discussed the status of thatproject and some plans for the future.
GitHub announces Open Source Friday
GitHub has announceda new program that aims to make it easier for people to contribute to opensource projects. "Open Source Friday isn't limited toindividuals. Your team, department, or company can take part,too. Contributing to the software you already use isn't altruistic—it's aninvestment in the tools your company relies on. And you can always startsmall: spend two hours every Friday working on an open source projectrelevant to your business. Whether you're an aspiring contributor or activemaintainer of open source software, we help you track and share your Fridaycontributions. We also provide a framework for regular contribution, alongwith resources to help you convince your employers to join in."
Security updates for Tuesday
Security updates have been issued by Arch Linux (expat and poppler), Debian (unrar-nonfree and vlc), Fedora (chromium and mercurial), Gentoo (freeradius, kauth, and libreoffice), Mageia (glibc, irssi, kernel, kernel-linus, kernel-tmb, and rpcbind/libtirpc), openSUSE (libgcrypt, netpbm, and sudo), Oracle (sudo), Scientific Linux (mercurial), Slackware (kernel), SUSE (jakarta-taglibs-standard, kernel, and kernel-source), and Ubuntu (apache2).
[$] daxctl() — getting the other half of persistent-memory performance
Persistent memory promises high-speed, byte-addressable access to storage,with consequent benefits for all kinds of applications. But realizing thosebenefits has turned out to present a number of challenges for the Linuxkernel community. Persistent memory is neither ordinary memory norordinary storage, so traditional approaches to memory and storage are not always well suitedto this new world. A proposal for a new daxctl() system call,along with the ensuing discussion, shows how hard it can be to get the mostout of persistent memory.
Intel Skylake/Kaby Lake processors: broken hyper-threading
Henrique de Moraes Holschuh has posted an advisory about a processor/microcodedefect recently identified on Intel Skylake and Intel Kaby Lake processorswith hyper-threading enabled. "TL;DR: unfixed Skylake and Kaby Lakeprocessors could, in some situations, dangerously misbehave whenhyper-threading is enabled. Disable hyper-threading immediately inBIOS/UEFI to work around the problem. Read this advisory for instructionsabout an Intel-provided fix."
Stable kernel updates
Greg Kroah-Hartman has released stable kernels 4.4.74 and 3.18.58. Both contain the usual set ofimportant fixes and users should upgrade.
Security updates for Monday
Security updates have been issued by Arch Linux (kernel, linux-zen, and tcpreplay), Debian (drupal7, exim4, expat, imagemagick, and smb4k), Fedora (chromium, firefox, glibc, kernel, openvpn, and wireshark), Mageia (mercurial and roundcubemail), openSUSE (kernel, libmicrohttpd, libqt5-qtbase, libqt5-qtdeclarative, openvpn, and python-tablib), Scientific Linux (sudo), and SUSE (firefox).
Kernel prepatch 4.12-rc7
The 4.12-rc7 kernel prepatch is out."It's fairly small, and there were no huge surprises, so if nothinguntoward happens this upcoming week, this will be the final rc. But asusual, I reserve the right to just drag things out if I end up feelinguncomfortable about things for any reason including just random gutfeelings, so we'll see."
Stable kernels 4.11.7 and 4.9.34
The4.11.7 and4.9.34 stable kernel updates have beenreleased. Among other things, they contain the fixes for the recentlydisclosed "Stack Clash" vulnerability.The 4.4.74, and3.18.58 updates are still in the reviewprocess but should be out in the near future.
[$] ProofMode: a camera app for verifiable photography
The default apps on a mobile platform like Android are familiar targets forreplacement, especially for developers concerned about security. But whilemessaging and voice apps (which can be replaced by Signal and Ostel, forinstance) may be the best known examples, the non-profit Guardian Project has taken up thecause of improving the security features of the camera app. Its latestsuch project is ProofMode, an appto let users take photos and videos that can be verified as authentic bythird parties.
Security updates for Friday
Security updates have been issued by Arch Linux (linux-hardened), CentOS (sudo), Debian (apache2, c-ares, flatpak, graphite2, and openvpn), Fedora (glibc and thunderbird), Gentoo (graphite2, jbig2dec, libksba, nettle, urbanterror, and vim), openSUSE (go and unrar), Oracle (sudo), SUSE (tomcat), and Ubuntu (openvpn).
digiKam 5.6.0 is released
The digiKam Team has releasedversion 5.6.0 of the digiKam Software Collection for photo management. "With this version the HTML gallery and the video slideshow tools are back, database shrinking (e.g. purging stale thumbnails) is also supported on MySQL, grouping items feature has been improved, the support for custom sidecars type-mime have been added, the geolocation bookmarks introduce fixes to be fully functional with bundles, the support for custom sidecars, and of course a lots of bug has been fixed."
Security updates for Thursday
Security updates have been issued by Arch Linux (lxterminal, lxterminal-gtk3, openvpn, and pcmanfm), CentOS (thunderbird), Debian (jython, spip, tomcat7, and tomcat8), openSUSE (openvpn), Oracle (thunderbird), Slackware (openvpn), SUSE (openvpn), and Ubuntu (kernel, linux-lts-trusty, nss, and valgrind).
[$] LWN.net Weekly Edition for June 22, 2017
The LWN.net Weekly Edition for June 22, 2017 is available.
[$] Specifying the kernel ABI
At OpenSource Summit Japan (OSSJ)—OSS is the new name for LinuxCon,ContainerCon, and CloudOpen—Sasha Levin gave a talk on the kernel'sapplication binary interface (ABI). There is an effort to create a kernelABI specification that has its genesis in a discussion about fuzzers at the 2016 Linux Plumbers Conference. Sincethat time, some progress on it has been made, so Levin described what the ABI is and thebenefits that would come from having a specification. He also coveredwhat has been done so far—and thethe extensive work remaining to be done.
Vranken: The OpenVPN post-audit bug bonanza
Guido Vranken describeshis efforts to fuzz-test OpenVPN and the bug reports that resulted."Most of this issues were found through fuzzing. I hate admitting it,but my chops in the arcane art of reviewing code manually, acquired throughgrueling practice, are dwarfed by the fuzzer in one fell swoop; themortal’s mind can only retain and comprehend so much information at a time,and for programs that perform long cycles of complex, deeply nestedoperations it is simply not feasible to expect a human to perform anencompassing and reliable verification."
[$] Memory use in CPython and MicroPython
At PyCon 2017, Kavya Joshi lookedat some of the differences between the Python reference implementation(known as "CPython") andthat of MicroPython. In particular,she described the differences in memory use and handling between the two.Those differences are part of what allows MicroPython to run on the severely memory-constrainedmicrocontrollers it targets—an environment that could never support CPython.
A Stack Clash disclosure post-mortem
For those who are curious about how the community deals with a seriousvulnerability, Solar Designer's description of the embargo process aroundthe "Stack Clash" issue (and his unhappiness with it) is wortha read. "Qualys first informed the distros list about this upcoming set of issueson May 3. This initial notification didn't say Stack Clash nor anythinglike that, but merely expressed intent to disclose the issues andconcern that the list's maximum embargo duration of 14 to 19 days mightnot be sufficient in this case. In the resulting discussion, I agreedto consider extending the embargo beyond list policy should there beconvincing reasons for that. In retrospect, I think I shouldn't haveagreed to that."
Opus 1.2 released
Version 1.2 of the Opus audio codec has been released. "For music encoding Opus has already been shown to out-perform other audio codecs at both 64 kb/s and 96 kb/s. We originally thought that 64 kb/s was near the lowest bitrate at which Opus could be useful for streaming stereo music. However, with variable bitrate (VBR) improvements in Opus 1.1, suddenly 48 kb/s became a realistic target. Opus 1.2 continues on the path to lowering the bitrate limit. Music at 48 kb/s is now quite usable and while the artefacts are generally audible, they are rarely annoying. Even more, we've actually been pushing all the way to fullband stereo at just 32 kb/s!Most of the music encoding quality improvements in 1.2 don't come from big new features (like tonality analysis that got added to version 1.1), but from many small changes that all add up."
D Language accepted for inclusion in GCC
In a brief note to the GCC list, David Edelson announces: "I ampleased to announce that the GCC Steering Committee has accepted the DLanguage front-end and runtime for inclusion in GCC and appointed IainBuclaw as maintainer."
Security updates for Wednesday
Security updates have been issued by CentOS (kernel), Debian (libffi, swftools, tomcat7, and zziplib), Gentoo (chromium, glibc, kodi, mbedtls, and wget), openSUSE (glibc and kernel), Oracle (kernel), Scientific Linux (thunderbird), and SUSE (kernel, sudo, and tomcat6).
Raffeiner: My Ubuntu for mobile devices post mortem analysis
Simon Raffeiner describesin detail the reasons he sees for the failure of the Ubuntu phoneproject. "I understand there weren’t enough developers to fix everything atonce, but instead of deciding to either make a good phone OR a good tabletwith Convergence, we had devices which couldn’t really do anythingright. The whole project also always always had this 'these are developerdevices, it’s not important to do it fast, we will win in the long run' airaround it – until the management quite obviously realised that this was allway too expensive and too much time had already been lost."
Free and ready-to-use cross-compilation toolchains
Free Electrons has announceda new service to the embedded Linux community: toolchains.free-electrons.com."This web site provides a large number of cross-compilationtoolchains, available for a wide range of architectures, in multiplevariants. The toolchains are based on the classical combination of gcc,binutils and gdb, plus a C library." There are over 100 toolchainscovering many architectures.
...161162163164165166167168169170...