eBPF-based security platform
upatches: keep three kernel-cve examples
Daniel Borkmannd459eb8af156
diff --git a/upatches/kernel-cve/kernel-cve.bee b/upatches/kernel-cve/kernel-cve.beeindex e4e8c9c7..82f51e08 100644--- a/upatches/kernel-cve/kernel-cve.bee+++ b/upatches/kernel-cve/kernel-cve.bee@@ -21,91 +21,6 @@ architecture = ["x86_64"][upatches.tree.selector.kconfig]CONFIG_E1000 = ["y", "m"]-[[upatches]]-source = "sources/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/cve_2025_71116-offset-predicate.bpf.c"-load_target = "upatches/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted.upatch"--[upatches.tree]-id = "cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted"-load_artifact = "upatches/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted.upatch"-unload_artifact = "upatches/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_CEPH_LIB = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/cve-2026-23003-caller-offset.bpf.c"-load_target = "upatches/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl.upatch"--[upatches.tree]-id = "cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl"-load_artifact = "upatches/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl.upatch"-unload_artifact = "upatches/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_IPV6_TUNNEL = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/cve-2026-23315-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write.upatch"--[upatches.tree]-id = "cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write"-load_artifact = "upatches/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write.upatch"-unload_artifact = "upatches/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_MT76_CORE = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/cve-2026-31393-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length.upatch"--[upatches.tree]-id = "cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length"-load_artifact = "upatches/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length.upatch"-unload_artifact = "upatches/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BT = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/cve-2026-31674-rt-mt6-detector.bpf.c"-load_target = "upatches/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6.upatch"--[upatches.tree]-id = "cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6"-load_artifact = "upatches/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6.upatch"-unload_artifact = "upatches/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_IP6_NF_MATCH_RT = ["y", "m"]-[[upatches]]source = "sources/cve-2026-31675-net-sched-sch-netem-oob-access-packet-corruption/observability/cve-2026-31675-netem-detector.bpf.c"load_target = "upatches/cve-2026-31675-net-sched-sch-netem-oob-access-packet-corruption.upatch"@@ -123,298 +38,6 @@ architecture = ["x86_64"][upatches.tree.selector.kconfig]CONFIG_NET_SCH_NETEM = ["y", "m"]-[[upatches]]-source = "sources/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/cve_2026_31682-offset-predicate.bpf.c"-load_target = "upatches/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd.upatch"--[upatches.tree]-id = "cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd"-load_artifact = "upatches/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd.upatch"-unload_artifact = "upatches/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BRIDGE = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/cve-2026-31685-eui64-detector.bpf.c"-load_target = "upatches/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all.upatch"--[upatches.tree]-id = "cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all"-load_artifact = "upatches/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all.upatch"-unload_artifact = "upatches/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_IP6_NF_MATCH_EUI64 = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/cve-2026-31694-fuse-emit-detector.bpf.c"-load_target = "upatches/cve-2026-31694-fuse-reject-oversized-dirents-page-cache.upatch"--[upatches.tree]-id = "cve-2026-31694-fuse-reject-oversized-dirents-page-cache"-load_artifact = "upatches/cve-2026-31694-fuse-reject-oversized-dirents-page-cache.upatch"-unload_artifact = "upatches/cve-2026-31694-fuse-reject-oversized-dirents-page-cache.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_FUSE_FS = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/cve-2026-43062-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp.upatch"--[upatches.tree]-id = "cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp"-load_artifact = "upatches/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp.upatch"-unload_artifact = "upatches/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BT = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/cve-2026-43281-mailbox-detector.bpf.c"-load_target = "upatches/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate.upatch"--[upatches.tree]-id = "cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate"-load_artifact = "upatches/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate.upatch"-unload_artifact = "upatches/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_MAILBOX = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/cve_2026_52906-offset-predicate.bpf.c"-load_target = "upatches/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced.upatch"--[upatches.tree]-id = "cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced"-load_artifact = "upatches/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced.upatch"-unload_artifact = "upatches/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_9P_FS = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/cve-2026-52915-hbh-check-detector.bpf.c"-load_target = "upatches/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists.upatch"--[upatches.tree]-id = "cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists"-load_artifact = "upatches/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists.upatch"-unload_artifact = "upatches/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_IP6_NF_MATCH_OPTS = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/cve-2026-52942-mac-header-detector.bpf.c"-load_target = "upatches/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set.upatch"--[upatches.tree]-id = "cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set"-load_artifact = "upatches/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set.upatch"-unload_artifact = "upatches/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_NF_LOG_SYSLOG = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/cve-2026-52974-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx.upatch"--[upatches.tree]-id = "cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx"-load_artifact = "upatches/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx.upatch"-unload_artifact = "upatches/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_TLS = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/cve-2026-53043-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions.upatch"--[upatches.tree]-id = "cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions"-load_artifact = "upatches/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions.upatch"-unload_artifact = "upatches/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_OCFS2_FS_O2CB = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/cve-2026-53078-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer.upatch"--[upatches.tree]-id = "cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer"-load_artifact = "upatches/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer.upatch"-unload_artifact = "upatches/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BPF_SYSCALL = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/cve-2026-53092-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst.upatch"--[upatches.tree]-id = "cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst"-load_artifact = "upatches/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst.upatch"-unload_artifact = "upatches/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BPF_SYSCALL = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/cve-2026-53194-candidate.bpf.c"-load_target = "upatches/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow.upatch"--[upatches.tree]-id = "cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow"-load_artifact = "upatches/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow.upatch"-unload_artifact = "upatches/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_USB_SERIAL_KLSI = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/cve-2026-53255-tlv-detector.bpf.c"-load_target = "upatches/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks.upatch"--[upatches.tree]-id = "cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks"-load_artifact = "upatches/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks.upatch"-unload_artifact = "upatches/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BT = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/cve-2026-63915-hcp-detector.bpf.c"-load_target = "upatches/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing.upatch"--[upatches.tree]-id = "cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing"-load_artifact = "upatches/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing.upatch"-unload_artifact = "upatches/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_NFC = ["y", "m"]-CONFIG_NFC_DIGITAL = ["y", "m"]-CONFIG_NFC_HCI = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/cve-2026-63947-candidate.bpf.c"-load_target = "upatches/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report.upatch"--[upatches.tree]-id = "cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report"-load_artifact = "upatches/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report.upatch"-unload_artifact = "upatches/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BT = ["y", "m"]-CONFIG_BT_HIDP = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/cve-2026-63976-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success.upatch"--[upatches.tree]-id = "cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success"-load_artifact = "upatches/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success.upatch"-unload_artifact = "upatches/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_BT = ["y", "m"]-[[upatches]]source = "sources/cve-2026-63984-ipv6-rpl-hdrlen-overflow-ipv6-rpl-srh-decompress/observability/cve-2026-63984-rpl-detector.bpf.c"load_target = "upatches/cve-2026-63984-ipv6-rpl-hdrlen-overflow-ipv6-rpl-srh-decompress.upatch"@@ -431,101 +54,3 @@ architecture = ["x86_64"][upatches.tree.selector.kconfig]CONFIG_IPV6 = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/cve-2026-63992-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check.upatch"--[upatches.tree]-id = "cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check"-load_artifact = "upatches/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check.upatch"-unload_artifact = "upatches/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_INET = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/cve-2026-64036-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access.upatch"--[upatches.tree]-id = "cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access"-load_artifact = "upatches/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access.upatch"-unload_artifact = "upatches/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_CGROUPS = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/cve_2026_64116-offset-predicate.bpf.c"-load_target = "upatches/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop.upatch"--[upatches.tree]-id = "cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop"-load_artifact = "upatches/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop.upatch"-unload_artifact = "upatches/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_IPV6 = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/cve-2026-64133-caller-predicate.bpf.c"-load_target = "upatches/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache.upatch"--[upatches.tree]-id = "cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache"-load_artifact = "upatches/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache.upatch"-unload_artifact = "upatches/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_SND_ASIHPI = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/cve-2026-80725-big-tcp-gro-observe.bpf.c"-load_target = "upatches/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria.upatch"--[upatches.tree]-id = "cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria"-load_artifact = "upatches/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria.upatch"-unload_artifact = "upatches/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["7.2"]-kernel_build_id = ["534043106db415bc0a983a3393e06c81b431bd39"]-architecture = ["x86_64"]--[upatches.tree.selector.kconfig]-CONFIG_NET = ["y", "m"]--[[upatches]]-source = "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c"-load_target = "upatches/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received.upatch"--[upatches.tree]-id = "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received"-load_artifact = "upatches/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received.upatch"-unload_artifact = "upatches/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received.unload.upatch"--[upatches.tree.selector]-kernel_release_prefix = ["6.1"]-architecture = ["x86_64"]diff --git a/upatches/kernel-cve/manifest.json b/upatches/kernel-cve/manifest.jsonindex 08f7a7c6..2309ccf3 100644--- a/upatches/kernel-cve/manifest.json+++ b/upatches/kernel-cve/manifest.json@@ -11,7 +11,7 @@"per_entry_source_dirs": "kernel-cve/sources/","rebuild_notes": "kernel-cve/REBUILD.md"},- "count": 31,+ "count": 3,"generated_at": "2026-09-18T20:24:50Z","records": [{@@ -40,136 +40,6 @@"upatch_included": false,"upatch_name": "cve-2025-71093-candidate-bpf-obs"},- {- "archive_path": null,- "archive_slug": "cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted",- "artifact_sha256": "9a4eff4ae0a6085255fc6f2fabf0fefebf15f4c2980e1a427e4271c68516a0dd",- "cve": "CVE-2025-71116",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "9a4eff4ae0a6085255fc6f2fabf0fefebf15f4c2980e1a427e4271c68516a0dd",- "payload_sha256": "36a01ef500f4966eb1faa273d5e138003061660f157a7c6c178e3e14fde1627c",- "predicate_materialization_status": "queued_source_fix_review",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted",- "source_archive_path": "sources/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/cve_2025_71116-offset-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2025-71116-caller-__decode_pools-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl",- "artifact_sha256": "65bb71c92851fc76624645ff555a8398f53057a906a9fc0c59993b41883b8c32",- "cve": "CVE-2026-23003",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "65bb71c92851fc76624645ff555a8398f53057a906a9fc0c59993b41883b8c32",- "payload_sha256": "ece3dd08aa331a0860ba3969f08fba4c47fbc5fc1eb7425b0702ce146f218c7b",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl",- "source_archive_path": "sources/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/cve-2026-23003-caller-offset.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-23003-caller-offset"- },- {- "archive_path": null,- "archive_slug": "cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write",- "artifact_sha256": "13618a813727ce3c20df06699fc0ff15da21fcd62ec02ac915a77de02857bffb",- "cve": "CVE-2026-23315",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "a1ac500098980cfc91c712a0134a6ac53ee82463bf31c8125d06074ab21469b7",- "payload_sha256": "0304aa4d10365ca75e41d51e15312e9e66a32bc27eaf255235e97f47a8e81f27",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write",- "source_archive_path": "sources/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/cve-2026-23315-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-23315-caller-mt76_connac2_mac_write_txwi-obs-bpf"- },- {- "archive_path": null,- "archive_slug": "cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length",- "artifact_sha256": "c15282e4568a11b1c9e09875f6220d400ae617e87f778d5fad3335e04cc62583",- "cve": "CVE-2026-31393",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "13f17b27d52ec732e96a7a78cc41da7df17d887d68cbe3c31d2e0d55ce2e0699",- "payload_sha256": "1b9c2c39ddfebb459c94272e5806607c0c15a1fa3154bd77ab4237010de94c81",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length",- "source_archive_path": "sources/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/cve-2026-31393-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-31393-caller-boundary"- },- {- "archive_path": null,- "archive_slug": "cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6",- "artifact_sha256": "59e6d3ea408450b021885aad9a991e1f33f8ad9dfa010226839e8bfef27f86e1",- "cve": "CVE-2026-31674",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "59e6d3ea408450b021885aad9a991e1f33f8ad9dfa010226839e8bfef27f86e1",- "payload_sha256": "b6e63a04a6fb2ea950dd91ef93a383f30b2eb38d9d3628f3c4fc4a140b0f84ec",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6",- "source_archive_path": "sources/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/cve-2026-31674-rt-mt6-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-31674-candidate-bpf-obs"- },{"archive_path": null,"archive_slug": "cve-2026-31675-net-sched-sch-netem-oob-access-packet-corruption",@@ -196,448 +66,6 @@"upatch_included": false,"upatch_name": "cve-2026-31675-candidate-bpf-obs"},- {- "archive_path": null,- "archive_slug": "cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd",- "artifact_sha256": "b84ac6766d45b3ff65c2ab705e3c16e88a8b12e061aee9f829c6816c91397062",- "cve": "CVE-2026-31682",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "b84ac6766d45b3ff65c2ab705e3c16e88a8b12e061aee9f829c6816c91397062",- "payload_sha256": "9ddd7ae4c53b567789b58c9969f34cd2918720c1e3d65860fb7cfcd59ca93b20",- "predicate_materialization_status": "queued_source_fix_review",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd",- "source_archive_path": "sources/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/cve_2026_31682-offset-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-31682-caller-br_do_suppress_nd-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all",- "artifact_sha256": "dac7cbd2b7902613ae98e3aaa47987c488d0d440643d9cef510e9d1e8040b2d7",- "cve": "CVE-2026-31685",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "dac7cbd2b7902613ae98e3aaa47987c488d0d440643d9cef510e9d1e8040b2d7",- "payload_sha256": "757d19b4ca2b08b75939d395fced95cdebd28c8fdefdefbac47467324a36b16d",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all",- "source_archive_path": "sources/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/cve-2026-31685-eui64-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-31685-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-31694-fuse-reject-oversized-dirents-page-cache",- "artifact_sha256": "92693f30d3f5f9b13b5900ec8bba8b72fa428eb27f47f3f2e4da617b06566c31",- "cve": "CVE-2026-31694",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "92693f30d3f5f9b13b5900ec8bba8b72fa428eb27f47f3f2e4da617b06566c31",- "payload_sha256": "9868f30d8d3de11a272f7a78ca7bb0b81e78f6ce03e5a329412b211bdfa3f1ab",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-31694-fuse-reject-oversized-dirents-page-cache",- "source_archive_path": "sources/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/cve-2026-31694-fuse-emit-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-31694-caller-fuse_emit-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp",- "artifact_sha256": "e2ba606c105f4428a26e6a1f8074b97218ba1e6c6bd5283865c26044d674e093",- "cve": "CVE-2026-43062",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "64145302b7c187641f41b1eb0d4798378169fc09d6ae257a8835a63a9f3423de",- "payload_sha256": "d19ab23a19313e6b5bf96b30e7db47d5446d16a827b8e9d2b39456f030d02264",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp",- "source_archive_path": "sources/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/cve-2026-43062-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-43062-caller-boundary"- },- {- "archive_path": null,- "archive_slug": "cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate",- "artifact_sha256": "7c57ab88d6303a070d0d5226ce70cca7f5b94c6f7c813363a3d46afcab42bcc8",- "cve": "CVE-2026-43281",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "7c57ab88d6303a070d0d5226ce70cca7f5b94c6f7c813363a3d46afcab42bcc8",- "payload_sha256": "0bd75a21c2ddc4e0df7f15e1a417bd5fbbd8e89ae3dff8929cfe66d9fb89d507",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate",- "source_archive_path": "sources/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/cve-2026-43281-mailbox-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-43281-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced",- "artifact_sha256": "c0fb970b0313afe5129928781f6d35cd075d7e4a3eb47ab29a41004b688b775a",- "cve": "CVE-2026-52906",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "c0fb970b0313afe5129928781f6d35cd075d7e4a3eb47ab29a41004b688b775a",- "payload_sha256": "95412a695dbef904a4bb13e95b3ebb03f26fc4631c7be062adbd1198d0dad9f5",- "predicate_materialization_status": "queued_source_fix_review",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced",- "source_archive_path": "sources/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/cve_2026_52906-offset-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-52906-caller-v9fs_session_init-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists",- "artifact_sha256": "059243fa177873a64a63bd1712370f7da9183e4c514e906f3fdb7eb1b4262a88",- "cve": "CVE-2026-52915",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "059243fa177873a64a63bd1712370f7da9183e4c514e906f3fdb7eb1b4262a88",- "payload_sha256": "d928b35e873fd82a746c56d01212c88210319851ddb4d1413cabfd8908eb9f90",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists",- "source_archive_path": "sources/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/cve-2026-52915-hbh-check-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-52915-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set",- "artifact_sha256": "247c27f425c7e863b391204e381bfeb74ede6e035f0a77a88fcbbc843fe6048f",- "cve": "CVE-2026-52942",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "247c27f425c7e863b391204e381bfeb74ede6e035f0a77a88fcbbc843fe6048f",- "payload_sha256": "3be74f09140e3725ae297299cf21ca8ba8fef48641e72b281b936b069c6463b9",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set",- "source_archive_path": "sources/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/cve-2026-52942-mac-header-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-52942-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx",- "artifact_sha256": "007a8a777e03f2f640b7203f427a358fb878865b38f47fc7840137ddcb604121",- "cve": "CVE-2026-52974",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "0826ce735fa3867efc192ad26e355cf58a04a80f241ea72dc9449ef559783159",- "payload_sha256": "d2ff14fbe3fb90828e79ac3bfa5d34f40ba147b835073302c8b655e58afc57cd",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx",- "source_archive_path": "sources/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/cve-2026-52974-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-52974-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions",- "artifact_sha256": "102c4e9c24de675f30e8b9950d494707cda4a9bad14fd00d79c98908e3ba0fbf",- "cve": "CVE-2026-53043",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "4131081b7d25e28accb27e2ce028cf2a88d9e698466c0b9c693f0448350ba2e3",- "payload_sha256": "da8072016fc01b416ccd200acd732bde93eb0f707add8939326a4086a2bae9f3",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions",- "source_archive_path": "sources/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/cve-2026-53043-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-53043-caller-dlm_query_region_handler-obs-bpf"- },- {- "archive_path": null,- "archive_slug": "cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer",- "artifact_sha256": "b8f5585228f90ac6d1c1f085350675a593736914069ff86f647da087a7e59695",- "cve": "CVE-2026-53078",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "3c563dd24e64aacebc91076774755efd42df7a3fdd1589ee00f1629c1275c2b8",- "payload_sha256": "5aa555b1a9c3e615b43b17aa1af0c86032b0c78e5f49d9d48e7bac21c30f9f32",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer",- "source_archive_path": "sources/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/cve-2026-53078-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-53078-caller-boundary"- },- {- "archive_path": null,- "archive_slug": "cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst",- "artifact_sha256": "8d10fae25666118c25183111347cdf3107bd9fdfcde8387d4e1a7603e7e2e8e8",- "cve": "CVE-2026-53092",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "0f333b0ee9c5a249f42bb6e0e1cd762603ed71346bc291fdffd5ad935a2828af",- "payload_sha256": "0dbc19f6fa95e4b1069e6abc80ffb9de1926aad7b3dd8bfcb5cb954003cd5df0",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst",- "source_archive_path": "sources/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/cve-2026-53092-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-53092-caller-check_alu_op-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow",- "artifact_sha256": "f63bf45776c7aba7b19ed393d9aad717797870ec9476af86ae247ced9a9460f9",- "cve": "CVE-2026-53194",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "f63bf45776c7aba7b19ed393d9aad717797870ec9476af86ae247ced9a9460f9",- "payload_sha256": "05c610d009e2394d4b1f697213e0af5abd921c948eb0d6156e4e966919380285",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow",- "source_archive_path": "sources/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/cve-2026-53194-candidate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-53194-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks",- "artifact_sha256": "9a75835285cf172a7cc796ebbc6bfca4e0f2f63b6221a0566b6750cbd9a5a4d8",- "cve": "CVE-2026-53255",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "9a75835285cf172a7cc796ebbc6bfca4e0f2f63b6221a0566b6750cbd9a5a4d8",- "payload_sha256": "4cac3d4ee4926f40cd4cda7f71114e91d1bb5b39e9dece38fad24018ac0b3bde",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks",- "source_archive_path": "sources/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/cve-2026-53255-tlv-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-53255-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing",- "artifact_sha256": "c56557be92ab969ac78abe5355fc4eac8a730978d91887bcdc248cb3ca88e3f1",- "cve": "CVE-2026-63915",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "c56557be92ab969ac78abe5355fc4eac8a730978d91887bcdc248cb3ca88e3f1",- "payload_sha256": "a903412e12a2c138802d52080ad012721daba68465e6e2bc2cab8cba0c4e8582",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing",- "source_archive_path": "sources/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/cve-2026-63915-hcp-detector.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-63915-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report",- "artifact_sha256": "e5f2e140864e4a067d01c46bb2e4837c8a20b961861376b3510c79123cca91dc",- "cve": "CVE-2026-63947",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "e5f2e140864e4a067d01c46bb2e4837c8a20b961861376b3510c79123cca91dc",- "payload_sha256": "b894f0144776eb6be817c64839d9f93468ac259d588c8c31f94fdf1ea8fc644b",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report",- "source_archive_path": "sources/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/cve-2026-63947-candidate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-63947-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success",- "artifact_sha256": "2861be059ad12df360e84f90de943f6ecd3169c302f1f8b8fa030bb4e0747db8",- "cve": "CVE-2026-63976",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "fa7d0b9b188d6715fa65cf613fe61757b608ebf8010c2dc70bf56f045ae57a74",- "payload_sha256": "b873b77df0f07ca13a7cac3f4e6b0a3a49351625cedbaa1ea4096f5ccb5fbf42",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success",- "source_archive_path": "sources/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/cve-2026-63976-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-63976-caller-boundary"- },{"archive_path": null,"archive_slug": "cve-2026-63984-ipv6-rpl-hdrlen-overflow-ipv6-rpl-srh-decompress",@@ -663,162 +91,6 @@"status": "loaded_health_passed","upatch_included": false,"upatch_name": "cve-2026-63984-candidate-bpf-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check",- "artifact_sha256": "6b9ef8f09195eca4ddb83ad344068dffbbd788de6696f1f1c55264594e5a49a3",- "cve": "CVE-2026-63992",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "2b9f221bb92ca1795ac5d37e2e0a316a78c378ce4c7a57cf27d8da437d40358b",- "payload_sha256": "0cf26c73b595ee2db8e89b3f172610c5dd99e67f8401040b44d3b51532af8a0e",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check",- "source_archive_path": "sources/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/cve-2026-63992-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-63992-caller-skb_tunnel_check_pmtu-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access",- "artifact_sha256": "9a9450e5fc0dd84f50cf95256e1d5131b3015d9590285713df5f33a15e8e2f84",- "cve": "CVE-2026-64036",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "8ccb10dc20f98bbe08264dab8c18db847e3b2589bdec03a8a1680c11e032bed7",- "payload_sha256": "ba3baab25473aa714d1155c917e1fb1185c8d6c215e4ae2721c62c894462607d",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access",- "source_archive_path": "sources/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/cve-2026-64036-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-64036-caller-__css_rstat_updated-obs"- },- {- "archive_path": null,- "archive_slug": "cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop",- "artifact_sha256": "da2512879d6bc20a97f3bc4f1017dfa09e96b08360c18f08ebd58ebb80ae95e1",- "cve": "CVE-2026-64116",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "da2512879d6bc20a97f3bc4f1017dfa09e96b08360c18f08ebd58ebb80ae95e1",- "payload_sha256": "80f83a88c2fb7e0ba136c8ed836b7481f1d2c07acc8ebbe530df18eec07ac697",- "predicate_materialization_status": "materialized_source_derived",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop",- "source_archive_path": "sources/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/cve_2026_64116-offset-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve_2026_64116-offset-predicate"- },- {- "archive_path": null,- "archive_slug": "cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache",- "artifact_sha256": "4d881fcc31fc66b251764f48bd57a5dc4993fa6fe019f2d4fc0b806f0248d83c",- "cve": "CVE-2026-64133",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "d4dc260724ec6fe397bc643bf2ec17c32bca03d9091aacc5e75c02e4645def72",- "payload_sha256": "0c54e3cc029f79a0410bc0ce06b71438781b9c9db6e8c13553c672631a84ddeb",- "predicate_materialization_status": "materialized_caller_predicate",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache",- "source_archive_path": "sources/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/cve-2026-64133-caller-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-64133-caller-hpi_check_control_cache-obs-bpf"- },- {- "archive_path": null,- "archive_slug": "cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria",- "artifact_sha256": "20a59d12dcc0ee75986f8a38383d478b72070dca09ac8cd60668c3272fc9694f",- "cve": "CVE-2026-80725",- "health_status": "passed",- "kernel_branch": "7.2",- "kernel_release": "7.2.0-shirudo-7.2",- "metadata_path": null,- "metadata_upatch_sha256": "20a59d12dcc0ee75986f8a38383d478b72070dca09ac8cd60668c3272fc9694f",- "payload_sha256": "0d773e09d3a3608b2a9b71ada8baeb0f88c5eedf9cce8c1008056ad59b5f2c83",- "predicate_materialization_status": "materialized_source_fix_detector",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": null,- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria",- "source_archive_path": "sources/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/cve-2026-80725-big-tcp-gro-observe.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-80725-obs"- },- {- "archive_path": "upatches/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received.upatch",- "archive_slug": "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received",- "artifact_sha256": "fac52e762fd78916efd8efd978ab6f980e5d176ee4ef0190739749989914c54f",- "cve": "CVE-2026-68118",- "health_status": "passed",- "kernel_branch": "6.1",- "kernel_release": "6.1.0-shirudo-6.1",- "metadata_path": "metadata/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received.observability.json",- "metadata_upatch_sha256": "fac52e762fd78916efd8efd978ab6f980e5d176ee4ef0190739749989914c54f",- "payload_sha256": "821e269a5d7e80b3d72bf8d44c4de6d7ab5d3f88bb4ede93c32e7906692ea752",- "predicate_materialization_status": "deferred_predicate_context",- "predicate_status": "source_derived_unvalidated",- "rebuild_manifest": "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/rebuild.json",- "signer": {- "certificate_archive_path": null,- "certificate_sha256": null,- "certificate_source": null- },- "slug": "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received",- "source_archive_path": "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "source_metadata": "2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/observability.json",- "status": "loaded_health_passed",- "upatch_included": false,- "upatch_name": "cve-2026-68118-6-1-offset-predicate"}],"schema": 3,diff --git a/upatches/kernel-cve/sources/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/cve_2025_71116-offset-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/cve_2025_71116-offset-predicate.bpf.cdeleted file mode 100644index 02ba387d..00000000--- a/upatches/kernel-cve/sources/cve-2025-71116-libceph-make-decode-pool-more-resilient-against-corrupted/observability/cve_2025_71116-offset-predicate.bpf.c+++ /dev/null@@ -1,60 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2025-71116 exact-image predicate candidate.- *- * This is a source-derived observation predicate, not an enforcement patch.- * The hook is tied to the recorded kernel image and the register mapping in- * observability.json. Counter-trigger validation is still required.- */-#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_map(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define count_activity() count_map(&activity)-#define count_event() count_map(&hits)--SEC("kprobe/__decode_pools+0x0")-int BPF_KPROBE(cve_2025_71116_predicate)-{- void *cursor = 0;- void *end = (void *)ctx->si;- __u64 paddr = ctx->di;-- count_activity();- if (!paddr || !end ||- bpf_probe_read_kernel(&cursor, sizeof(cursor), (void *)paddr))- return 0;- if (!cursor || (unsigned long)cursor >= (unsigned long)end ||- (unsigned long)end - (unsigned long)cursor < sizeof(__u32))- count_event();- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/cve-2026-23003-caller-offset.bpf.c b/upatches/kernel-cve/sources/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/cve-2026-23003-caller-offset.bpf.cdeleted file mode 100644index 532c5223..00000000--- a/upatches/kernel-cve/sources/cve-2026-23003-ip6-tunnel-skb-vlan-inet-prepare-ip6-tnl/observability/cve-2026-23003-caller-offset.bpf.c+++ /dev/null@@ -1,72 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-23003 observation repair for one exact 7.2 image.- *- * skb_vlan_inet_prepare() is inline and is not a kprobe target. On- * __ip6_tnl_rcv.isra.0 from commit 8d3ae59288f1, offset 0xfb is the- * instruction immediately before the unsigned available-length comparison- * shared by the inlined pull check. At that point ax is the required length,- * r10 is the available length, and rbx is the skb. This is intentionally- * exact-image-only evidence; it is not portable to another build.- */--#include "vmlinux.h"-#include <bpf/bpf_core_read.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/__ip6_tnl_rcv.isra.0+0xfb")-int BPF_KPROBE(cve_2026_23003_vlan_pull_check)-{- struct sk_buff *skb = (struct sk_buff *)ctx->bx;- __be16 protocol = 0;-- count_event(&activity);- if (!skb)- return 0;-- protocol = BPF_CORE_READ(skb, protocol);- protocol = __builtin_bswap16(protocol);- if (protocol != 0x8100 && protocol != 0x88a8)- return 0;-- if ((__u32)ctx->r10 < (__u32)ctx->ax)- count_event(&hits);-- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/cve-2026-23315-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/cve-2026-23315-caller-predicate.bpf.cdeleted file mode 100644index 4c355abf..00000000--- a/upatches/kernel-cve/sources/cve-2026-23315-wifi-mt76-oob-access-mt76-connac2-mac-write/observability/cve-2026-23315-caller-predicate.bpf.c+++ /dev/null@@ -1,61 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--/*- * 7.2 source evidence: mt76_connac2_mac_write_txwi() passes skb as arg3 to- * mt76_connac2_mac_write_txwi_80211(); the vulnerable helper reads the action- * fields only after the IEEE80211_MIN_ACTION_SIZE check.- */-SEC("kprobe/mt76_connac2_mac_write_txwi")-int BPF_KPROBE(cve_2026_23315_caller_predicate,- void *dev, void *txwi, struct sk_buff *skb)-{- __u32 len;-- count_event(&activity);- if (!skb)- return 0;- len = BPF_CORE_READ(skb, len);- if (len < 28)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/cve-2026-31393-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/cve-2026-31393-caller-predicate.bpf.cdeleted file mode 100644index 44569539..00000000--- a/upatches/kernel-cve/sources/cve-2026-31393-bluetooth-l2cap-validate-l2cap-info-rsp-payload-length/observability/cve-2026-31393-caller-predicate.bpf.c+++ /dev/null@@ -1,111 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--struct l2cap_wire_hdr {- __u16 len;- __u16 cid;-};--struct l2cap_cmd_wire {- __u8 code;- __u8 ident;- __u16 len;-};--struct l2cap_info_wire {- __u16 type;- __u16 result;-};--static __always_inline int read_l2cap_command(struct sk_buff *skb,- struct l2cap_wire_hdr *lh,- struct l2cap_cmd_wire *cmd,- const void **payload)-{- const void *data;- __u32 len;-- if (!skb)- return 0;- data = BPF_CORE_READ(skb, data);- len = BPF_CORE_READ(skb, len);- if (!data || len < sizeof(*lh) + sizeof(*cmd))- return 0;- if (bpf_probe_read_kernel(lh, sizeof(*lh), data))- return 0;- if (bpf_probe_read_kernel(cmd, sizeof(*cmd), data + sizeof(*lh)))- return 0;- *payload = data + sizeof(*lh) + sizeof(*cmd);- return 1;-}--#define L2CAP_CID_SIGNALING 0x0001-#define L2CAP_INFO_RSP 0x0b-#define L2CAP_IT_FEAT_MASK 0x0002-#define L2CAP_IR_SUCCESS 0x0000--SEC("kprobe/l2cap_recv_frame")-int BPF_KPROBE(cve_2026_31393_l2cap, void *conn,- struct sk_buff *skb)-{- struct l2cap_wire_hdr lh = {};- struct l2cap_cmd_wire cmd = {};- struct l2cap_info_wire info = {};- const void *payload;- __u16 cid, cmd_len, type, result;-- count_event(&activity);- if (!read_l2cap_command(skb, &lh, &cmd, &payload))- return 0;- cid = bpf_ntohs(lh.cid);- cmd_len = bpf_ntohs(cmd.len);- if (cid != L2CAP_CID_SIGNALING || cmd.code != L2CAP_INFO_RSP ||- cmd_len < sizeof(info) || cmd_len >= sizeof(info) + sizeof(__u32))- return 0;- if (bpf_probe_read_kernel(&info, sizeof(info), payload))- return 0;- type = bpf_ntohs(info.type);- result = bpf_ntohs(info.result);- if (type == L2CAP_IT_FEAT_MASK && result == L2CAP_IR_SUCCESS)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/cve-2026-31674-rt-mt6-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/cve-2026-31674-rt-mt6-detector.bpf.cdeleted file mode 100644index 7b077267..00000000--- a/upatches/kernel-cve/sources/cve-2026-31674-netfilter-ip6t-rt-reject-oversized-addrnr-rt-mt6/observability/cve-2026-31674-rt-mt6-detector.bpf.c+++ /dev/null@@ -1,89 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-31674 source-derived detector.- *- * The kernel fix rejects a rule at rt_mt6_check() entry when the user- * supplied ip6t_rt.addrnr exceeds IP6T_RT_HOPS. This detector observes that- * same condition before the kernel's validation returns -EINVAL.- *- * The two layouts below are intentionally local ABI descriptions. This- * target is a static module function and the supplied vmlinux.h did not- * expose the private x_tables/ip6t types. The offsets are recorded in the- * campaign metadata and must be rechecked for another architecture/build.- */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--#define IP6T_RT_HOPS 16-#define XT_MTCHK_MATCHINFO_OFFSET 32--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--/* UAPI ip6t_rt layout through addrnr; addrnr is byte offset 278. */-struct cve_ip6t_rt_layout {- __u32 rt_type;- __u32 segsleft[2];- __u32 hdrlen;- __u8 flags;- __u8 invflags;- __u8 addrs[IP6T_RT_HOPS][16];- __u8 addrnr;-};--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/rt_mt6_check")-int BPF_KPROBE(cve_2026_31674_rt_mt6, void *par)-{- void *matchinfo = 0;- __u8 addrnr = 0;-- count_event(&activity);- if (!par)- return 0;- if (bpf_probe_read_kernel(&matchinfo, sizeof(matchinfo),- (char *)par + XT_MTCHK_MATCHINFO_OFFSET))- return 0;- if (!matchinfo)- return 0;- if (bpf_probe_read_kernel(&addrnr, sizeof(addrnr),- &((struct cve_ip6t_rt_layout *)matchinfo)->addrnr))- return 0;-- if (addrnr > IP6T_RT_HOPS)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/cve_2026_31682-offset-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/cve_2026_31682-offset-predicate.bpf.cdeleted file mode 100644index 212cba08..00000000--- a/upatches/kernel-cve/sources/cve-2026-31682-bridge-br-nd-send-linearize-skb-parsing-nd/observability/cve_2026_31682-offset-predicate.bpf.c+++ /dev/null@@ -1,59 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-31682 exact-image predicate candidate.- *- * This is a source-derived observation predicate, not an enforcement patch.- * The hook is tied to the recorded kernel image and the register mapping in- * observability.json. Counter-trigger validation is still required.- */-#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_map(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define count_activity() count_map(&activity)-#define count_event() count_map(&hits)--SEC("kprobe/br_do_suppress_nd+0x0")-int BPF_KPROBE(cve_2026_31682_predicate)-{- struct sk_buff *skb = (struct sk_buff *)ctx->di;- __u32 len, data_len;-- count_activity();- if (!skb)- return 0;- len = BPF_CORE_READ(skb, len);- data_len = BPF_CORE_READ(skb, data_len);- if (data_len && data_len <= len)- count_event();- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/cve-2026-31685-eui64-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/cve-2026-31685-eui64-detector.bpf.cdeleted file mode 100644index a4d91882..00000000--- a/upatches/kernel-cve/sources/cve-2026-31685-netfilter-ip6t-eui64-reject-invalid-mac-header-all/observability/cve-2026-31685-eui64-detector.bpf.c+++ /dev/null@@ -1,72 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-31685 source-derived detector.- *- * eui64_mt6() must reject a packet before eth_hdr() when the MAC header is- * outside the skb head/data range. The fix removes an erroneous fragoff- * exemption; this probe observes the invalid-header predicate directly.- */--#include "vmlinux.h"-#include <bpf/bpf_core_read.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--#define ETH_HLEN 14--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/eui64_mt6")-int BPF_KPROBE(cve_2026_31685_eui64, struct sk_buff *skb)-{- unsigned char *head;- unsigned char *data;- __u16 mac_header;- unsigned char *mac;-- count_event(&activity);- if (!skb)- return 0;- head = BPF_CORE_READ(skb, head);- data = BPF_CORE_READ(skb, data);- mac_header = BPF_CORE_READ(skb, mac_header);- if (!head || !data)- return 0;- mac = head + mac_header;- if (mac < head || mac + ETH_HLEN > data)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/cve-2026-31694-fuse-emit-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/cve-2026-31694-fuse-emit-detector.bpf.cdeleted file mode 100644index 56b2e852..00000000--- a/upatches/kernel-cve/sources/cve-2026-31694-fuse-reject-oversized-dirents-page-cache/observability/cve-2026-31694-fuse-emit-detector.bpf.c+++ /dev/null@@ -1,107 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-31694 source-derived detector.- *- * fuse_add_dirent_to_cache() computes FUSE_DIRENT_SIZE(dirent) and the fix- * returns before memcpy() when that aligned record exceeds PAGE_SIZE. The- * helper is static, so this detector lifts the predicate to fuse_emit(), its- * caller, where file and dirent are arguments.- *- * fuse_file is private to the module and is not present in this vmlinux.h.- * The prefix and offsets are copied from fs/fuse/fuse_i.h for the x86_64- * kernel image used by this campaign. They must be rechecked for another- * kernel ABI/build.- */--#include "vmlinux.h"-#include <bpf/bpf_core_read.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--#define FOPEN_CACHE_DIR (1U << 3)-#define FUSE_NAME_OFFSET 24-#define PAGE_SIZE 4096--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--struct cve_fuse_dirent_layout {- __u64 ino;- __u64 off;- __u32 namelen;- __u32 type;-};--/* fm, args, kh, fh, nodeid, refcount_t, then open_flags. */-struct cve_fuse_file_prefix {- void *fm;- void *args;- __u64 kh;- __u64 fh;- __u64 nodeid;- __u32 count;- __u32 open_flags;-};--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/fuse_emit")-int BPF_KPROBE(cve_2026_31694_fuse_emit, struct file *file,- void *dir_ctx, struct cve_fuse_dirent_layout *dirent)-{- void *private_data = 0;- __u32 open_flags = 0;- __u32 namelen = 0;- __u64 reclen;-- count_event(&activity);- if (!file || !dirent)- return 0;- private_data = BPF_CORE_READ(file, private_data);- if (!private_data)- return 0;- if (bpf_probe_read_kernel(&open_flags, sizeof(open_flags),- (char *)private_data + 48))- return 0;- if (!(open_flags & FOPEN_CACHE_DIR))- return 0;- if (bpf_probe_read_kernel(&namelen, sizeof(namelen),- &dirent->namelen))- return 0;-- /* FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + namelen). */- reclen = ((__u64)FUSE_NAME_OFFSET + namelen + 7) & ~7ULL;- if (reclen > PAGE_SIZE)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/cve-2026-43062-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/cve-2026-43062-caller-predicate.bpf.cdeleted file mode 100644index ab83fd02..00000000--- a/upatches/kernel-cve/sources/cve-2026-43062-bluetooth-l2cap-type-confusion-l2cap-ecred-reconf-rsp/observability/cve-2026-43062-caller-predicate.bpf.c+++ /dev/null@@ -1,103 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--struct l2cap_wire_hdr {- __u16 len;- __u16 cid;-};--struct l2cap_cmd_wire {- __u8 code;- __u8 ident;- __u16 len;-};--struct l2cap_info_wire {- __u16 type;- __u16 result;-};--static __always_inline int read_l2cap_command(struct sk_buff *skb,- struct l2cap_wire_hdr *lh,- struct l2cap_cmd_wire *cmd,- const void **payload)-{- const void *data;- __u32 len;-- if (!skb)- return 0;- data = BPF_CORE_READ(skb, data);- len = BPF_CORE_READ(skb, len);- if (!data || len < sizeof(*lh) + sizeof(*cmd))- return 0;- if (bpf_probe_read_kernel(lh, sizeof(*lh), data))- return 0;- if (bpf_probe_read_kernel(cmd, sizeof(*cmd), data + sizeof(*lh)))- return 0;- *payload = data + sizeof(*lh) + sizeof(*cmd);- return 1;-}--#define L2CAP_CID_LE_SIGNALING 0x0005-#define L2CAP_ECRED_RECONF_RSP 0x1a--SEC("kprobe/l2cap_recv_frame")-int BPF_KPROBE(cve_2026_43062_l2cap, void *conn,- struct sk_buff *skb)-{- struct l2cap_wire_hdr lh = {};- struct l2cap_cmd_wire cmd = {};- const void *payload;- __u16 cid, cmd_len;-- count_event(&activity);- if (!read_l2cap_command(skb, &lh, &cmd, &payload))- return 0;- cid = bpf_ntohs(lh.cid);- cmd_len = bpf_ntohs(cmd.len);- if (cid == L2CAP_CID_LE_SIGNALING &&- cmd.code == L2CAP_ECRED_RECONF_RSP &&- cmd_len >= sizeof(__u16) && cmd_len < 8)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/cve-2026-43281-mailbox-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/cve-2026-43281-mailbox-detector.bpf.cdeleted file mode 100644index 753343d1..00000000--- a/upatches/kernel-cve/sources/cve-2026-43281-mailbox-oob-access-fw-mbox-index-xlate/observability/cve-2026-43281-mailbox-detector.bpf.c+++ /dev/null@@ -1,61 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-43281 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/fw_mbox_index_xlate")-int BPF_KPROBE(cve_2026_43281_mailbox,- struct mbox_controller *mbox,- const struct fwnode_reference_args *sp)-{- __u32 nargs;- __u64 index;- int num_chans;-- count_event(&activity);- if (!mbox || !sp)- return 0;-- nargs = BPF_CORE_READ(sp, nargs);- num_chans = BPF_CORE_READ(mbox, num_chans);- if (nargs < 1) {- count_event(&hits);- return 0;- }-- index = BPF_CORE_READ(sp, args[0]);- if (index >= (__u32)num_chans)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/cve_2026_52906-offset-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/cve_2026_52906-offset-predicate.bpf.cdeleted file mode 100644index 5905b15a..00000000--- a/upatches/kernel-cve/sources/cve-2026-52906-9p-access-mode-flags-being-ored-instead-replaced/observability/cve_2026_52906-offset-predicate.bpf.c+++ /dev/null@@ -1,58 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-52906 exact-image predicate candidate.- *- * This is a source-derived observation predicate, not an enforcement patch.- * The hook is tied to the recorded kernel image and the register mapping in- * observability.json. Counter-trigger validation is still required.- */-#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_map(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define count_activity() count_map(&activity)-#define count_event() count_map(&hits)--SEC("kprobe/v9fs_session_init+0x0")-int BPF_KPROBE(cve_2026_52906_predicate)-{- struct v9fs_session_info *v9ses = (struct v9fs_session_info *)ctx->di;- __u32 flags;-- count_activity();- if (!v9ses)- return 0;- flags = BPF_CORE_READ(v9ses, flags);- if ((flags & (0x08U | 0x10U)) == (0x08U | 0x10U))- count_event();- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/cve-2026-52915-hbh-check-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/cve-2026-52915-hbh-check-detector.bpf.cdeleted file mode 100644index 4704f46a..00000000--- a/upatches/kernel-cve/sources/cve-2026-52915-netfilter-ip6t-hbh-reject-oversized-option-lists/observability/cve-2026-52915-hbh-check-detector.bpf.c+++ /dev/null@@ -1,83 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-52915 source-derived detector.- *- * hbh_mt6_check() rejects an ip6t_opts rule whose optsnr exceeds the fixed- * IP6T_OPTS_OPTSNR array bound. The private x_tables parameter type is not- * exposed in the selected vmlinux.h, so this records the x86_64 ABI offsets- * used to reach matchinfo. Recheck them for another architecture/build.- */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--#define IP6T_OPTS_OPTSNR 16-#define XT_MTCHK_MATCHINFO_OFFSET 32--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--/* UAPI ip6t_opts layout: optsnr follows the fixed 16-entry u16 array. */-struct cve_ip6t_opts_layout {- __u32 hdrlen;- __u8 flags;- __u8 invflags;- __u16 opts[IP6T_OPTS_OPTSNR];- __u8 optsnr;-};--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/hbh_mt6_check")-int BPF_KPROBE(cve_2026_52915_hbh_check, void *par)-{- void *matchinfo = 0;- __u8 optsnr = 0;-- count_event(&activity);- if (!par)- return 0;- if (bpf_probe_read_kernel(&matchinfo, sizeof(matchinfo),- (char *)par + XT_MTCHK_MATCHINFO_OFFSET))- return 0;- if (!matchinfo)- return 0;- if (bpf_probe_read_kernel(&optsnr, sizeof(optsnr),- &((struct cve_ip6t_opts_layout *)matchinfo)->optsnr))- return 0;-- if (optsnr > IP6T_OPTS_OPTSNR)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/cve-2026-52942-mac-header-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/cve-2026-52942-mac-header-detector.bpf.cdeleted file mode 100644index 01648c65..00000000--- a/upatches/kernel-cve/sources/cve-2026-52942-netfilter-nf-log-validate-mac-header-was-set/observability/cve-2026-52942-mac-header-detector.bpf.c+++ /dev/null@@ -1,50 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-52942 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>-#include <bpf/bpf_core_read.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/dump_mac_header")-int BPF_KPROBE(cve_2026_52942_mac, void *logbuf, void *info,- const struct sk_buff *skb)-{- __u16 mac_header;-- count_event(&activity);- if (!skb)- return 0;- mac_header = BPF_CORE_READ(skb, mac_header);- if (mac_header == (__u16)~0U)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/cve-2026-52974-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/cve-2026-52974-caller-predicate.bpf.cdeleted file mode 100644index c9a8face..00000000--- a/upatches/kernel-cve/sources/cve-2026-52974-net-tls-strparser-anchor-skb-leak-offload-rx/observability/cve-2026-52974-caller-predicate.bpf.c+++ /dev/null@@ -1,75 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--struct {- __uint(type, BPF_MAP_TYPE_LRU_HASH);- __uint(max_entries, 4096);- __type(key, __u64);- __type(value, __u8);-} rx_calls SEC(".maps");--SEC("kprobe/do_tls_setsockopt_conf")-int BPF_KPROBE(cve_2026_52974_tls_enter, struct sock *sk,- void *optval, unsigned int optlen, int tx)-{- __u64 key = bpf_get_current_pid_tgid();- __u8 one = 1;-- count_event(&activity);- if (!tx)- bpf_map_update_elem(&rx_calls, &key, &one, BPF_ANY);- return 0;-}--SEC("kretprobe/do_tls_setsockopt_conf")-int BPF_KRETPROBE(cve_2026_52974_tls_exit)-{- __u64 key = bpf_get_current_pid_tgid();- __u8 *rx = bpf_map_lookup_elem(&rx_calls, &key);- long ret = PT_REGS_RC(ctx);-- if (rx && ret < 0)- count_event(&hits);- if (rx)- bpf_map_delete_elem(&rx_calls, &key);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/cve-2026-53043-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/cve-2026-53043-caller-predicate.bpf.cdeleted file mode 100644index 285f3072..00000000--- a/upatches/kernel-cve/sources/cve-2026-53043-ocfs2-dlm-validate-qr-numregions-dlm-match-regions/observability/cve-2026-53043-caller-predicate.bpf.c+++ /dev/null@@ -1,64 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define O2NET_MSG_BUF_OFFSET 24-#define DLM_QUERY_REGION_NUMREGIONS_OFFSET 1-#define O2NM_MAX_REGIONS 8--SEC("kprobe/dlm_query_region_handler")-int BPF_KPROBE(cve_2026_53043_caller_predicate,- void *msg, __u32 len)-{- __u8 numregions = 0;- const char *qr;-- count_event(&activity);- if (!msg || len < O2NET_MSG_BUF_OFFSET + 2)- return 0;- qr = (const char *)msg + O2NET_MSG_BUF_OFFSET;- if (bpf_probe_read_kernel(&numregions, sizeof(numregions),- qr + DLM_QUERY_REGION_NUMREGIONS_OFFSET))- return 0;- if (numregions > O2NM_MAX_REGIONS)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/cve-2026-53078-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/cve-2026-53078-caller-predicate.bpf.cdeleted file mode 100644index 54d55f79..00000000--- a/upatches/kernel-cve/sources/cve-2026-53078-bpf-same-register-dst-src-oob-read-pointer/observability/cve-2026-53078-caller-predicate.bpf.c+++ /dev/null@@ -1,60 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/sock_ops_convert_ctx_access")-int BPF_KPROBE(cve_2026_53078_sock_ops, int type,- const struct bpf_insn *si, struct bpf_insn *insn_buf,- struct bpf_prog *prog, __u32 *target_size)-{- struct bpf_insn copy = {};- __u8 dst, src;-- count_event(&activity);- if (!si || type != 1 ||- bpf_probe_read_kernel(©, sizeof(copy), si))- return 0;- dst = copy.dst_reg;- src = copy.src_reg;- if (dst == src)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/cve-2026-53092-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/cve-2026-53092-caller-predicate.bpf.cdeleted file mode 100644index 8ff9d12d..00000000--- a/upatches/kernel-cve/sources/cve-2026-53092-bpf-linked-reg-delta-tracking-src-reg-dst/observability/cve-2026-53092-caller-predicate.bpf.c+++ /dev/null@@ -1,70 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define BPF_ALU 0x04-#define BPF_ALU64 0x07-#define BPF_X 0x08-#define BPF_ADD 0x00-#define BPF_SUB 0x10-#define BPF_CLASS_MASK 0x07-#define BPF_OP_MASK 0xf0--SEC("kprobe/check_alu_op")-int BPF_KPROBE(cve_2026_53092_alu, struct bpf_verifier_env *env,- struct bpf_insn *insn)-{- struct bpf_insn copy = {};- __u8 code, op, cls, src, dst;-- count_event(&activity);- if (!insn || bpf_probe_read_kernel(©, sizeof(copy), insn))- return 0;- code = copy.code;- src = copy.src_reg;- dst = copy.dst_reg;- cls = code & BPF_CLASS_MASK;- op = code & BPF_OP_MASK;- if ((cls == BPF_ALU || cls == BPF_ALU64) && (code & BPF_X) &&- src == dst && (op == BPF_ADD || op == BPF_SUB))- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/cve-2026-53194-candidate.bpf.c b/upatches/kernel-cve/sources/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/cve-2026-53194-candidate.bpf.cdeleted file mode 100644index 9bd8cdcc..00000000--- a/upatches/kernel-cve/sources/cve-2026-53194-usb-serial-kl5kusb105-bulk-out-buffer-overflow/observability/cve-2026-53194-candidate.bpf.c+++ /dev/null@@ -1,51 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-53194 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/klsi_105_prepare_write_buffer")-int BPF_KPROBE(cve_2026_53194_klsi, void *port, void *dest, __u64 size)-{- count_event(&activity);- /* KLSI_HDR_LEN is 2; smaller buffers underflow size - KLSI_HDR_LEN. */- if (size < 2)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/cve-2026-53255-tlv-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/cve-2026-53255-tlv-detector.bpf.cdeleted file mode 100644index 90a0338a..00000000--- a/upatches/kernel-cve/sources/cve-2026-53255-bluetooth-mgmt-validate-advertising-tlv-type-checks/observability/cve-2026-53255-tlv-detector.bpf.c+++ /dev/null@@ -1,66 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-53255 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/tlv_data_is_valid")-int BPF_KPROBE(cve_2026_53255_tlv, void *hdev, __u32 adv_flags,- const __u8 *data, __u8 len, bool is_adv_data)-{- __u32 i;-- count_event(&activity);- if (!data)- return 0;-- /* Mirrors the fixed loop's early boundary check. */-#pragma unroll- for (i = 0; i < 255; i++) {- __u8 cur_len;-- if (i >= len)- break;- if (bpf_probe_read_kernel(&cur_len, sizeof(cur_len), data + i))- break;- if (cur_len && i + cur_len >= len) {- count_event(&hits);- break;- }- if (!cur_len)- continue;- if (i + cur_len + 1 > 255)- break;- i += cur_len;- }- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/cve-2026-63915-hcp-detector.bpf.c b/upatches/kernel-cve/sources/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/cve-2026-63915-hcp-detector.bpf.cdeleted file mode 100644index cc51ea17..00000000--- a/upatches/kernel-cve/sources/cve-2026-63915-nfc-hci-oob-read-hcp-header-parsing/observability/cve-2026-63915-hcp-detector.bpf.c+++ /dev/null@@ -1,46 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-63915 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>-#include <bpf/bpf_core_read.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/nfc_hci_recv_from_llc")-int BPF_KPROBE(cve_2026_63915_hcp, void *hdev, const struct sk_buff *skb)-{- count_event(&activity);- if (!skb)- return 0;- if (BPF_CORE_READ(skb, len) < 1)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/cve-2026-63947-candidate.bpf.c b/upatches/kernel-cve/sources/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/cve-2026-63947-candidate.bpf.cdeleted file mode 100644index ce6811d4..00000000--- a/upatches/kernel-cve/sources/cve-2026-63947-bluetooth-hidp-missing-length-checks-hidp-input-report/observability/cve-2026-63947-candidate.bpf.c+++ /dev/null@@ -1,71 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/* CVE-2026-63947 source-derived detector. */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/hidp_input_report")-int BPF_KPROBE(cve_2026_63947_hidp, void *session,- const struct sk_buff *skb)-{- __u32 len;- __u8 hdr;- const void *data;-- count_event(&activity);- if (!skb)- return 0;-- len = BPF_CORE_READ(skb, len);- /* hidp_input_report() reads skb->data[0] before any payload check. */- if (len < 1) {- count_event(&hits);- return 0;- }-- data = BPF_CORE_READ(skb, data);- if (!data || bpf_probe_read_kernel(&hdr, sizeof(hdr), data))- return 0;-- /* The vulnerable function needs one header plus the complete report. */- if ((hdr == 0x01 && len < 9) || (hdr == 0x02 && len < 4))- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/cve-2026-63976-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/cve-2026-63976-caller-predicate.bpf.cdeleted file mode 100644index 683adde1..00000000--- a/upatches/kernel-cve/sources/cve-2026-63976-bluetooth-l2cap-clear-chan-ident-ecred-reconfiguration-success/observability/cve-2026-63976-caller-predicate.bpf.c+++ /dev/null@@ -1,105 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--struct l2cap_wire_hdr {- __u16 len;- __u16 cid;-};--struct l2cap_cmd_wire {- __u8 code;- __u8 ident;- __u16 len;-};--struct l2cap_info_wire {- __u16 type;- __u16 result;-};--static __always_inline int read_l2cap_command(struct sk_buff *skb,- struct l2cap_wire_hdr *lh,- struct l2cap_cmd_wire *cmd,- const void **payload)-{- const void *data;- __u32 len;-- if (!skb)- return 0;- data = BPF_CORE_READ(skb, data);- len = BPF_CORE_READ(skb, len);- if (!data || len < sizeof(*lh) + sizeof(*cmd))- return 0;- if (bpf_probe_read_kernel(lh, sizeof(*lh), data))- return 0;- if (bpf_probe_read_kernel(cmd, sizeof(*cmd), data + sizeof(*lh)))- return 0;- *payload = data + sizeof(*lh) + sizeof(*cmd);- return 1;-}--#define L2CAP_CID_LE_SIGNALING 0x0005-#define L2CAP_ECRED_RECONF_RSP 0x1a--SEC("kprobe/l2cap_recv_frame")-int BPF_KPROBE(cve_2026_63976_l2cap, void *conn,- struct sk_buff *skb)-{- struct l2cap_wire_hdr lh = {};- struct l2cap_cmd_wire cmd = {};- __u16 result;- const void *payload;-- count_event(&activity);- if (!read_l2cap_command(skb, &lh, &cmd, &payload))- return 0;- if (bpf_ntohs(lh.cid) != L2CAP_CID_LE_SIGNALING ||- cmd.code != L2CAP_ECRED_RECONF_RSP ||- bpf_ntohs(cmd.len) < sizeof(__u16))- return 0;- if (bpf_probe_read_kernel(&result, sizeof(result), payload))- return 0;- if (result == 0)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/cve-2026-63992-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/cve-2026-63992-caller-predicate.bpf.cdeleted file mode 100644index ebcff9c7..00000000--- a/upatches/kernel-cve/sources/cve-2026-63992-tunnels-not-assume-transport-header-iptunnel-pmtud-check/observability/cve-2026-63992-caller-predicate.bpf.c+++ /dev/null@@ -1,61 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define ETH_P_IP 0x0800-#define ETH_P_IPV6 0x86dd--SEC("kprobe/skb_tunnel_check_pmtu")-int BPF_KPROBE(cve_2026_63992_pmtu, struct sk_buff *skb,- struct dst_entry *encap_dst, int headroom, bool reply)-{- __u16 protocol, transport_header;-- count_event(&activity);- if (!skb || !reply)- return 0;- protocol = BPF_CORE_READ(skb, protocol);- transport_header = BPF_CORE_READ(skb, transport_header);- if ((protocol == bpf_htons(ETH_P_IP) ||- protocol == bpf_htons(ETH_P_IPV6)) && transport_header == 0xffff)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/cve-2026-64036-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/cve-2026-64036-caller-predicate.bpf.cdeleted file mode 100644index 84a763d4..00000000--- a/upatches/kernel-cve/sources/cve-2026-64036-cgroup-rstat-validate-cpu-css-rstat-cpu-access/observability/cve-2026-64036-caller-predicate.bpf.c+++ /dev/null@@ -1,57 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/__css_rstat_updated")-int BPF_KPROBE(cve_2026_64036_rstat,- struct cgroup_subsys_state *css, int cpu)-{- extern const volatile int nr_cpu_ids __ksym;- int possible;-- count_event(&activity);- if (bpf_probe_read_kernel(&possible, sizeof(possible),- (const void *)&nr_cpu_ids))- return 0;- if (cpu < 0 || (possible > 0 && cpu >= possible))- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/cve_2026_64116-offset-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/cve_2026_64116-offset-predicate.bpf.cdeleted file mode 100644index 58bff212..00000000--- a/upatches/kernel-cve/sources/cve-2026-64116-ipv6-ioam-add-null-check-idev-ipv6-hop/observability/cve_2026_64116-offset-predicate.bpf.c+++ /dev/null@@ -1,63 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-64116 exact-image predicate candidate.- *- * This is a source-derived observation predicate, not an enforcement patch.- * The hook is tied to the recorded kernel image and the register mapping in- * observability.json. Counter-trigger validation is still required.- */-#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_map(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define count_activity() count_map(&activity)-#define count_event() count_map(&hits)--SEC("kprobe/ip6_parse_tlv+0x0")-int BPF_KPROBE(cve_2026_64116_predicate)-{- bool hopbyhop = (bool)ctx->di;- struct sk_buff *skb = (struct sk_buff *)ctx->si;- struct net_device *dev;- void *ip6_ptr;-- count_activity();- if (!hopbyhop || !skb)- return 0;- dev = BPF_CORE_READ(skb, dev);- if (!dev)- return 0;- ip6_ptr = BPF_CORE_READ(dev, ip6_ptr);- if (!ip6_ptr)- count_event();- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/cve-2026-64133-caller-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/cve-2026-64133-caller-predicate.bpf.cdeleted file mode 100644index a3daf299..00000000--- a/upatches/kernel-cve/sources/cve-2026-64133-alsa-asihpi-oob-array-access-at-reading-cache/observability/cve-2026-64133-caller-predicate.bpf.c+++ /dev/null@@ -1,63 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#include <bpf/bpf_core_read.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define HPI_CACHE_CONTROL_COUNT_OFFSET 4-#define HPI_MESSAGE_OBJ_INDEX_OFFSET 10--SEC("kprobe/hpi_check_control_cache")-int BPF_KPROBE(cve_2026_64133_caller_predicate,- void *cache, void *message)-{- __u32 control_count = 0;- __u16 obj_index = 0;-- count_event(&activity);- if (!cache || !message ||- bpf_probe_read_kernel(&control_count, sizeof(control_count),- (const char *)cache + HPI_CACHE_CONTROL_COUNT_OFFSET) ||- bpf_probe_read_kernel(&obj_index, sizeof(obj_index),- (const char *)message + HPI_MESSAGE_OBJ_INDEX_OFFSET))- return 0;- if (obj_index >= control_count)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/campaign-manifest.json b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/campaign-manifest.jsondeleted file mode 100644index 2c771dbb..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/campaign-manifest.json+++ /dev/null@@ -1,43 +0,0 @@-{- "upatch_build_finished_at": "2026-09-18T18:50:42.632877+00:00",- "upatch_build_started_at": "2026-09-18T18:50:42.324671+00:00",- "upatch_build_status": "ok",- "upatch_object": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o",- "upatch_object_build_command": [- "clang",- "-target",- "bpf",- "-D__TARGET_ARCH_x86",- "-O2",- "-g",- "-Wall",- "-Wextra",- "-Wno-missing-declarations",- "-Wno-unused-parameter",- "-I",- "/home/john/git/shirudo/bpf",- "-I",- "/home/john/git/shirudo/bpf/include",- "-I",- "/home/john/git/shirudo/bpf/lib",- "-c",- "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "-o",- "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o"- ],- "upatch_object_build_returncode": 0,- "upatch_output": "build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6.1-offset-predicate.upatch",- "upatch_package_cert": "/home/john/.local/state/jbrust/projects/cve-2025-68753-000df79a/package-signer/cert.der",- "upatch_package_command": [- "/home/john/git/shirudo/tools/shirudo-build/shirudo-build",- "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o",- "-o",- "build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6.1-offset-predicate.upatch",- "--keys-dir",- "/home/john/.local/state/jbrust/projects/cve-2025-68753-000df79a/package-signer"- ],- "upatch_package_returncode": 0,- "upatch_signing_keys_dir": "/home/john/.local/state/jbrust/projects/cve-2025-68753-000df79a/package-signer",- "upatch_signing_project": "cve-2025-68753-000df79a",- "upatch_source": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c"-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/build.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/build.logdeleted file mode 100644index 4271757d..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/build.log+++ /dev/null@@ -1 +0,0 @@-+ clang -target bpf -D__TARGET_ARCH_x86 -O2 -g -Wall -Wextra -Wno-missing-declarations -Wno-unused-parameter -I /home/john/git/shirudo/bpf -I /home/john/git/shirudo/bpf/include -I /home/john/git/shirudo/bpf/lib -c /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c -o /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.odiff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.bpf.c b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.bpf.cdeleted file mode 100644index 558aa577..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.bpf.c+++ /dev/null@@ -1,56 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-68118 observation candidate.- *- * Candidate-only artifact: this program proves only that the proposed- * function entry was reached. It intentionally does not claim the CVE- * predicate, leaves hits at zero, and cannot enforce or mitigate anything.- * Derive and validate a CVE-specific predicate before changing hits or- * offering guarded action.- */--#include "vmlinux.h"-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--static __always_inline void count_activity(void)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(&activity, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/tcp_check_req")-int BPF_KPROBE(cve_2026_68118_candidate)-{- count_activity();- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.cdeleted file mode 100644index c724567f..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c+++ /dev/null@@ -1,64 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-68118 exact-image kprobe+offset predicate candidate.- *- * Reviewed against 6.1.0-shirudo-6.1, tcp_check_req+0x11c. At this- * instruction the old code is about to test the normalized RST/SYN flags- * before embryonic_reset. R14D contains the normalized flag word, RBX is- * the skb, and RBP is the request_sock. The offset is not portable.- */-#include "vmlinux.h"-#include <bpf/bpf_core_read.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--SEC("kprobe/tcp_check_req+0x11c")-int BPF_KPROBE(cve_2026_68118_offset_predicate)-{- struct sk_buff *skb = (void *)BPF_CORE_READ(ctx, bx);- struct request_sock *req = (void *)BPF_CORE_READ(ctx, bp);- struct tcp_skb_cb cb = {};- __u32 flags = (__u32)BPF_CORE_READ(ctx, r14);- __u32 rcv_nxt;-- count_event(&activity);- if (!skb || !req || !(flags & 0x400U)) /* TCP_FLAG_RST in this image */- return 0;-- if (bpf_probe_read_kernel(&cb, sizeof(cb), skb->cb))- return 0;- rcv_nxt = BPF_CORE_READ((struct tcp_request_sock *)req, rcv_nxt);-- /* The fixed code challenges an in-window RST whose sequence is not exact. */- if (cb.seq != rcv_nxt)- count_event(&hits);- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.c b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.cdeleted file mode 100644index 3e6a5964..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.c+++ /dev/null@@ -1,73 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * Source-derived CVE predicate candidate from the historical 6.1 failure- * walk. This is source-only: it has not passed clang/BTF build, loader- * health, counter-trigger validation, or mitigation validation.- */-#include "vmlinux.h"-#include <bpf/bpf_core_read.h>-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--static __always_inline void count_event(void *map)-{- __u32 zero = 0;- __u64 *count = bpf_map_lookup_elem(map, &zero);-- if (count)- (*count)++;-}--#define ARG1(ctx) ((__u64)(ctx)->di)-#define ARG2(ctx) ((__u64)(ctx)->si)-#define ARG3(ctx) ((__u64)(ctx)->dx)-#define ARG4(ctx) ((__u64)(ctx)->cx)-#define ARG5(ctx) ((__u64)(ctx)->r8)-#define ARG6(ctx) ((__u64)(ctx)->r9)--static __always_inline int read_u8(const void *ptr, __u32 offset, __u8 *out)-{- return bpf_probe_read_kernel(out, sizeof(*out),- (const char *)ptr + offset);-}--static __always_inline int read_u16(const void *ptr, __u32 offset, __u16 *out)-{- return bpf_probe_read_kernel(out, sizeof(*out),- (const char *)ptr + offset);-}--/* CVE-2026-68118: deferred source-context witness */-/* tcp: challenge ACK for non-exact RST in SYN-RECEIVED */-/* Required predicate: cve_condition */-/*- * Deferred: TCP challenge handling depends on packet/state/sequence- * locals in the SYN-RST branch.- */-SEC("kprobe/tcp_check_req")-int BPF_KPROBE(cve_2026_68118_predicate_deferred)-{- count_event(&activity);- /* Intentionally no hits increment: this is not a detector. */- return 0;-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/health.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/health.logdeleted file mode 100644index ec8393a2..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/health.log+++ /dev/null@@ -1,2 +0,0 @@-+ ssh -F /dev/null -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/known_hosts -i /home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/id_ed25519 -p 22006 [email protected] sudo shirudo status --json-{"schema":1,"version_id":"3c773704e9efe5ad96b6c8ebbc500815f8c1579f106e3979491937b0b397d303","is_target":true,"is_operator":false,"status":"degraded","conditions":[{"type":"LsmAttached","status":"OK","detail":"lsm/bpf link present and pinned"},{"type":"KeyringSealed","status":"OK","detail":"serial=853584197, pin matches"},{"type":"ChainIntact","status":"WARN","detail":"no TPM chain (degraded / --no-tpm)"},{"type":"TpmMeasured","status":"WARN","detail":"not measured"}],"lsm_attached":true,"keyring_present":true,"keyring_serial":853584197,"keyring_serial_pinned":853584197,"keyring_serial_matches":true,"cert_present":true,"signing_key_present":false,"upatches_loaded":[{"name":"cve-2026-68118-6-1-offset-predicate","location":"kprobe","n_maps":2,"loaded_at":"2026-09-18T19:46:53Z","age_sec":0,"payload_sha256":null}],"assets":{"root":"/var/lib/shirudo","cert":true,"signing_key":false,"keyring_serial":true,"eventlog":true,"eventlog_bytes":706,"upatches":1,"incoming":null,"bpffs_mounted":true}}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load-transfer.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load-transfer.logdeleted file mode 100644index 343405b3..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load-transfer.log+++ /dev/null@@ -1,2 +0,0 @@-+ scp -F /dev/null -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/known_hosts -i /home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/id_ed25519 -P 22006 build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6-1-offset-predicate.upatch [email protected]:/tmp/cve-2026-68118-6-1-offset-predicate.upatch-Warning: Permanently added '[127.0.0.1]:22006' (ED25519) to the list of known hosts.diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load.logdeleted file mode 100644index ead54332..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/load.log+++ /dev/null@@ -1,11 +0,0 @@-+ ssh -F /dev/null -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/known_hosts -i /home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61-offset3/ssh/id_ed25519 -p 22006 [email protected] sudo shirudo upatch load --report=- /tmp/cve-2026-68118-6-1-offset-predicate.upatch-loaded signed loader: prog_fd=5 keyring=853584197 sig=375B insns=153 data=13944B-loader ok, retval=0 (maps=2 progs=1)-attached + pinned prog 0 (kprobe) -> /run/shirudo/bpffs/upatches/cve-2026-68118-6-1-offset-predicate/link-pinned map 0 (hits, type=6) -> /run/shirudo/bpffs/upatches/cve-2026-68118-6-1-offset-predicate/maps/hits-pinned map 1 (activity, type=6) -> /run/shirudo/bpffs/upatches/cve-2026-68118-6-1-offset-predicate/maps/activity-upatch: cannot record payload xattr on /run/shirudo/bpffs/upatches/cve-2026-68118-6-1-offset-predicate: Operation not supported (unload of this upatch will refuse)-upatch load: name=cve-2026-68118-6-1-offset-predicate keyring=853584197 progs=1-upatch load: chain extended, value=d11954bc3efed0e7934f8b6fc9992feec0b81dea9fa404c33602725c18d7a56d-upatch load measured: name=cve-2026-68118-6-1-offset-predicate chain=d11954bc3efed0e7934f8b6fc9992feec0b81dea9fa404c33602725c18d7a56d-{"schema":1,"result":"ok","op":"upatch_load","phase":"done","errno":null,"errno_name":null,"category":"ok","message":"","verifier_log":"","loader_return":0,"upatch":{"path":"/tmp/cve-2026-68118-6-1-offset-predicate.upatch","name":"cve-2026-68118-6-1-offset-predicate","payload_sha256":"821e269a5d7e80b3d72bf8d44c4de6d7ab5d3f88bb4ede93c32e7906692ea752"},"kernel":{"release":"6.1.0-shirudo-6.1"},"tpm":{"nv_index":"0x01818E00","chain_after":"d11954bc3efed0e7934f8b6fc9992feec0b81dea9fa404c33602725c18d7a56d"}}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/observability.json b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/observability.jsondeleted file mode 100644index 493120b3..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/observability.json+++ /dev/null@@ -1,511 +0,0 @@-{- "artifact": {- "build_status": "ok",- "upatch": "build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.upatch"- },- "build_returncode": 0,- "candidate_type": "observability_only",- "classification": "partial_cve",- "config_module": {- "config_symbols": [],- "evidence": [],- "name": null,- "names": [],- "path": null,- "source_dir": null,- "source_file": null,- "status": "unresolved"- },- "counters": [- "hits",- "activity"- ],- "cve": "CVE-2026-68118",- "detection_goal": "cve_condition",- "detection_scope": "source_review",- "fix_commits": [],- "fix_published": "unknown",- "fixed_in": [- "6.6",- "6.12",- "6.18",- "7.2"- ],- "generated_at": "2026-09-10T03:34:04.356480+00:00",- "health_report": {- "assets": {- "bpffs_mounted": true,- "cert": true,- "eventlog": true,- "eventlog_bytes": 706,- "incoming": null,- "keyring_serial": true,- "root": "/var/lib/shirudo",- "signing_key": false,- "upatches": 1- },- "cert_present": true,- "conditions": [- {- "detail": "lsm/bpf link present and pinned",- "status": "OK",- "type": "LsmAttached"- },- {- "detail": "serial=853584197, pin matches",- "status": "OK",- "type": "KeyringSealed"- },- {- "detail": "no TPM chain (degraded / --no-tpm)",- "status": "WARN",- "type": "ChainIntact"- },- {- "detail": "not measured",- "status": "WARN",- "type": "TpmMeasured"- }- ],- "is_operator": false,- "is_target": true,- "keyring_present": true,- "keyring_serial": 853584197,- "keyring_serial_matches": true,- "keyring_serial_pinned": 853584197,- "lsm_attached": true,- "schema": 1,- "signing_key_present": false,- "source_status": "degraded",- "status": "passed",- "status_note": "This VM has no TPM chain and no TPM measurement to attest system state.",- "tpm_chain": false,- "tpm_measured": false,- "upatches_loaded": [- {- "age_sec": 0,- "loaded_at": "2026-09-18T19:46:53Z",- "location": "kprobe",- "n_maps": 2,- "name": "cve-2026-68118-6-1-offset-predicate",- "payload_sha256": null- }- ],- "version_id": "3c773704e9efe5ad96b6c8ebbc500815f8c1579f106e3979491937b0b397d303"- },- "health_returncode": 0,- "historical_6_1_failure_walk": {- "do_not_retry_runtime": true,- "historical_status": "load_failed",- "reason": "Operator requested predicate work without another 6.1 VM/load attempt.",- "recorded_at": "2026-09-18T18:17:01.773920+00:00",- "schema": 1- },- "hook": {- "offset": 284,- "repair_reason": "exact-image kprobe+offset mapping",- "required": "kprobe/tcp_check_req+0x11c",- "target": "tcp_check_req",- "type": "kprobe"- },- "hook_notes": "Function-entry activity only; hits intentionally remain reserved at zero until the CVE predicate is source-reviewed and validated.",- "kernel_coverage": {- "fix_commits": [- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49",- "source_url": "https://git.kernel.org/stable/c/8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "0fe4636665d14a258de70b4f3e8248e6d42038f1",- "source_url": "https://git.kernel.org/stable/c/0fe4636665d14a258de70b4f3e8248e6d42038f1"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "234f9ffbd9b2c1b24ec67200ea3cff07401bec48",- "source_url": "https://git.kernel.org/stable/c/234f9ffbd9b2c1b24ec67200ea3cff07401bec48"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "22cec809b048495310f206d9abbcdbbfbdce3ae3",- "source_url": "https://git.kernel.org/stable/c/22cec809b048495310f206d9abbcdbbfbdce3ae3"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "a28c4fcbf774e23b4779cae468e3497a5ad1f4a1",- "source_url": "https://git.kernel.org/stable/c/a28c4fcbf774e23b4779cae468e3497a5ad1f4a1"- }- ],- "fix_published": "yes",- "fixed_in": [- "6.6",- "6.12",- "6.18",- "7.2"- ],- "later_review": false,- "non_release_targets": [],- "release_status": "released_branch",- "unknown_targets": [],- "vulnerable_lts": [- "6.1"- ]- },- "legacy_activity_source": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.c",- "load_health": {- "degraded": false,- "result": "passed",- "status": "passed",- "tpm_chain": false,- "tpm_measured": false- },- "load_repair": {- "alternate_caller_candidates": [],- "classification": "loader_compatibility",- "classification_confidence": "reference_source_hypothesis",- "config": {- "evidence_files": [],- "states": {},- "symbols": []- },- "config_module": {- "config_symbols": [],- "evidence": [],- "name": null,- "names": [],- "path": null,- "source_dir": null,- "source_file": null,- "status": "unresolved"- },- "generated_at": "2026-09-13T02:32:40.246666+00:00",- "hook": {- "attach_error": "target inferred from source",- "kind": "kprobe",- "offset": 284,- "symbol": "tcp_check_req",- "target": "tcp_check_req+0x11c"- },- "hook_repair": {- "effective_target": "tcp_check_req+0x11c",- "evidence": "build/kernel-cve-reproducers/2026-09-08-restart/observability-sweep/predicate-offset-direct-state-mapping.json",- "offset": 284,- "portable": false,- "predicate_status": "source_only_unvalidated",- "status": "mapped_source_predicate_candidate",- "strategy": "exact_image_kprobe_offset"- },- "kconfig": {- "config_module": {- "config_symbols": [],- "evidence": [],- "name": null,- "names": [],- "path": null,- "source_dir": null,- "source_file": null,- "status": "unresolved"- },- "make_rules": [],- "relative_source": null,- "source_file": null,- "status": "source_unavailable",- "symbols": [],- "unresolved_symbols": []- },- "kernel_evidence": {- "branch": "6.1",- "config_available": false,- "config_symbol_count": 0,- "release": "6.1.0-shirudo-6.1",- "source_exact": false,- "symbol_present": true- },- "loaded_modules_sample": [- "8021q",- "8139too",- "8250",- "8250_core",- "acpi",- "acpi_cpufreq",- "ahci",- "ata_piix",- "auth_rpcgss",- "battery",- "blk_cgroup",- "block",- "br_netfilter",- "bridge",- "button",- "cfg80211",- "clocksource",- "cpufreq",- "cpuidle",- "cpuidle_haltpoll",- "cryptomgr",- "devres",- "dm_mirror",- "dm_mod",- "dns_resolver",- "drm",- "drm_display_helper",- "drm_kms_helper",- "e1000",- "e1000e",- "eeepc_laptop",- "ehci_hcd",- "firmware_class",- "hid",- "hid_apple",- "hid_logitech",- "hid_ntrig",- "i2c_algo_bit",- "i2c_i801",- "i8042",- "i915",- "ipv6",- "kernel",- "keyboard",- "libahci",- "libata",- "llc",- "lockd",- "loop",- "mac80211",- "md_mod",- "module",- "msr",- "netconsole",- "netfs",- "netpoll",- "nf_conntrack",- "nf_conntrack_ftp",- "nf_conntrack_irc",- "nf_conntrack_sip",- "nf_flow_table",- "nf_flow_table_inet",- "nf_tables",- "nfs",- "nfsv4",- "nmi_backtrace",- "nvme",- "nvme_core",- "overlay",- "pata_amd",- "pata_oldpiix",- "pata_sch",- "pci_hotplug",- "pcie_aspm",- "pcmcia",- "pcmcia_core",- "pcmcia_rsrc",- "pnp",- "printk",- "processor"- ],- "repair_action": "Reduce or port the candidate for the selected kernel's verifier/outer-loader limits; do not change the CVE hook until the payload loads.",- "repair_tactics": [],- "repairable_without_source_review": false,- "source_block": null,- "source_match_count": 0,- "status": "source_review_required"- },- "load_report": {- "category": "ok",- "errno": null,- "errno_name": null,- "kernel": {- "release": "6.1.0-shirudo-6.1"- },- "loader_return": 0,- "message": "",- "op": "upatch_load",- "phase": "done",- "result": "ok",- "schema": 1,- "tpm": {- "chain_after": "d11954bc3efed0e7934f8b6fc9992feec0b81dea9fa404c33602725c18d7a56d",- "nv_index": "0x01818E00"- },- "upatch": {- "name": "cve-2026-68118-6-1-offset-predicate",- "path": "/tmp/cve-2026-68118-6-1-offset-predicate.upatch",- "payload_sha256": "821e269a5d7e80b3d72bf8d44c4de6d7ab5d3f88bb4ede93c32e7906692ea752"- },- "verifier_log": ""- },- "load_returncode": 0,- "mitigation": {- "mitigated": false,- "observation_status": "not_run",- "result": "inconclusive"- },- "module_preflight": {- "config_fallback": null,- "config_states": {},- "config_symbols": [- "CONFIG_INET"- ],- "load_modules": true,- "modules": [],- "reason": "no resolved config_module metadata",- "requested": [],- "status": "not_available",- "target": "tcp_check_req"- },- "object": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o",- "offset_mapping": {- "evidence": "build/kernel-cve-reproducers/2026-09-08-restart/observability-sweep/predicate-offset-direct-state-mapping.json",- "hook": "kprobe/tcp_check_req+0x11c",- "offset": 284,- "source_predicate": "RST flag is set and TCP_SKB_CB(skb)->seq != tcp_rsk(req)->rcv_nxt",- "status": "mapped_source_predicate_candidate",- "strategy": "exact_image_kprobe_offset",- "validation": "not_run"- },- "offset_predicate_review": {- "code_kind": "vmlinux",- "code_path": "/tmp/cve-6.1-offset-scan/vmlinux",- "function_end": 18446744071591078464,- "instruction_address": "0xffffffff81baa45c",- "instruction_bytes": "41 f7 c6 00 06 00 00",- "kernel_identity": {- "exact_vmlinux": "/tmp/cve-6.1-offset-scan/vmlinux",- "exact_vmlinux_sha256": "c26ed61a26dc30be91457aa10606fc8a3f2ed76d81abbeebb9c0a8be296e79f9",- "kernel_commit": "830b3c68c1fb",- "kernel_image": "/home/john/git/shirudo/artifacts/linux-v6.1-kernel-debs/bzImage",- "kernel_image_sha256": "9680f8a83ef183a0a544fe414b2bcc910b888b65d08d8997ec1e4ce23607f16c",- "selected_release": "6.1.0-shirudo-6.1",- "system_map": "/tmp/cve-6.1-offset-scan/root/boot/System.map-6.1.0-shirudo-6.1",- "system_map_sha256": "d2e09cea19cac9d0d4515f4fb5c75dce8ffba198d47a087de9783da218ab97cc"- },- "offset": 284,- "offset_hex": "0x11c",- "predicate_patch": "build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "predicate_status": "mapped_source_predicate_candidate",- "reason": "The exact image/module contains the lifted caller and its instruction boundaries are available. A kprobe+offset predicate still requires mapping the vulnerable source condition to exact register/stack state; no offset or patch is inferred by this sweep.",- "recorded_at": "2026-09-18T18:25:04.334686+00:00",- "register_mapping": {- "r14d": "normalized TCP RST/SYN/ACK flags",- "rbp": "struct request_sock *req",- "rbx": "struct sk_buff *skb"- },- "schema_version": 1,- "source_references": [],- "status": "mapped_source_predicate_candidate",- "symbol_address": 18446744071591076672,- "target": "tcp_check_req"- },- "operator_note": "Candidate upatch only. Activity is not evidence that the CVE condition occurred; no mitigation claim is made.",- "package_returncode": 0,- "predicate_materialization": {- "hook": "kprobe/tcp_check_req",- "predicate": "cve_condition",- "reason": "TCP challenge handling depends on packet/state/sequence locals in the SYN-RST branch.",- "recorded_at": "2026-09-18T18:17:01.773920+00:00",- "runtime_retry": "prohibited_for_this_walk",- "schema": 1,- "source": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.c",- "source_fix": {- "commits": [- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49",- "source_url": "https://git.kernel.org/stable/c/8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "0fe4636665d14a258de70b4f3e8248e6d42038f1",- "source_url": "https://git.kernel.org/stable/c/0fe4636665d14a258de70b4f3e8248e6d42038f1"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "234f9ffbd9b2c1b24ec67200ea3cff07401bec48",- "source_url": "https://git.kernel.org/stable/c/234f9ffbd9b2c1b24ec67200ea3cff07401bec48"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "22cec809b048495310f206d9abbcdbbfbdce3ae3",- "source_url": "https://git.kernel.org/stable/c/22cec809b048495310f206d9abbcdbbfbdce3ae3"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "a28c4fcbf774e23b4779cae468e3497a5ad1f4a1",- "source_url": "https://git.kernel.org/stable/c/a28c4fcbf774e23b4779cae468e3497a5ad1f4a1"- }- ],- "published": "yes"- },- "status": "deferred_predicate_context",- "validation": "not_run"- },- "predicate_patch": {- "counter_validation": "not_eligible_until_context_mapping",- "hook": "kprobe/tcp_check_req+0x11c",- "portability": "exact_kernel_image_only",- "predicate": "cve_condition",- "schema": 1,- "scope": "source_review",- "source": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "status": "mapped_source_predicate_candidate"- },- "predicate_status": "source_derived_unvalidated",- "reproducer_status": "not_attempted",- "review_status": "needs_exact_image_counter_validation",- "slug": "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received",- "source": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "source_fix": {- "affected_files": "include/net/tcp.h, net/ipv4/tcp_input.c, net/ipv4/tcp_minisocks.c",- "commits": [- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49",- "source_url": "https://git.kernel.org/stable/c/8b0a3a094f4cae2fb92e4d08d4eef7246a9d9c49"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "0fe4636665d14a258de70b4f3e8248e6d42038f1",- "source_url": "https://git.kernel.org/stable/c/0fe4636665d14a258de70b4f3e8248e6d42038f1"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "234f9ffbd9b2c1b24ec67200ea3cff07401bec48",- "source_url": "https://git.kernel.org/stable/c/234f9ffbd9b2c1b24ec67200ea3cff07401bec48"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "22cec809b048495310f206d9abbcdbbfbdce3ae3",- "source_url": "https://git.kernel.org/stable/c/22cec809b048495310f206d9abbcdbbfbdce3ae3"- },- {- "repository": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",- "sha": "a28c4fcbf774e23b4779cae468e3497a5ad1f4a1",- "source_url": "https://git.kernel.org/stable/c/a28c4fcbf774e23b4779cae468e3497a5ad1f4a1"- }- ],- "published": "yes",- "summary": "The SYN-RECEIVED request-socket path in tcp_check_req() accepts an in-window RST without requiring SEG.SEQ to exactly match RCV.NXT. A non-exact RST therefore removes the request instead of eliciting a challenge ACK."- },- "status": "loaded_health_passed",- "target_kernel": {- "branch": "6.1",- "release": "6.1.0-shirudo-6.1",- "vm_name": "health-k61-offset3"- },- "transfer_returncode": 0,- "unload_package_returncode": 0,- "unload_result": "failed",- "unload_returncode": 1,- "unload_transfer_returncode": 0,- "upatch": "build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6-1-offset-predicate.upatch",- "upatch_name": "cve-2026-68118-6-1-offset-predicate",- "upatch_name_normalization": "bpffs-safe: replaced unsupported punctuation",- "upatch_name_original": "cve-2026-68118-6.1-offset-predicate",- "upatch_sha256": "fac52e762fd78916efd8efd978ab6f980e5d176ee4ef0190739749989914c54f",- "validated_at": "2026-09-18T19:46:52.122519+00:00",- "vm_name": "health-k61-offset3",- "vulnerable_lts": [- "6.1"- ]-}diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/package.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/package.logdeleted file mode 100644index ca9442bc..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/package.log+++ /dev/null@@ -1,2 +0,0 @@-+ /home/john/git/shirudo/tools/shirudo-build/shirudo-build /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o -o build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6-1-offset-predicate.upatch --keys-dir /home/john/.local/state/jbrust/projects/cve-2025-68753-000df79a/package-signer --name cve-2026-68118-6-1-offset-predicate-wrote build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6-1-offset-predicate.upatch (insns=1224 sig=375 data=13944 meta=176 maps=2 progs=1 decoders=0 source=0 name=cve-2026-68118-6-1-offset-predicate)diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-package.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-package.logdeleted file mode 100644index 2f9a8b46..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-package.log+++ /dev/null@@ -1,3 +0,0 @@-+ /home/john/git/shirudo/tools/shirudo-build/shirudo-build --unload cve-2026-68118-candidate-bpf-obs -o /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate-bpf-obs.unload.upatch --keys-dir /home/john/.local/state/jbrust/projects/cve-2025-68753-000df79a/package-signer---payload-sha256 omitted and no archive entry at /var/lib/shirudo/upatches/cve-2026-68118-candidate-bpf-obs.upatch; the directive will carry no expected payload and the target will skip the payload_mismatch check. Pass --payload-sha256 to bind it.-wrote /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate-bpf-obs.unload.upatch (insns=1320 sig=375 data=2472 meta=32 maps=1 progs=1 decoders=0 source=0 name=cve-2026-68118-candidate-bpf-obs UNLOAD)diff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-transfer.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-transfer.logdeleted file mode 100644index 955087a3..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload-transfer.log+++ /dev/null@@ -1 +0,0 @@-+ scp -F /dev/null -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61/ssh/known_hosts -i /home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61/ssh/id_ed25519 -P 22005 /home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate-bpf-obs.unload.upatch [email protected]:/tmp/cve-2026-68118-candidate-bpf-obs.unload.upatchdiff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload.log b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload.logdeleted file mode 100644index ad38b866..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/unload.log+++ /dev/null@@ -1,5 +0,0 @@-+ ssh -F /dev/null -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61/ssh/known_hosts -i /home/john/git/shirudo/build/test-vm/vms/jbrust-cve-2025-68753-000df79a-health-k61/ssh/id_ed25519 -p 22005 [email protected] sudo shirudo upatch unload /tmp/cve-2026-68118-candidate-bpf-obs.unload.upatch --no-precheck-upatch unload: --no-precheck, pre-flight state check skipped-upatch: userspace CMS signature verified-BPF_PROG_LOAD (outer loader): Argument list too long-upatch unload: signature verification failed; refusingdiff --git a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/rebuild.json b/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/rebuild.jsondeleted file mode 100644index 50f8f0ad..00000000--- a/upatches/kernel-cve/sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/rebuild.json+++ /dev/null@@ -1,29 +0,0 @@-{- "archive_slug": "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received",- "cve": "CVE-2026-68118",- "notes": [- "The archived upatch is the signed validated artifact.",- "Rebuilding requires a compatible Shirudo checkout, BPF headers/vmlinux.h, and a replacement package signer.",- "The private signing key is intentionally never exported."- ],- "object_build_command": null,- "object_sha256": {- "cve-2026-68118-candidate.bpf.o": "f115519c7ac4f58f92b8bb2878b94467fc0e5a6046415d8f430b62743c769b7b",- "cve_2026_68118-6.1-offset-predicate.bpf.o": "845e53aad112b14a1b74452a190e796b40e2f8112fdadfd14b86cc3c748be528"- },- "observability_sources": [- "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.bpf.c",- "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-candidate.bpf.o",- "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.o",- "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-predicate-deferred.bpf.c"- ],- "package_command": null,- "schema": 1,- "signed_upatch": "/home/john/git/shirudo-bees/build/kernel-cve-reproducers/2026-09-08-restart/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve-2026-68118-6-1-offset-predicate.upatch",- "signed_upatch_sha256": "fac52e762fd78916efd8efd978ab6f980e5d176ee4ef0190739749989914c54f",- "signing_project": "cve-2025-68753-000df79a",- "slug": "cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received",- "source": "sources/cve-2026-68118-tcp-challenge-ack-non-exact-rst-syn-received/observability/cve_2026_68118-6.1-offset-predicate.bpf.c",- "source_sha256": "b6af52b2caee4b21aaffb8c34c74497f0856942311928db325e174ad35d39200"-}diff --git a/upatches/kernel-cve/sources/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/cve-2026-80725-big-tcp-gro-observe.bpf.c b/upatches/kernel-cve/sources/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/cve-2026-80725-big-tcp-gro-observe.bpf.cdeleted file mode 100644index 56b79aea..00000000--- a/upatches/kernel-cve/sources/cve-2026-80725-net-gro-properly-validate-big-tcp-aggregation-criteria/observability/cve-2026-80725-big-tcp-gro-observe.bpf.c+++ /dev/null@@ -1,207 +0,0 @@-// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause-/*- * CVE-2026-80725 BIG TCP/GRO observability for Shirudo.- *- * This is deliberately observation-only. It correlates entry state for- * skb_gro_receive() with its return value so we can distinguish ordinary- * GRO activity from a GRO aggregate crossing GRO_LEGACY_MAX_SIZE under- * protocol/encapsulation/header conditions relevant to the CVE.- *- * The entry predicate mirrors the affected 6.18 code in net/core/gro.c:- *- * p->len + len >= GRO_LEGACY_MAX_SIZE &&- * (proto != IPPROTO_TCP ||- * (IPv6 && skb_headroom(p) < sizeof(struct hop_jumbo_hdr)) ||- * p->encapsulation)- *- * A hit is evidence that the relevant state was presented to the GRO merge- * function; it is not, by itself, proof of memory corruption or mitigation.- */--#include "vmlinux.h"-#include <bpf/bpf_endian.h>-#include <bpf/bpf_helpers.h>-#ifndef __TARGET_ARCH_x86-#define __TARGET_ARCH_x86-#endif-#include <bpf/bpf_tracing.h>-#include <bpf/bpf_core_read.h>--#define ETH_P_IPV6 0x86DD-#define IPPROTO_TCP 6-#define E2BIG 7-#define GRO_LEGACY_MAX_SIZE 65536-#define HOP_JUMBO_HDR_SIZE 8--char _license[] SEC("license") = "Dual BSD/GPL";--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} hits SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} activity SEC(".maps");--struct {- __uint(type, BPF_MAP_TYPE_ARRAY);- __uint(max_entries, 1);- __type(key, __u32);- __type(value, __u64);-} control SEC(".maps");--/*- * 0=legacy-cross, 1=non-tcp, 2=encap, 3=ipv6-headroom,- * 4=gro-limit, 5=e2big-return.- */-struct {- __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);- __uint(max_entries, 6);- __type(key, __u32);- __type(value, __u64);-} reasons SEC(".maps");--struct gro_entry {- __u32 p_len;- __u32 skb_len;- __u32 data_offset;- __u32 gro_len;- __u32 gro_max_size;- __u32 headroom;- __u16 proto;- __u16 protocol;- __u8 encapsulation;- __u8 ipv6;- __u8 legacy_crossing;- __u8 gro_limit_crossing;- __u8 non_tcp;- __u8 ipv6_headroom_bad;- __u8 entry_valid;-};--struct {- __uint(type, BPF_MAP_TYPE_LRU_HASH);- __uint(max_entries, 4096);- __type(key, __u64);- __type(value, struct gro_entry);-} entries SEC(".maps");--static __always_inline void count_event(void *map, __u32 key)-{- __u64 *count = bpf_map_lookup_elem(map, &key);-- if (count)- (*count)++;-}--static __always_inline __u32 skb_headroom_value(struct sk_buff *skb)-{- unsigned char *head = BPF_CORE_READ(skb, head);- unsigned char *data = BPF_CORE_READ(skb, data);-- if (!head || !data || data < head)- return 0;- return (__u32)(data - head);-}--static __always_inline __u32 gro_max_size(struct sk_buff *p, __u16 protocol)-{- struct net_device *dev = BPF_CORE_READ(p, dev);-- if (!dev)- return 0;- if (protocol == bpf_htons(ETH_P_IPV6))- return BPF_CORE_READ(dev, gro_max_size);- return BPF_CORE_READ(dev, gro_ipv4_max_size);-}--SEC("kprobe/skb_gro_receive")-int BPF_KPROBE(cve80725_gro_enter, struct sk_buff *p, struct sk_buff *skb)-{- struct napi_gro_cb gro = {};- struct gro_entry entry = {};- __u64 key = bpf_get_current_pid_tgid();- __u16 protocol;- __u32 p_len;- __u32 skb_len;- __u32 data_offset;- __u32 gro_len;-- count_event(&activity, 0);- if (!p || !skb)- return 0;-- /* skb->cb is NAPI_GRO_CB(skb) in the kernel implementation. */- if (bpf_probe_read_kernel(&gro, sizeof(gro), skb->cb))- return 0;-- p_len = BPF_CORE_READ(p, len);- skb_len = BPF_CORE_READ(skb, len);- data_offset = (__u32)gro.data_offset;- if (skb_len < data_offset)- return 0;- gro_len = skb_len - data_offset;- protocol = BPF_CORE_READ(p, protocol);-- entry.p_len = p_len;- entry.skb_len = skb_len;- entry.data_offset = data_offset;- entry.gro_len = gro_len;- entry.gro_max_size = gro_max_size(p, protocol);- entry.headroom = skb_headroom_value(p);- entry.proto = gro.proto;- entry.protocol = protocol;- entry.encapsulation = BPF_CORE_READ_BITFIELD_PROBED(p, encapsulation);- entry.ipv6 = protocol == bpf_htons(ETH_P_IPV6);- entry.legacy_crossing =- ((__u64)p_len + gro_len) >= GRO_LEGACY_MAX_SIZE;- entry.gro_limit_crossing = entry.gro_max_size &&- ((__u64)p_len + gro_len) >= entry.gro_max_size;- entry.non_tcp = gro.proto != IPPROTO_TCP;- entry.ipv6_headroom_bad = entry.ipv6 &&- entry.headroom < HOP_JUMBO_HDR_SIZE;- entry.entry_valid = 1;-- if (entry.legacy_crossing)- count_event(&reasons, 0);- if (entry.non_tcp)- count_event(&reasons, 1);- if (entry.encapsulation)- count_event(&reasons, 2);- if (entry.ipv6_headroom_bad)- count_event(&reasons, 3);- if (entry.gro_limit_crossing)- count_event(&reasons, 4);-- bpf_map_update_elem(&entries, &key, &entry, BPF_ANY);- return 0;-}--SEC("kretprobe/skb_gro_receive")-int BPF_KRETPROBE(cve80725_gro_exit)-{- struct gro_entry *entry;- __u64 key = bpf_get_current_pid_tgid();- long ret = PT_REGS_RC(ctx);-- entry = bpf_map_lookup_elem(&entries, &key);- if (!entry)- return 0;-- if (ret == -E2BIG)- count_event(&reasons, 5);-- if (entry->legacy_crossing &&- (entry->non_tcp || entry->encapsulation ||- entry->ipv6_headroom_bad))- count_event(&hits, 0);-- bpf_map_delete_elem(&entries, &key);- return 0;-}