Login
You're viewing the code4lib.social public feed.
  • Nov 30, 2026, 2:47 AM

    2026-11-30 and I find myself writing my own patches because I can't trust the authorship/licensing of the upstream Linux kernel.

    I stumbled on github.com/sec0x/Kernel-Exploit which has a handy list of the exploits and proofs of concepts for them. So as a starting point, I'm starting with that.

    Linux Kernel 6.16.7, which according to the ethical-foss list, is the last "clean" kernel release.

    - CVE-2026-31429 seems clear
    - CVE-2026-31431 "copy.fail", most definitely isn't… the official patch is to revert a patch from 2017, so let's start there.

    Once I've done that I have a few others to check:
    - CVE-2026-31635 "Dirty Decrypt"
    - CVE-2026-43284 / CVE-2026-43500 "Dirty Frag"
    - CVE-2026-43494 "PinTheft"
    - CVE-2026-46243 "CIFSwitch"
    - CVE-2026-46300 "Fragnesia"
    - CVE-2026-46333 "SSH Keysign pwn"

    If I can get these patches working, I might push this tree somewhere as I can't be the only one that wants code that is ethical and legal running my machine.

    #InfoSec #Linux

    💬 1🔄 0⭐ 0

Replies

  • Nov 30, 2026, 4:24 AM

    Had a go at my own patch, there was a patch that coalesced the functionality of several modules into the `af_alg` tree, and I think there's something in there I need to look at.

    In the meantime, I've had a look at the others:

    Regarding CVE-2026-46333, the PoC I had didn't seem to work, but this one indicates I do have a problem:

    raw.githubusercontent.com/fank

    CVE-2026-31635 and CVE-2026-46243 didn't seem to work, so I'll put those aside for now. That leaves the following list:

    - CVE-2026-31431 Copy Fail
    - CVE-2026-43284 Dirty Frag
    - CVE-2026-43494 PinTheft
    - CVE-2026-43500 Dirty Frag
    - CVE-2026-46300 Fragnesia
    - CVE-2026-46333 SSH Keysign pwn

    A lot of the patches were from the time when Linux Foundation was saying "we allow LLM use but add an Assisted-by tag"… so maybe *those* ones can be trusted? Hard to know.

    Certainly I will not be touching anything from the kernel tree post 2026-10-09… that code is potentially tainted (i.e. could contain non-GPL compliant code, you don't have access to the LLMs training set so you can't check) and not identifiable.

    In my own little branch I've just pulled in the official CVE-2026-31431 fix from Herbert Xu for now just to prove that it *does* resolve the issue… I can then roll it back and have another look.

    I then need to assess the fixes for the others. 6 issues is far better than the pages of vulnerabilities I was being shown looking at the Linux CVE lists…

    💬 1🔄 0⭐ 0
  • Nov 30, 2026, 5:58 AM

    …ohh nice, so official copy.fail patch applied to 6.16.7, `python3` generates a general protection fault in the kernel now due to a null pointer de-reference.

    I guess that's better than handing over the keys to the kingdom.

    💬 0🔄 0⭐ 0