{
  "schema": 1,
  "registry": "registry.conformal.co",
  "index": {
    "repository": "conformal/bpm-index",
    "tag": "stable",
    "present": true,
    "manifest_digest": "sha256:8e2387cb16ebdcf979192100a7be751fca41c1348b5a80692f81ec3090804d9d",
    "generated_at": "2026-11-26T20:37:24Z",
    "document": "/index.json",
    "signature": "/index.json.sig"
  },
  "packages": [
    {
      "name": "copy-fail",
      "version": "1.0.0",
      "shield": true,
      "description": "Copy Fail (CVE-2026-31431): refuses binding AF_ALG aead sockets to authencesn",
      "fixes": [
        "CVE-2026-31431"
      ],
      "architectures": [
        "x86_64"
      ],
      "kernel_release_prefixes": [
        "6.1",
        "6.4",
        "6.6",
        "6.8",
        "6.11",
        "6.12",
        "6.14",
        "6.17",
        "6.18"
      ],
      "upatch_types": [
        "bpf"
      ],
      "license": "GPL-2.0 OR BSD-2-Clause",
      "authors": [
        "Conformal Shield Registry contributors"
      ],
      "built_at": "2026-11-26T20:37:11Z",
      "reference": "registry.conformal.co/conformal/copy-fail:1.0.0",
      "repository": "conformal/copy-fail",
      "manifest_digest": "sha256:550475ec62d75516e8e6c7ad3a1e264b1e4f4851ca4af60075f662a7c72123bb",
      "package_digest": "sha256:c7d33929151912eef72c5a6c8e41b59c6785980ff83a071d895c99147f203050",
      "package_size": 63272,
      "signer_fingerprint": "08971b86cb136db9ccd9d16c6ddddc19a4d77cf33a07e29cd525e8df366a5afb",
      "readme": "# copy-fail: Copy Fail (CVE-2026-31431)\n\nAn AF_ALG aead decryption runs in place: `_aead_recvmsg()` chains the TX\npages holding the tag behind the RX buffer. When a file was spliced in,\nthose are page-cache pages, and authencesn's decrypt writes 4 bytes at\n`assoclen + cryptlen` into them: an unprivileged write to the page cache.\n\n## How it works\n\n`af-alg-authencesn`, an `lsm/socket_bind` program, refuses with `EPERM`\nbinding an `AF_ALG` socket of `salg_type` `aead` to an algorithm whose\n`salg_name` contains `authencesn` (the template, its instances,\n`pcrypt()`/`cryptd()` wrappers, driver names). It reads the address as\n`alg_bind()` does and applies to every caller, root included.\n\n`security_socket_bind()` runs in `__sys_bind()` before `alg_bind()`, and\nan AF_ALG socket has no algorithm before the bind, so the refusal comes\nbefore the key, the message and the splice. Of the kernel's AEADs only\nauthencesn writes past the plaintext on decryption. The splice itself\nis no option: before 6.5 it goes through `-\u003esendpage`, which has no LSM\nhook.\n\n## What breaks\n\nUser-space AF_ALG use of authencesn; none is known (libkcapi's own test\nsuite is the one user). Kernel IPsec uses the crypto API directly.\nEverything else keeps working: hash, skcipher, rng, aead with\n`gcm(aes)`, `ccm(aes)`, `rfc4106`, `authenc`; libkcapi, cryptsetup\n(LUKS2, aes-gcm-random), bluetoothd, iwd (WPA2/WPA3/EAP-TLS).\n\n## Not covered\n\n- Sockets bound to authencesn before the load; exempt UIDs.\n- An out-of-tree or non-x86 driver that writes past the plaintext on\n  decryption or registers an ESN AEAD under another name (none in\n  `crypto/`, `arch/x86/crypto/`, `drivers/crypto/` of v6.1.164).\n- On a stock kernel, root can detach the program.\n\n## Kernels\n\n6.1–6.18: Debian 12/13, Amazon Linux 2023, Ubuntu 24.04\ngeneric, HWE and OEM, RHEL 10, UEK8, longterm. 6.19.12, 7.0 and later\nhave the fix; whether a host's kernel already does is checked per host.\nTested on vulnerable vendor kernels of 6.1, 6.4, 6.8 and 6.12.\n\nNeeds the BPF LSM (`bpf` in `/sys/kernel/security/lsm`); Ubuntu 24.04's\n6.8 kernels need `lsm=...,bpf` on the kernel command line, or the load is\nrefused. x86-64. Cost: one run per `bind(2)`.\n\n## Install\n\n```\nsudo shirudo bpm install conformal/copy-fail@1.0.0\nsudo shirudo upatch map af-alg-authencesn af_alg_stats   # refused, audited, exempted\n```\n\nSigned defaults (`config.list`): `mode=enforce` (or `audit`: allow and\ncount), `exempt_uid=\u003cuid\u003e` (up to 16; real and effective UID both\nlisted). Other settings need a package signed with your own key\n(`shirudo bpm build` or `shirudo bpm config update`). Uninstall once the\nfixed kernel runs.\n\n## References\n\n- CVE-2026-31431; introduced by 72548b093ee3 (4.14)\n- Fix: a664bf3d603d (\"crypto: algif_aead - Revert to operating out-of-place\")\n- Derived from Shirudo's `cve-2026-31431-af-alg-block.bpf.c`\n  (shirudo-dev/shirudo@779bb01b9f5a), which refused every AF_ALG socket\n"
    },
    {
      "name": "cve-2026-98432",
      "version": "1.0.0",
      "shield": true,
      "description": "CVE-2026-98432: drops IPv4 TCP SYNs and syncookie ACKs that carry IP options to a listener",
      "fixes": [
        "CVE-2026-98432"
      ],
      "architectures": [
        "x86_64"
      ],
      "kernel_release_prefixes": [
        "6.1",
        "6.4",
        "6.6",
        "6.8",
        "6.11",
        "6.12",
        "6.14",
        "6.17",
        "6.18",
        "7.0",
        "7.2"
      ],
      "upatch_types": [
        "bpf"
      ],
      "license": "GPL-2.0 OR BSD-2-Clause",
      "authors": [
        "Conformal Shield Registry contributors"
      ],
      "built_at": "2026-11-26T20:37:15Z",
      "reference": "registry.conformal.co/conformal/cve-2026-98432:1.0.0",
      "repository": "conformal/cve-2026-98432",
      "manifest_digest": "sha256:ffd6be069988d4873be3fec1db7f3278ac84fe1ee8eaa2cfcf430cd295c00966",
      "package_digest": "sha256:2570dbaf71c1fb7d9132e046208c3ddd8cee622dffecfd56edd5350abd67aae2",
      "package_size": 26144,
      "signer_fingerprint": "08971b86cb136db9ccd9d16c6ddddc19a4d77cf33a07e29cd525e8df366a5afb",
      "readme": "# cve-2026-98432: IPv4 TCP IP options (CVE-2026-98432)\n\nWhen an IPv4 SYN carries IP header options, `tcp_v4_init_req()` saves\nthem as `ireq-\u003eireq_opt` and `tcp_v4_syn_recv_sock()` hands the same\nobject to the child as `inet_opt`. A second CPU answering a retransmitted\nSYN, or request-socket migration, can read it after the child freed it:\na remote use-after-free in `ip_options_build()`.\n\n## How it works\n\n`tcp-ip-options`, a `cgroup_skb/ingress` program on the root cgroup,\nsilently drops an inbound IPv4 TCP packet when all of these hold: IHL \u003e 5\n(IP options present), `skb-\u003esk` is a listener (or missing: fail closed),\nand the flags are SYN without ACK/RST/FIN or ACK without SYN/RST.\n\nA listener saves peer options only from those two packets: the SYN it\nanswers (`tcp_conn_request()`) and the ACK completing a syncookie\nhandshake (`cookie_v4_check()`). The program runs from `tcp_filter()` on\nthe listener before either, on the `TCP_LISTEN`, `TCP_NEW_SYN_RECV` and\n`TIME_WAIT` → listener paths. Attached to the root with\n`BPF_F_ALLOW_MULTI`, it is effective in every cgroup and network\nnamespace. It cannot tell a syncookie ACK from a handshake ACK, so the\nACK test cannot be narrower.\n\n## What breaks\n\nAccepting an IPv4 TCP connection whose SYN carries IP options, on any\nlistener, loopback included: `IP_OPTIONS` clients, Record Route,\nTimestamp, CIPSO-labelled peers, `nmap --ip-options`. Everything else\nkeeps working: TCP without IP options, TCP options, IP options on\nestablished connections and on the SYN-ACK of outbound connections, UDP\nand ICMP with IP options, IPv6.\n\n## Not covered\n\n- Hosts that label their own connections with NetLabel CIPSO:\n  `cipso_v4_req_setattr()` saves options on every request socket. Install\n  the fixed kernel there; `allow_port` keeps labelled peers working.\n- Request sockets created before the load; ports in `allow_port`.\n- On a stock kernel, root (or `CAP_BPF` + `CAP_NET_ADMIN`) can detach it.\n\n## Kernels\n\n6.1–7.2: Debian 12/13, Amazon Linux 2023, Ubuntu\n24.04 generic, HWE, OEM and cloud, Ubuntu 26.04, RHEL 10, UEK8, Flatcar,\nFedora, longterm. 7.2.10, 7.3 and later have the fix; whether a host's\nkernel already does is checked per host. Tested on vulnerable vendor\nkernels of 6.1, 6.4, 6.8, 6.12, 7.0 and 7.2.\n\nNeeds cgroup v2 at `/sys/fs/cgroup` and `CONFIG_CGROUP_BPF`; no BPF LSM,\nno boot change. x86-64. Cost: a few compares per received packet without\nIP options.\n\n## Install\n\n```\nsudo shirudo bpm install conformal/cve-2026-98432@1.0.0\nsudo shirudo upatch map tcp-ip-options tcp_ipopt_stats   # dropped, audited, allowed\n```\n\nSigned defaults (`config.list`): `mode=enforce` (or `audit`: pass and\ncount), `allow_port=\u003cport\u003e` (up to 16 local ports that still accept\noption-carrying SYNs; they stay exposed). Other settings need a package\nsigned with your own key. Uninstall once the fixed kernel runs.\n\n## References\n\n- CVE-2026-98432; introduced by 079096f103fa (4.4)\n- Fix: e3f33b0a1d89 (\"ipv4: free inet_opt and ireq_opt after an RCU grace period\"), 7.3-rc7\n"
    },
    {
      "name": "cve-2026-99567",
      "version": "1.0.0",
      "shield": true,
      "description": "Refuses keyring insertions, including user-namespace register insertions, that could chain an assoc_array shortcut onto another (CVE-2026-99567), with signed enforce/audit mode and UID exemptions",
      "fixes": [
        "CVE-2026-99567"
      ],
      "architectures": [
        "x86_64"
      ],
      "kernel_release_prefixes": [
        "6.1",
        "6.8",
        "6.11",
        "6.12",
        "6.14",
        "6.17",
        "6.18",
        "7.0",
        "7.2",
        "7.3"
      ],
      "upatch_types": [
        "bpf"
      ],
      "license": "GPL-2.0 OR BSD-2-Clause",
      "authors": [
        "Conformal Shield Registry contributors"
      ],
      "built_at": "2026-11-26T20:37:19Z",
      "reference": "registry.conformal.co/conformal/cve-2026-99567:1.0.0",
      "repository": "conformal/cve-2026-99567",
      "manifest_digest": "sha256:16ee0ab37015e26d0ad29dca1b309671ea5270631147be488a3e14f6ca2444d8",
      "package_digest": "sha256:ba7785a2e3b2d762817e76a640d0dec2d01cef91f13c0e007c2c99d1e9bceac9",
      "package_size": 73370,
      "signer_fingerprint": "08971b86cb136db9ccd9d16c6ddddc19a4d77cf33a07e29cd525e8df366a5afb",
      "readme": "# cve-2026-99567: assoc_array keyring shortcut (CVE-2026-99567)\n\n`assoc_array_insert_into_terminal_node()` can replace a full node with a\nshortcut; if that node was already a shortcut's target, the new shortcut\nlands behind the old one, `assoc_array_walk()` indexes it as a node and\n`assoc_array_apply_edit()` hits `BUG_ON()`. Any local user reaches it with\n`add_key(2)` and `keyctl(2)`, without capabilities or namespaces.\n\n## How it works\n\nThe chaining insertion of key K needs a node, reached through a shortcut,\nfull of 16 leaves that share K's index segment at that node's level. A\nshortcut skips at least one level, so those 16 leaves share K's low 8\nindex-hash bits. Below 16 such entries the path cannot be taken.\n`assoc-shortcut` (`lsm/key_permission`, `lsm/key_alloc`; `fexit` on the\nkeyctl, request_key and 32-bit add_key/keyctl entries and\n`look_up_user_keyrings`, and `lsm/task_free` release its state) refuses\nwith `EDQUOT`, deciding on the key being inserted:\n\n- `add_key` (`key_create_or_update()`), at `key_alloc()` under the\n  keyring's lock: exactly when K's path ends in the chaining state.\n- Link family (`KEYCTL_LINK`, `KEYCTL_MOVE`, `KEYCTL_SEARCH` into a\n  destination, `KEYCTL_GET_PERSISTENT`, `request_key(2)`), once the key is\n  named: when 14 or more entries plus pending insertions share K's low 8\n  bits. Per-(keyring, class) reservations keep the count at 15 or less\n  under concurrent insertions.\n- Key unknown at the check (`KEYCTL_INSTANTIATE*`/`REJECT`/`NEGATE` into a\n  destination, unknown keyctl commands, kernel `request_key` for a task):\n  when the destination's entries plus pending insertions reach 14.\n- In a user namespace, the kernel's insertion of `_uid.\u003cn\u003e`,\n  `_uid_ses.\u003cn\u003e` or `_persistent.\u003cn\u003e` into the register, exactly when it\n  would chain (once 16 entries under a shortcut share the segment if the\n  register may lose entries first). `keyctl revoke`/`invalidate`/`timeout`\n  of such a keyring gets `EBUSY` during a register insertion.\n\nThe class count is read from the top two tree levels (at most 32 slot\nreads, `assoc_walk.h`).\n\n## What breaks\n\nA link into a keyring where 14 or more entries share the new key's low 8\nindex-hash bits gets `EDQUOT`. The kernel clears the low 4 bits of every\nkeyring's hash, so keyrings linked into one keyring (fscrypt v1\nuser-keyring mode, `condor_aklog` on a busy node) fall into 16 classes:\nrefusals start around 100 keyrings in one keyring and are certain from\nabout 200. Ordinary keys fall into 240 classes (around 2000 keys).\n`add_key` gets a transient `EDQUOT` only while link-family insertions into\nthe same class are pending on a keyring already at 14. Ordinary keyring\nuse keeps working: fscrypt, MIT Kerberos `KEYRING:persistent`, sssd,\nsystemd session keyrings, ssh, containers, NFS idmapper, DNS resolver.\n\n## Not covered\n\n- Kernel threads, kernel caches on overridden credentials, insertions\n  without a permission check other than the user-namespace registers\n  (`KEY_SPEC_REQUESTOR_KEYRING` instantiation, kernel-internal\n  `key_link()`), the initial user namespace's registers, exempt UIDs.\n- Trees built before the load.\n- The sibling bugs of the same series (20b436c1ae8d, 2a62c32760a8).\n- `PREEMPT_RT` kernels (no rwsem owner field: it does not load).\n- On a stock kernel, root can unload the upatch.\n\n## Kernels\n\n6.1–7.3 (not 6.4 and 6.6): Debian 12/13, Amazon Linux 2023, Ubuntu 24.04 generic, HWE,\nOEM and cloud, Ubuntu 26.04, RHEL 10, UEK8, Flatcar, Fedora, Arch,\nlongterm. 7.3.5, 7.4 and later have the fix; whether a host's kernel\nalready does is checked per host. Not Leap 15.6: its 6.4 verifier refuses\nthe program; 6.6 is not listed until it is shown to load there. Tested on\nvulnerable vendor kernels of 6.1, 6.8, 6.12, 7.0, 7.2 and 7.3.\n\nNeeds the BPF LSM (`bpf` in `/sys/kernel/security/lsm`); Ubuntu 24.04's\n6.8 kernels need `lsm=...,bpf` on the kernel command line. x86-64. Cost:\none run per key permission check and key allocation, a two-level walk per\ninsertion.\n\n## Install\n\n```\nsudo shirudo bpm install conformal/cve-2026-99567@1.0.0\nsudo shirudo upatch map assoc-shortcut assoc_sc_stats   # refused_*, audited, exempted\n```\n\nSigned defaults (`config.list`): `mode=enforce` (or `audit`: allow and\ncount), `exempt_uid=\u003cuid\u003e` (up to 16; real and effective UID both listed;\nneither checked nor counted). Other settings need a package signed with\nyour own key. Uninstall once the fixed kernel runs.\n\n## References\n\n- CVE-2026-99567; introduced by 3cb989501c26 (3.13)\n- Fix: 48691075b0ad (\"assoc_array: don't chain a new shortcut onto an existing one\"),\n  7.4-rc4; stable 6.12.118, 6.18.64, 7.3.5\n"
    }
  ],
  "fetched_at": "2026-11-26T22:19:01Z"
}
