|
|
Log in / Subscribe / Register

The 6.8 kernel has been released

Linus has released the 6.8 kernel.

So it took a bit longer for the commit counts to come down this release than I tend to prefer, but a lot of that seemed to be about various selftest updates (networking in particular) rather than any actual real sign of problems. And the last two weeks have been pretty quiet, so I feel there's no real reason to delay 6.8.

Significant changes in this release include the deadline servers scheduling feature, support for memory-management auto-tuning in DAMON, the large anonymous folios feature, the kernel samepage merging advisor, the ability to prevent writes to block devices containing mounted filesystems, the listmount() and statmount() system calls, the first device driver written in Rust, the removal of the (never finished) bpfilter packet-filtering system, three new system calls for managing Linux security modules, support for data-type profiling in the perf tool, guest-first memory for KVM virtualization, the Intel Xe graphics driver, and a lot more. See the LWN merge-window summaries (part 1, part 2) for more information.


to post comments

kernel in the real world...

Posted Mar 11, 2024 12:37 UTC (Mon) by johnjones (guest, #5462) [Link] (14 responses)

this is very nice...

considering that the majority of devices and the ones that are most personal to people going to be running a modern version of the kernel ?

i.e. when and what version is going to be running under the android system ?

the linux kernel testing and infrastructure seem skewed to server deployments when the majority of users are infact mobile users... the chipset vendors could do more and optimise more relatively easily for example they could provide boards to kernel CI and core developers the cost for 600 boards would be minimal to their marketing dept compared to a race car, billboard or linkedin spend but yet....


kernel in the real world...

Posted Mar 11, 2024 14:16 UTC (Mon) by khim (subscriber, #9252) [Link] (11 responses)

Before anything like that may happen “upgrade” should stop being considered a blasphemy word by hardware makers and that wouldn't happen till ones of them would be sent to bancruptcy by fines measure in tens of not hundred billions.

We are very far from that point, so don't hold your breath: as far as hardware makers are concerned kernel upgrade is a sin not even worth talking about.

P.S. The cost of boards is completely irrelevant compared to the other things. There are literally no one who may force hardware makers to upgrade, except for government and governments are not even aware there's anything wrong. Give them time.

kernel in the real world...

Posted Mar 11, 2024 14:49 UTC (Mon) by epa (subscriber, #39769) [Link] (10 responses)

If governments or legislation start forcing hardware makers to upgrade to new kernels, we will very quickly see hardware makers stop using Linux and switch to a different operating system that never publishes new versions (and preferably doesn't accept CVE numbers either).

Of course new versions would come out, but they'd be sold as a different product under a different name, so dodging any legal requirement to update existing devices.

kernel in the real world...

Posted Mar 11, 2024 15:12 UTC (Mon) by khim (subscriber, #9252) [Link] (9 responses)

It would be stupid for governments to demand upgrades of kernel, that's not what people actually need, after all.

Rather governments would stipulate that unpatched vulnerability is always responsibility of the hardware makers (well, like usual they would put it on sellers, but then would permit to punt issues to hardware maker), but it may be punted on maker of the software if hardware makers may demonstrate that they applied all known fixes and problem was still there.

The root cause of the reluctance to upgrade comes from the fact that upgrade may always bring new bugs and issues and the only thing that it provides to hardware maker (the ability to avoid security breaches) have zero value for them, because they could disclaim any warranty for the software provided (even if their hardware is useless without it).

Remove that ability and there would be no need to mandate any upgrades, because these upgrades would suddenly become net positive work and not net negative one.

kernel in the real world...

Posted Mar 11, 2024 19:49 UTC (Mon) by epa (subscriber, #39769) [Link] (7 responses)

That's a saner approach but it still has unintended, or undesirable, consequences. Among them is that all hardware would become locked down to prevent you installing your own OS, or even from deciding not to install the latest updated (unless the law is very carefully designed to avoid liability to the hardware manufacturer in this case, and the manufacturer's lawyers are satisfied of that, and don't simply recommend disabling user choice to be on the safe side).

And if the software maker is not a deep-pocketed legal entity, but a few individuals or "the free software community", then either you transfer liability to these developers or you don't. If the developers are liable, we have all the same legal risks free software advocates have been lobbying hard against in Europe. But if being a free software project lets you avoid legal liability for security breaches, then this is effectively a way for the hardware makers to avoid it too, by only using community-developed free software. Well, I guess that's a rare example of a positive unintended consequence.

kernel in the real world...

Posted Mar 12, 2024 9:18 UTC (Tue) by khim (subscriber, #9252) [Link]

> That's a saner approach but it still has unintended, or undesirable, consequences.

Sure. Every movement, anywhere have intended and unintended consequences.

But that, too, was already tested in physical world: security seal. Make sure that change to software couldn't be done without removing “safety switch”, but when it's removed hardware and software maker is no longer liable. Bam. Done.

It's funny how industry tries so very hard to pretend software is like object when it's beneficial to them (copyrights where it pretends each “software copy” is separate entity, even if “creation of a new copy” is the same as transfer of existing copy somewhere over network), yet insists, for decades, that no-no-no, “it's so very much different” precisely where difference is minimal (warranties, liabilities, etc).

> And if the software maker is not a deep-pocketed legal entity, but a few individuals or "the free software community", then either you transfer liability to these developers or you don't.

Again: look on how physical things are handled. Individuals are never responsible except if they signed a contract. And if someone collects old paper to produce something then there are some company in the middle which takes responsibility (and raises the price, of course).

No doubt the first attempt would be to impose responsibilities on the already existing foundations, but it would, undoubtedly, fail, which would cause a crisis and creation of new foundations.

We know where the final state would be, roughtly (the ones who sell things for money would be responsible, more-or-less), but road there wouldn't be easy for sure, because companies all around the world try to privatize profits and socialize losses… right now they just shirk the responsibility WRT software they deliver and make end user responsible, when they would be forced to take responsibility and pay they would naturally seek someone else to make responsible.

That's not a new process: every new industry in the industry passes through it.

kernel in the real world...

Posted Mar 12, 2024 12:30 UTC (Tue) by kleptog (subscriber, #1183) [Link] (5 responses)

> That's a saner approach but it still has unintended, or undesirable, consequences. Among them is that all hardware would become locked down to prevent you installing your own OS, or even from deciding not to install the latest updated (unless the law is very carefully designed to avoid liability to the hardware manufacturer in this case, and the manufacturer's lawyers are satisfied of that, and don't simply recommend disabling user choice to be on the safe side).

That doesn't follow at all. The goal of the regulations is to ensure that the seller/producer is responsible for providing timely security updates, not to ensure every device in the world is secure. If you refuse to install an update, or replace the firmware with something of your own then that's your problem, not the manufacturers.

Just like food safety regulations do not make it illegal to produce, eat or even sell your own cheese, but if you want to sell it in a supermarket you have to meet higher standards. This is very standard product regulation law, nothing special for software here.

kernel in the real world...

Posted Mar 15, 2024 12:30 UTC (Fri) by epa (subscriber, #39769) [Link] (4 responses)

My point was that the goal of the regulations may not be the same as their real-world effect.

If the hardware maker is liable unless they can show that all updates are installed, why then, it's clear as day that they'll force updates to be installed. You think there should be an exception for when the user has chosen not to take the update? I do too, but if the regulation doesn't allow for that, or if it does perhaps allow for it but not clearly and universally enough to satisfy the hardware maker's legal department that there is zero risk, the company has no choice but to follow what the law states, not what its original goal might have been.

kernel in the real world...

Posted Mar 15, 2024 22:14 UTC (Fri) by kleptog (subscriber, #1183) [Link] (3 responses)

I'm not quite understanding how you think this would work. You buy some router, decide to install a different firmware, or decide not to install a provided upgrade. Your router is subsequently hacked and you then want to sue the original manufacturer for providing an unsafe product? I just don't understand how you can imagine that you would not simply be laughed out of court? The obvious remedy is: install the latest update which is provided for free. No need to go to court over it.

If you buy a toaster, replace the internal coils and subsequently cause a fire that burns your house down, you can't claim that it's the fault of the manufacturer. If you buy a toaster, the manufacturer issues a recall notice which you ignore and it then burns your house down, the manufacturer is also off the hook. None of this is software specific.

"Liable" is a transitive verb. You are liable *to* someone *for* something specific. A manufacturer is not liable to society or the government. Their liability extends to the customer they sold to and no-one else (barring additional contracts). So when you say "If the hardware maker is liable" you need to specify to whom or it doesn't make sense.

kernel in the real world...

Posted Mar 16, 2024 6:55 UTC (Sat) by epa (subscriber, #39769) [Link] (2 responses)

But if the manufacturer is not liable when the user chooses not to install an update, that creates a perverse incentive for the manufacturer too. If they release an update but make the update process too difficult, or the new version no longer supports some features (neither of which is a far-fetched scenario) then they have relieved themselves of liability for all the devices not updated. Do the proposed regulations allow for this case? If so, how do they still allow a genuine choice by users?

Right now, you would indeed be laughed out of court. But if the law were changed to put a general liability on the manufacturer — and if that law did not have a completely watertight exception for all cases when the user has not upgraded — then there is just too much risk. The company’s legal department will insist that upgrades be mandatory. Just as for a long time now we have locked-down firmware on wireless devices to avoid liability for breaching radio regulations, even though it would clearly be the user’s deliberate choice to install modified firmware.

kernel in the real world...

Posted Mar 16, 2024 15:35 UTC (Sat) by farnz (subscriber, #17727) [Link]

The Cybersecurity Resilience Act as proposed in the EU states that a manufacturer is liable up until the user has reasonable access to an upgrade that they could install without adversely affecting their use of the device. Once that upgrade exists and is available to the user, the manufacturer's liability ends until the user starts the upgrade process, and resumes once the user has made a good-faith effort to install the upgrade.

This is meant to be comparable to the regime that exists for other goods, from scissors through to yachts. If a product needs an improvement to meet the EU's minimum standards for goods, then the manufacturer is on the hook for paying for that improvement (until the product is outside the EU standard lifetime for that particular product at that price point), but is not on the hook for making the user take the improvement. If you buy a fridge, and it needs the door replaced because the door falls off if the room temperature exceeds 30 °C, the manufacturer is on the hook for replacing the door, and for compensating people whose fridge doors fell off before they were offered a replacement, but not for compensating people who refused the replacement and whose fridge door later falls off.

kernel in the real world...

Posted Mar 16, 2024 16:12 UTC (Sat) by kleptog (subscriber, #1183) [Link]

> But if the manufacturer is not liable when the user chooses not to install an update, that creates a perverse incentive for the manufacturer too.

This is basic European law: everybody has to act reasonably. What you suggest is giving the consumer an unreasonable choice (security update vs retaining features). At the very least the customer can return the device for a refund. If the company doesn't mind giving everyone who asks a refund then the problem is also solved. The regulation also allows consumers to start class-actions against manufacturers for this kind of thing.

> But if the law were changed to put a general liability on the manufacturer — and if that law did not have a completely watertight exception for all cases when the user has not upgraded — then there is just too much risk.

As I pointed out, there is no such thing as "general liability". If you're looking for detailed watertight regulations you're not going to find them, that's the US approach. The European approach is to stipulate the goals and allow people to fill in the details themselves. People have a pretty good feel for when a company is acting unreasonably, there is no need to try and describe that in detail in legislation. That just encourages people to try and work around the law.

Is it reasonable to hold the manufacturer responsible after the user refuses to install an update that has no unreasonable downsides? Obviously not, so why are we even discussing this?

Radio regulations are somewhat a special case, since your device can impact those around you. That's also a different directive.

If you think this is all kind of vague, keep in mind that every product you see around you is governed by regulations on this level and we're all still here.

kernel in the real world...

Posted Mar 12, 2024 8:14 UTC (Tue) by hailfinger (subscriber, #76962) [Link]

The EU CRA (Cyber Resilience Act) and the EU PLD (Product Liability Directive) pretty much fix that. See the really insightful talk at FOSDEM 2024 from the regulators themselves: https://fosdem.org/2024/schedule/event/fosdem-2024-3683-t... (some of the slides have been uploaded, for others you need to watch the video recording, but the audio track has a wealth of information not covered in the slides)

In a (very simplified) nutshell: The entity (manufacturer) placing that smartphone (complete system hardware+software) on the market is responsible for providing security fixes and the manufacturer can't pass the blame/responsibility to the software provider, the manufacturer is responsible for providing the security fixes to the end user for a few years after the product has started being sold. Substantial fines if manufacturers don't comply and a ban on selling non-compliant smartphones in the EU.

There is a nice rule in the CRA which states that if a downstream commercial integrator/seller of a FOSS software component is notified of a security bug, it is their (downstream) obligation to fix that bug, share the information about the bug with the upstream project/authors and (if downstream created a fix) share that fix immediately with upstream for free. Of course, downstream may work together with upstream on a fix, but the responsibility is on downstream, not upstream.

kernel in the real world...

Posted Mar 11, 2024 20:40 UTC (Mon) by ballombe (subscriber, #9523) [Link]

Linux makes no promise that hardware working with one version will work with the next one.

kernel in the real world...

Posted Mar 11, 2024 21:49 UTC (Mon) by pawel44 (guest, #162008) [Link]

> i.e. when and what version is going to be running under the android system ?

Maybe ask spyware and propaganda company known as Google? You can also ask about their failuchsia kernel.

The 6.8 kernel has been released

Posted Mar 11, 2024 18:11 UTC (Mon) by qdeslandes (guest, #131161) [Link] (2 responses)

> the removal of the (never finished) bpfilter packet-filtering system

The project was revived last year (https://github.com/facebook/bpfilter), based on the last patch series (that wasn't merged upstream) which introduced actual rules translation into BPF bytecode. It grew quite much over 2023 and was discussed during LSFMM/BPF, All Systems Go, LPC... There is still a lot to do, but IP/port/protocol filtering works quite nicely!

The 6.8 kernel has been released

Posted Mar 11, 2024 22:54 UTC (Mon) by intelfx (subscriber, #130118) [Link] (1 responses)

> The project was revived last year (https://github.com/facebook/bpfilter), based on the last patch series (that wasn't merged upstream) which introduced actual rules translation into BPF bytecode

Is it really needed now that nftables is actually (slowly) taking off?

The 6.8 kernel has been released

Posted Mar 12, 2024 16:45 UTC (Tue) by qdeslandes (guest, #131161) [Link]

It's not necessarily one or the other. For example nftables can't offload filtering rules to XDP, but bpfilter can be leveraged to do this (I've got a PoC actually).


Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds