Language Selection

English French German Italian Portuguese Spanish

Linux 5.10-rc1

Filed under
Linux

Two weeks have passed, and the merge window is over. I've tagged and
pushed out 5.10-rc1, and everything looks fairly normal.

This looks to be a bigger release than I expected, and while the merge
window is smaller than the one for 5.8 was, it's not a *lot* smaller.
And 5.8 was our biggest release ever.

I'm not entirely sure whether this is just a general upward trend (we
did seem to plateau for a while there), or just a fluke, or perhaps
due to 5.9 dragging out an extra week. We will see, I guess.

That said, things seem to have gone fairly smoothly. I don't see any
huge red flags, and the merge window didn't cause any unusual issues
for me. Famous last words..

The most interesting - to me - change here is Christoph's setf_fs()
removal (it got merged through Al Viro, as you can see in my mergelog
below).  It's not a _huge_ change, but it's interesting because the
whole model of set_fs() to specify whether a userspace copy actually
goes to user space or kernel space goes back to pretty much the
original release of Linux, and while the name is entirely historic (it
hasn't used the %fs segment register in a long time), the concept has
remained. Until now.

We still do have "set_fs()" around, and not every architecture has
been converted to the new world order, but x86, powerpc, s390 and
RISC-V have had the address space overrides removed, and all the core
work is done. Other architectures will hopefully get converted away
from that very historic model too, but it might take a while to get
rid of it all.

Anyway, to most people that all shouldn't matter at all, and it's
mainly a small historical footnote that 5.10 no longer relies on the
whole set_fs() model. Most of the actual changes are - as usual -
driver updates, but there are changes all over. I think the merge log
below gives some kind of flavor of what's been going on on a high
level, but if you're interested in the details go look at the git
tree. As mentioned, it's a big merge window, with  almost 14k commits
(*) by closer to 1700 people.

Please go test,

                  Linus

(*) closer to 15k commits if you count merges.

Read more

Also: Linux 5.10-rc1 Released With New Hardware Support, Security Additions

Now in LWN

Two more

  • Linus Torvalds Announces First Linux Kernel 5.10 Release Candidate

    As expected, Linus Torvalds announced the first Release Candidate (RC) of the upcoming Linux 5.10 kernel series, which looks to be yet another big release with almost 14k commits, but not as big as Linux kernel 5.8 was. However, Linus Torvalds assures us that the merge window didn’t cause any unusual issues and things went “fairly smoothly.”

    The most interesting change in Linux kernel 5.10 appears to be the removal of setf_fs() function, which was used to set the FS segment register of an x86 processor. For now, it was only removed from the x86, PowerPC, s390, and RISC-V architectures, with the rest to follow soon.

  • Linux 5.10 finally ditches decades-old tool that caused security bugs

    Linus Torvalds has kicked off yet another development cycle for the Linux kernel, announcing the release of 5.10-rc1, and this time with an historical twist. The new version of the kernel effectively marks the end of a decade-old feature that has long been made redundant after it was found to cause security bugs.

    With the closing of the two-week-long merge window, which precedes the release of every new iteration of the Linux kernel, Torvalds shared his reflections on the Linux kernel mailing list, maintaining that "things seem to have gone fairly smoothly".

Linux 5.10 rc1 Released as Long Term Support Kernel

  • Linux 5.10 rc1 Released as Long Term Support Kernel - debugpoint.com

    This is the first release candidate for Kernel 5.10 and we expect more RCs until the final release in December.

    Linux Kernel 5.10 brings mostly driver updates and as usual, processor supports, performance improvements across storage, and networking modules.

    This Rc1 concludes the Merge window for this release. It adds around 14k commints.

Linus Torvalds hails 'historic' Linux 5.10...

  • Linus Torvalds hails 'historic' Linux 5.10 for ditching defunct addressing artefact

    Linus Torvalds has given the world the first release candidate of version 5.10 of the Linux kernel and called out what he's labelled an historic change – the removal of an addressing tool that appears to have been around for nearly 30 years, sparked a nasty bug a decade ago but has since been made redundant by chipmakers.

    That scheme is called set_fs() and allows the Linux kernel to override address spaces, which was a handy thing to do with Intel's 286 and 386 CPUs.

    As Torvalds explained in his weekly kernel update, set_fs() controls "whether a userspace copy actually goes to user space or kernel space". That matters because, as was detailed in 2010 in CVE-2010-4258, it could be used to "overwrite arbitrary kernel memory locations, and gain privileges".

More news coverage

  • Linux 5.10 is a bigger kernel release than expected and sees the removal of setf_fs()

    With first release candidate of version 5.10 of the Linux kernel now available, Linus Torvalds says that it "looks to be a bigger release" than he expected.

    Linux kernel 5.10-rc1 includes 14-15,000 merge commits -- depending on how you count them -- Torvalds notes in his weekly update to the Linux community. He shares the news that, for him, the most interesting change in this release is the removal of the setf_fs() addressing tool.

  • Linux 5.10 will deliver 'historic' upgrade

    The creator of Linux has hailed the "historic" launch of the latest update as one of the most important in the software's history.

    Linus Torvalds said that the release of Linux 5.10 was, "a bigger release than I expected", and could surpass version 5.8 to be the biggest software launch for the company yet.

    The launch looks to make the open-source software platform more powerful and easier to use than ever before, offering a number of new additions, upgrades and features for users across the globe.

Torvalds hails the removal of a relic from Linux’s early days

  • Torvalds hails the removal of a relic from Linux’s early days

    Set_fs() has been the source of various security problems over the years. Jonathan Corbet, a kernel contributor and editor of Linux news site LWN, published an article in 2017 titled ‘A farewell to set_fs()?’ in which he highlighted some of the aforementioned issues.

    “Set_fs() is clearly the sort of interface that can easily create severe security bugs,” Corbet wrote. “It is also a tempting shortcut that tends to find its way into code of questionable quality such as out-of-tree drivers.”

    The function has been part of Linux since around 1991 and enabled the kernel to override address spaces. In 2010, the National Institute of Standards and Technology detailed how it could be used to “overwrite arbitrary kernel memory locations and gain privileges”.

    That particular bug was fixed in 2010 but set_fs() has continued to be a concern and many within the community have called for its removal for many years. However, there’s a lack of developers willing to do such deep infrastructural changes.

    Other notable changes in the release include support for NVIDIA Orin SoCs designed for autonomous cars, improved support for the Broadcom BCM2711 chip used in the Raspberry Pi 4, support for upcoming Arm-based CPUs and GPUs, a fix for the ‘Year 2038 Problem’, virtualisation tweaks, and ending support for PowerPC 601 CPUs.

Linux 5.10 Released: Bigger Kernel Release Than Expected

  • Linux 5.10 Released: Bigger Kernel Release Than Expected

    Linus Torvalds this week announced the first release candidate of version 5.10 of the Linux kernel (Linux 5.10-rcl), a release that also marks the end of the feature merge window for this EOY 2020 kernel. Version 5.10 should debut as stable by mid-December. This kernel will then be maintained under the Linux long-term support (LTS) program.

    "This looks to be a bigger release than I expected," Torvalds said on the Linux kernel mailing list, "and while the merge window is smaller than the one for 5.8 was, it's not a lot smaller.
    And 5.8 was our biggest release ever."

    The merging window is a key part of the new kernel release process. Up to 1,000 patches are submitted by the developer community and merged every day into the mainline repository managed by Torvalds. A review process ensures that each patch implements a desirable change.

    Linux 5.9 to 5.10-rc1 added about 704k lines of new code and approximately 419k lines were deleted. By comparison, Linux 5.8 to 5.9-rc1 had 727k lines added and 270k deletions, and 5.7 to 5.8-rc1 had 973k lines added and 429k deletions (that was largest ever).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Android Leftovers

Devices/Embedded: MiTAC, Raspberry Pi and ESP32/Arduino

  • Fanless Linux embedded system makes a compact IoT gateway

    ICP Germany has recently introduced the MiTAC ME1-8MD series family of compact, fanless Linux embedded systems powered by NXP i.MX 8M processor and designed to be used as IoT gateways, data acquisition and processing systems, and mini servers. Three models have been launched with a choice of dual or quad-core processors, up to 4GB LPDDR4 RAM, and 32GB eMMC flash storage. The embedded computers also come with up to two Ethernet ports, support up to two displays, and include an internal Raspberry Pi compatible 40 pin GPIO header.

  • Official Raspberry Pi 4 case fan adds cooling to Raspberry Pi 4 case

    When the Raspberry Pi Foundation first introduced the Raspberry Pi 4, they claimed the board would work just fine under most cases without a heatsink, and the latter was only really needed under load. That may have been true when using the board in a temperate climate like in the United Kingdom, but then Raspberry Pi 4 met Thailand with some benchmarks results lower than on a Raspberry Pi 3. People using plastic enclosures had even more troubles. It’s only when I installed a heatsink on Raspberry Pi 4 that the board could really shine. The company also provided some firmware optimizations later on to further cool-down the board. But you can only do much with software, and many third-party cooling solutions such as fansinks or metal cases have been introduced for the popular SBC.

  • Pi-oT 2 IoT module adds 24V digital inputs, RS-485, and UPS to Raspberry Pi (Crowdfunding)

    Pi-oT was launched last year as a Raspberry Pi add-ons designed for commercial and industrial IoT automation. It features 5V I/Os, relays, and ADC inputs suitable for light-duty projects and prototyping. The company, called Edge Devices, has now launched an update with Pi-oT 2 adding optional support for 24V digital inputs, RS-485, and an uninterruptible power supply (UPS).

  • M5Paper ESP32 IoT development kit features a 4.7-inch e-Ink touchscreen display

    M5Stack has just launched its unique and latest core device with a touchscreen e-Ink display. M5Paper ESP32 IoT Development Kit is a fully programmable microcontroller-based platform that can be an ideal choice for your IoT applications. This low-power device could suit such purposes as an industrial controller or smart weather display.

today's howtos

  • Enable Timestamp For History Command In Fish Shell - OSTechNix

    Whenever a command is entered in the terminal, it will be saved at the end of the history file in Linux. You can easily retrieve these commands at any time using history command. The shell is also tracking the timestamp of all command entries, so that we can easily find when a specific command is executed. We already have shown you how to enable timestamp in Bash and Zsh shells. Today we will see how to enable timestamp for history command in Fish shell in Linux. In addition, we will also learn how to create a simple function to show the date and time stamps in history command output in fish shell.

  • Linux: How To Encrypt And Decrypt Files With A Password
  • How to convert pdf to image on Linux command line - nixCraft

    I have many PDF files, and I need to convert them to a png file format, add a border to those images, and convert back all those images to pdf format. How can I convert pdf to image format on Linux and vice versa using the CLI?

  • How To Install PHP 8 on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install PHP 8 on Ubuntu 20.04 LTS. For those of you who didn’t know, PHP (recursive acronym for PHP: Hypertext Preprocessor) is a popular server scripting language known for creating dynamic and interactive Web pages. PHP is a widely-used programming language on the Web. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation of PHP 8 on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian based distribution like Linux Mint.

  • How to Restrict WordPress Site Access - Anto Online

    A lot of the time, you need to restrict access to various users on your website. Whether you’re cordoning premium content, sensitive pages, or content targeted to specific individuals, there are various ways you can restrict user access easily and effectively on your WordPress website. The easiest method is using plugins that you can just download and link with your website. If you have coding skills, you can also edit various functions to achieve the same thing. We shall also take a look at how you can restrict site managers with various levels of access. Whatever kind of site restrictions you need to accomplish, stick with us and we will help you do it.

Linux Kernel: Greg Kroah-Hartman's Talk and Panics

  • Greg Kroah-Hartman: Lessons for Developers from 20 Years of Linux Kernel Work [Ed: "The Linux Foundation is a sponsor of The New Stack" for the latter to write puff pieces such as these, so it's basically marketing]
  • Greg Kroah-Hartman: 'Don't Make Users Mad'

    Kroah-Hartman explains that one of Linus Torvalds' most deeply-held convictions: don't break userspace. "Other operating systems have this rule as well — it's a very solid rule — because we always want you to upgrade. And we want you to upgrade without worrying about it. We don't want you to feel scared. If you see a new release, and we say, 'Hey, this fixes a bunch of problems,' we don't want you to feel worried about taking that. That's really really important — especially with security...." If you do make a change, make sure there truly is a compelling reason. "You have to provide enough reason and enough goodness to force somebody to take the time to learn to do something else. That's very rare." His example of this was systemd, which unified a variety of service configurations and initialization processes. "They did it right. They provided all the functionality, they solved a real problem that was there. They unified all these existing tools and problems in such a way that it was just so much better to use, and it provided enough impetus that everybody was willing to do the work to modify their own stuff and move to the new model. It worked. People still complain about it, but it worked. Everybody switched... It works well. It solves a real problem. "That was an example of how you can provide a compelling reason to move on — and make the change."

  • What to do in case of a Linux kernel panic

    Linux is used everywhere in the IT world. You've probably used Linux today, even if you didn't realize it. If you have learned anything about Linux, then you know it is indeed a kernel. The kernel is the primary unit of the Linux operating system (OS) and is responsible for communications between a computer's hardware and its processes. In this article, you will learn about one situation related to the Linux kernel: The kernel panic. The term itself can make you panic, but if you have the proper knowledge, then you can remain calm. Every system admin faces this issue at least once in their career, but reinstalling the system is not the first solution you should turn to. [...] Now, anytime you see a kernel panic error, you will definitely not panic because you know why this error occurred and how to resolve it. This article covers one of the common Linux boot problems: kernel panic. There are so many other potential boot problems that can occur in Linux, but resolving those issues will become much less of a panic when you gain some advanced knowledge of your system.