Zack's Kernel News
Zack's Kernel News
Chronicler Zack Brown reports on isolating patch submissions by type, and quantum security.
Security Protocols in C and Rust
The Rust language continues to make ever deeper inroads into the kernel. Not too long ago, Linus Torvalds revealed his policy: No kernel maintainer or higher-up will be forced to work with Rust code, but, if they choose not to, they also will have no say in that code. Ever since then, the objections to Rust patches have tended to focus on design and implementation details, rather than on simply preferring to work in C.
One such design and implementation detail came up recently, when Alistair Francis submitted a Security Protocols and Data Model (SPDM) implementation in Rust. SPDM is a communication protocol intended to let computers verify that the devices on them are what they expect. It tries to prevent hostile hardware from inadvertently being given private data. To accomplish this, SPDM uses a tangled mess of public key cryptographic handshaking – all trying to remain behind the scenes so that anything using that connected hardware won't have to think about it.
As Alistair put it, "From the kernel's perspective SPDM is used to authenticate and attest devices. In this threat model a device is considered untrusted until it can be verified by the kernel and userspace using SPDM. As such SPDM data is untrusted data that can be malicious."
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
KDE Sets Ambitious Goals for 2026 and Beyond
KDE Connect reveals the goals for the Linux desktop darling, with one of those goals long overdue.
-
It’s Time to Test Fedora 45 Beta
Fedora 45 beta has been released with updated Gnome, KDE Plasma, and kernel.
-
Ubuntu Stonking Stingray Gets Even Rustier
Ubuntu 26.10 has completed its migration to the Rust-based coreutils.
-
AI Fixes Linux Bottlenecks Using “Hideous” Code
A Linux developer used AI to fix bottlenecks that caused problems when building the kernel. The resulting AI-generated code needed a lot of work.
-
Advanced Video Coding Still Under Patent
Brazilian patent BRPI0109962B1 has expired, which means that DivX and Xvid are no longer problematic for Linux, but it doesn’t mean that video is all of a sudden fully unleashed.
-
2,000 Vulnerabilities per Linux Release
Thanks to AI bug hunters, the Linux kernel is seeing record numbers of vulnerabilities, and it's overwhelming developers.
-
Linux Exempt from California’s Age Verification Law
So long as Linux is distributed under the GPL, MIT, BSD, and Apache licenses, the OS is exempt from being required to verify the age of its users in California.
-
Roll Out the Cake: Linux Turns 35
35 years ago, a Finnish student began a humble project that would forever change the course of technology.
-
China Switching from Windows to Linux
China has ordered several government agencies to drop a Chinese-developed version of Windows 10 in favor of either KylinOS or UOS.
-
Pine64 Halts Production of Linux Devices
With continued DRAM and eMMC shortages, Pine64 has decided to discontinue production of Linux devices.
