r/kernel • • 14h ago

Linux kernel IPv6 flaw lets remote attackers bypass firewalls at CVSS 9.1

Thumbnail runtimewire.com
80 Upvotes

r/kernel • • 10h ago

One ICMP Packet Turns Off nginx HTTP/3 for a Chosen Client

Thumbnail blog.jamessawyer.co.uk
1 Upvotes

r/kernel • • 21h ago

Thirty-Four Bytes Early: A Guest-Triggerable Over-Read in Linux Virtio UDP-Tunnel GSO

Thumbnail blog.jamessawyer.co.uk
1 Upvotes

r/kernel • • 1d ago

BRAINIXKERNEL HAS BEEN UPDATED!

Thumbnail reddit.com
0 Upvotes

Hey, r/kernel!


r/kernel • • 2d ago

Looking for people to break our coreutils replacement (108 commands, ~2× smaller than GNU)

0 Upvotes

We've developed our own version of the Linux core utilities, called Trinix core utilities (Trinix is our name for our version of Linux). The goal is to be drop-in compatible with GNU coreutils while being smaller and faster. 0.4.0 has 108 commands, as stripped executables for Linux x86-64.

Where it stands today, measured against GNU coreutils 9.4:

- Size: 2.94 MB total vs 5.82 MB, about 2× smaller (ls 28.6 KB vs 142 KB)

- Speed: typically 1.17× as fast across 66 utilities timed on real work; wc up to 101× on ASCII counting, sort up to 9× on its best case

- Still slower than GNU: ls/dir/vdir, chmod/chown/chgrp, rm, cksum. mv is also still a bit larger than GNU's.

Numbers are from an i3-9100F under WSL2, one core, warm cache; the speed runs were on development builds, not re-timed for this release yet. Full tables and method: https://elementalsystems.co.in/linux-utils/performance/

Download: https://elementalsystems.co.in/linux-utils/

What we'd really like: people running it against their own scripts and telling us where output, exit codes or options differ from GNU. That's the most useful feedback right now.

Contact email/bugs: saladi.eswar@yahoo.co.in


r/kernel • • 2d ago

Advice for newcomers

Thumbnail reddit.com
5 Upvotes

Sry if I didn’t proofread this, I wrote it in a rush but I hope you guys can take away something from my experience when learning systems programming.


r/kernel • • 3d ago

Is Windows NT really a hybrid kernel? (question for my term paper)

32 Upvotes

Hi! I'm writing a term paper for university comparing the Linux and Windows kernels. I'd like to hear your opinion on the idea of a hybrid kernel. Do you think Windows NT really is one, or is it basically a monolithic kernel, as Torvalds once said ("it's just marketing")?


r/kernel • • 2d ago

Issues with RX 470 - part 2

Thumbnail reddit.com
1 Upvotes

r/kernel • • 3d ago

I built an experimental Linux kernel module called SecretVault – Looking for feedback and ideas to improve it

Thumbnail github.com
2 Upvotes

Hey everyone!

I've been working on a Linux kernel project called SecretVault.

The main idea is to experiment with protecting sensitive kernel memory (such as encryption keys) by removing its direct-map mapping and temporarily restoring access only when needed.

Currently, the project includes:

  • Kernel module implementation.
  • Secret page allocation and deallocation.
  • Temporary access through a callback mechanism.
  • Direct-map manipulation.
  • Page-table scanning to verify memory mappings.
  • Experimental tests to measure performance and validate the implementation.

This is still an experimental project, and there are several limitations and areas that need improvement.

I'd like to get feedback from people familiar with Linux kernel development, memory management, and computer architecture.

I'm particularly interested in:

  • What additional features would make this project more useful?
  • What security improvements should I consider?
  • Are there better ways to handle page-table manipulation and TLB invalidation?
  • What additional experiments or test cases should I implement?
  • Are there any architectural flaws or attack surfaces I'm overlooking?

I'd also be interested in contributions, suggestions, and ideas that could help take this project further.

Thanks! Looking forward to your feedback.


r/kernel • • 4d ago

Fed. 43: Firmware or kernel bug?

Thumbnail reddit.com
1 Upvotes

r/kernel • • 7d ago

Linux kernel modules in Go

Thumbnail jespino.github.io
33 Upvotes

r/kernel • • 7d ago

Be a part of something Legendary!!

Thumbnail reddit.com
0 Upvotes

Hey guys we would like for you to witness the creation of a new Mobile Operating System for the age of AI.
Join our official community to get live updates as its being built. We do encourage you to be future contributers once the repo is open to pulic [Coming Soon!!!].


r/kernel • • 8d ago

NorthNarrow: un agente open source di rilevamento e risposta per Linux, costruito su eBPF e BPF-LSM. Prima alpha

Thumbnail reddit.com
0 Upvotes

r/kernel • • 9d ago

The December BrainixKernel update is coming!

Thumbnail reddit.com
0 Upvotes

Yo, r/kernel! Perhaps you are interested?


r/kernel • • 13d ago

Reverse-engineering the Nokia N810’s PowerVR MBX for Linux

5 Upvotes

https://gordol.github.io/n810-revival/posts/2026-11-02-gpu-command-stream/

When mainline Linux marked the OMAP2420 for removal, I pulled out my Nokia N810 to see what I could still get running. It has 128 MB of RAM and a slide-out keyboard I still like. I got Debian 12 booting on a patched Linux 5.15 kernel and just kept going.

Nokia shipped the N810 without a Maemo driver for its PowerVR MBX GPU. We studied a Nokia N95 firmware image for the same OMAP2420, reconstructed the GPU’s command stream, and wrote a Linux driver and Mesa support without the vendor SDK.

At one point the command FIFO stalled after the first polygon. Fixing vertex setup got the GPU to write triangle parameters, but the coordinates came back infinite until we supplied the clipping constants. An early rasterizer test drew four squares of color into a 32 × 32 buffer. Later we got the GPU doing the transforms, lighting, and rasterization for glxgears. In a 400 × 400 rotating terrain benchmark, it completed over 70 GPU frames per second with the CPU at 480 MHz. The display controller recorded about 26 transfers per second in that run.

The tablet boots from two Debian slots on the SD card. They share one flashed kernel and a persistent data partition, and there’s a small recovery system on internal storage. AI coding agents helped dig through board files and boot logs. One of the better fixes was swapping the SD adapter. The same card that kept timing out booted right away.

The GPU now draws Pocket, the graphical desktop I built for the tablet. There’s also a windowed TUI over SSH. Pocket can plot APRS stations from a Bluetooth handheld radio and use offline elevation data to check whether a ridge blocks the radio path. And ChessGenius runs its original Symbian ARM code directly on the N810, with the MBX drawing the chessboard. That got us looking at a similar runtime for ARM Windows CE apps.

The driver, Mesa changes, kernel build inputs, and Pocket source are in gordol/n810-revival. To try the terminal desktop on Linux or macOS, run make -C pocket n810 from the checkout with Python 3.11+ and Make.

Anyone else still working on OMAP2 hardware? I’d be especially curious to hear from anyone who tried getting the MBX going back in the Maemo days.


r/kernel • • 13d ago

Kali Linux

Post image
0 Upvotes

Python hash generator and music files. Kali linux


r/kernel • • 14d ago

(Hiring) Linux Kernel Live Patching Engineer

Thumbnail reddit.com
7 Upvotes

r/kernel • • 14d ago

SysArmor: A lightweight Linux system hardening tool written in pure C and Assembly (zero dependencies)

0 Upvotes

Hey everyone! I built **SysArmor**, a zero-dependency system hardening and security tool written entirely in pure C and Assembly.

It uses POSIX system calls (like `open` with `O_NOFOLLOW` and `fstat`) to protect critical system paths against symlink attacks, race conditions, and unauthorized modifications across all standard Linux distros (Ubuntu, Debian, Fedora, Arch, etc.).

If you're into low-level systems programming or terminal utilities, the repository is here:

👉 **https://github.com/error0941/sysarmor**

I’d love to hear your feedback, code reviews, or suggestions!

NOT:Başlıkta Assembly yazmışım ama şu anki sürüm tamamen saf C ve POSIX sistem çağrıları ile çalışıyor. İlerleyen sürümlerde kritik syscall'lar için inline assembly ekleyeceğim.


r/kernel • • 15d ago

Linux Kernel Live Patching Engineer

1 Upvotes

Sardina Systems is an OpenInfra software platform company based on OpenStack and Kubernetes and is looking for a Linux Kernel Live Patching Engineer to join our team.

Position summary

Build and operate a live kernel patching feed for AlmaLinux 10. You own the full technical chain, from CVE triage to signed, tested RPMs published in a public repository. This is a hands-on kernel engineering role, not a management or release-coordination position.

Core responsibilities

Patch engineering

- Track AlmaLinux security advisories (ALSA) and upstream kernel CVEs.

- Triage CVEs against the published scope: critical, remotely exploitable or actively exploited vulnerabilities.

- Backport security fixes to the supported AlmaLinux 10 kernels, resolving conflicts across version differences.

- Generate live patch modules with klp-build. Initially, publish individual CVE patches; evaluate cumulative/atomic replace strategies as the pipeline matures.

- Identify CVEs that cannot be live patched (e.g. __init changes, data structure layout changes) and record them in the coverage-gap log.

Build and distribution pipeline

- Reproduce AlmaLinux kernel builds exactly (same source, config and compiler), e.g. in mock with the AlmaLinux buildroot, so modules match the running kernel.

- Maintain the automated pipeline: CVE scan, build plan, klp-build, RPM packaging, signing, test gate, createrepo_c publication.

- Plan and execute the move of support to new AlmaLinux kernel releases as they ship.

- Verify the exact client-side commands work on stock AlmaLinux 10 (dnf kpatch auto plus kpatch-patch-* packages).

Testing and release gate

- Run the mandatory pre-publication gate on every patch:

- load and unload on the target kernel in QEMU;

- run kernel livepatch selftests;

- for high-severity CVEs: apply and revert under load on a FishOS test cluster with running VMs and Ceph I/O.

- Document which tests were passed for each release.

- A patch that passes the gate is cleared for publication. Do not publish a patch that has failed the gate.

Release and withdrawal

- Publish approved patches with release notes listing the CVEs covered.

- Publish the source for every released patch alongside its RPM.

- If a published patch misbehaves: pull it from the repository, publish an advisory, and give users revert instructions.

- Maintain the runbook and coverage-gap log.

Secure Boot

- Manage the Sardina module-signing key and RPM signing key.

- Document and verify mokutil key enrolment for AlmaLinux users.

- Work with the Ops team to automate key enrolment on FishOS.

Required skills

- Linux kernel development: strong C, with hands-on experience backporting kernel patches or debugging kernel modules. Screening will test this directly.

- Live patching: practical experience with klp-build or kpatch, or demonstrated ability to learn them quickly from source.

- RPM and the RHEL/AlmaLinux ecosystem: kernel packaging (RPM/SRPM), mock, dnf, createrepo_c and repository metadata.

- Automation: Python or shell; building and maintaining CI-style pipelines.

- Signing: GPG key management and RPM signing; kernel module signature verification and MOK enrolment.

- English: working proficiency.

Preferred skills

- Spoken Russian and/or Mandarin, in addition to English. This is to work closely with Russian- and Mandarin-speaking team members.

- QEMU-based VM validation or canary testing.

- Upstream kernel contributions or involvement in the live patching community.

- Koji or similar build orchestration systems.

- Ceph I/O testing or storage-heavy workloads.

Key traits

- Boundary awareness: Willing to say plainly "this CVE needs a reboot" and "this kernel is out of scope" rather than forcing a risky patch

- Release discipline: Understands that a bad patch is the main reputational risk and will not skip the test gate under pressure

- Self-directed: Comfortable owning an end-to-end pipeline with minimal supervision

- Confidentiality: handles embargoed vulnerabilities and unreleased plans with discretion.

Working context

- Scope: AlmaLinux 10 only, starting with one kernel version.

- Infrastructure: runs separately from the existing Koji-based OpenStack build infrastructure, but follows the same automation approach.

- Primary tooling: klp-build, kpatch/kpatch-dnf, mock, createrepo_c, GPG, systemd timers, QEMU and a FishOS test cluster.

- Release authority: Routine patches are approved by the automated gate; no per-patch sign-off is required. A named release authority reviews weekly summaries, approves exceptions (e.g., a patch that cannot pass the full gate for a documented reason), and handles emergency withdrawals.

- Backup: one Ops team member is cross-trained on the test gate, publication and withdrawal steps early in the project.

Success Criteria

First milestone

- klp-build confirmed working on a real Alma 10 kernel

- End-to-end pipeline producing a signed, tested patch for one CVE class on one kernel version

- Test gate passed on at least two consecutive builds

- Coverage-gap log and runbook exist

Second milestone

- Pipeline operating reliably with the test gate on every build

- Secure Boot enrollment automated on FishOS

- Sources and tooling published under the appropriate license

- Runbook and coverage-gap log maintained and current


r/kernel • • 17d ago

Which Linux distro would you recommend for a 128 GB SSD? Please suggest a good one.

Thumbnail reddit.com
0 Upvotes

r/kernel • • 17d ago

I went for Kernel Engineer Interview by knowing BCPL 🤣🤣!

Post image
0 Upvotes