Thursday, October 29, 2026
HomeCyber Security“Soiled Pipe” Linux kernel bug lets anybody to put in writing to...

“Soiled Pipe” Linux kernel bug lets anybody to put in writing to any file – Bare Safety

[ad_1]

Max Kellermann, a coder and safety researcher for German content material administration software program creators CM4all, has simply printed a fascinating report a couple of Linux kernel bug that was patched not too long ago.

He referred to as the vulnerability Soiled Pipe, as a result of it includes insecure interplay between a real Linux file (one which’s saved completely on disk) and a Linux pipe, which is a memory-only knowledge buffer that can be utilized like a file.

Very vastly simplified, you probably have a pipe that you’re allowed to put in writing to and a file that you simply aren’t…

…then, typically, writing into the pipe’s reminiscence buffer could inadvertently additionally modify the kernel’s non permanent in-memory copies – the so-called cache pages – of assorted elements of the disk file.

Annoyingly, even when the file is flagged as “learn solely” by the working system itself, modifying its underlying kernel cache is handled as a “write”.

In consequence, the modified cache buffer is flushed again to disk by the kernel, completely updating the contents of the saved file, regardless of any working system permissions utilized to it.

Even a bodily unwritable file, akin to one on a CD-ROM or an SD card with the write-enable change turned off, will seem to have been modified for so long as the corrupted cache buffers are stored in reminiscence by the kernel.

Which variations are affected?

For these working Linux who wish to minimize to the chase and examine in the event that they’re patched, Kellermann reviews that this bug was launched (at the least in its present, simply exploitable type) in kernel 5.8.

Meaning three formally supported kernel flavours are undoubtedly in danger: 5.10, 5.15 and 5.16.

The bug was patched in 5.10.102, 5.15.25 and 5.16.11, so you probably have a model that’s at or above a kind of, you’re OK.

Apparently, Android is affected too, and though a repair for the vulnerability was integrated into the kernel supply code on 2022-02-24, neither Google’s Android Safety Bulletin for March 2022, nor the corporate’s Pixel-specific notes, point out this bug, now dubbed CVE-2022-0847.

Of all the various formally supported Android handsets we’ve surveyed up to now, nevertheless, solely the Pixel 6 collection appears to make use of kernel 5.10, with most units again on one of many older-but-apparently-not-vulnerable Linux 5.4 or 4.x variations.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments