{
  "id": "CVE-2026-43501",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43501",
  "published_at": "2026-05-21T12:17:49.885Z",
  "title": "ipv6: rpl: reserve mac_len headroom when recompressed SRH grows",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-19T11:29:52Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 29,
    "repo": "ngtuonghung/CVE-2026-43501",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: rpl: reserve mac_len headroom when recompressed SRH grows\n\nipv6_rpl_srh_rcv() decompresses an RFC 6554 Source Routing Header, swaps\nthe next segment into ipv6_hdr-\u003edaddr, recompresses, then pulls the old\nheader and pushes the new one plus the IPv6 header back.  The\nrecompressed header can be larger than the received one when the swap\nreduces the common-prefix length the segments share with daddr (CmprI=0,\nCmprE\u003e0, seg[0][0] != daddr[0] gives the maximum +8 bytes).\n\npskb_expand_head() was gated on segments_left == 0, so on earlier\nsegments the push consumed unchecked headroom.  Once skb_push() leaves\nfewer than skb-\u003emac_len bytes in front of data,\nskb_mac_header_rebuild()'s call to:\n\n\tskb_set_mac_header(skb, -skb-\u003emac_len);\n\nwill store (data - head) - mac_len into the u16 mac_header field, which\nwraps to ~65530, and the following memmove() writes mac_len bytes ~64KiB\npast skb-\u003ehead.\n\nA single AF_INET6/SOCK_RAW/IPV6_HDRINCL packet over lo with a two\nsegment type-3 SRH (CmprI=0, CmprE=15) reaches headroom 8 after one\npass; KASAN reports a 14-byte OOB write in ipv6_rthdr_rcv.\n\nFix this by expanding the head whenever the remaining room is less than\nthe push size plus mac_len, and request that much extra so the rebuilt\nMAC header fits afterwards.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "ngtuonghung/CVE-2026-43501",
      "url": "https://github.com/ngtuonghung/CVE-2026-43501",
      "created_at": "2026-06-19T11:29:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-08-05T14:21:04Z"
    },
    {
      "repo": "Anyone202/cybermeowfia-termux",
      "url": "https://github.com/Anyone202/cybermeowfia-termux",
      "created_at": "2026-07-11T03:46:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-08-22T14:58:06Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c bde199c72d319a4e207f88daabc888317504e2fb",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c be1fa0aa9b4fdd5a8b7a61ba520a690a68391e6e",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c 0a9e8053f1f8a8e1bfc1dd61ffe67be6c1180402",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c 8e8be63465a5e80394c70324603dfea1bfdad48f",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c 4babc2d9fda2df43823b85d08a0180b68f1b0854",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c c261d07a80576dc8ccf394ef8f074f8c67a06b37",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c 7398ebefbfd4f8a31d4f665a4213302fa995494b",
          "\u003e= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \u003c 9e6bf146b55999a095bb14f73a843942456d1adc"
        ],
        "fixed_in": [
          "bde199c72d319a4e207f88daabc888317504e2fb",
          "be1fa0aa9b4fdd5a8b7a61ba520a690a68391e6e",
          "0a9e8053f1f8a8e1bfc1dd61ffe67be6c1180402",
          "8e8be63465a5e80394c70324603dfea1bfdad48f",
          "4babc2d9fda2df43823b85d08a0180b68f1b0854",
          "c261d07a80576dc8ccf394ef8f074f8c67a06b37",
          "7398ebefbfd4f8a31d4f665a4213302fa995494b",
          "9e6bf146b55999a095bb14f73a843942456d1adc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.7"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.140",
          "6.12.86",
          "6.18.27",
          "7.0.4",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to bde199c72d319a4e207f88daabc888317504e2fb or be1fa0aa9b4fdd5a8b7a61ba520a690a68391e6e or 0a9e8053f1f8a8e1bfc1dd61ffe67be6c1180402 or 8e8be63465a5e80394c70324603dfea1bfdad48f or 4babc2d9fda2df43823b85d08a0180b68f1b0854 or c261d07a80576dc8ccf394ef8f074f8c67a06b37 or 7398ebefbfd4f8a31d4f665a4213302fa995494b or 9e6bf146b55999a095bb14f73a843942456d1adc or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.86 or 6.18.27 or 7.0.4 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/fs/list",
      "query_markers": [
        "path=/data/data)"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "/tmp/cmf-test-c"
        }
      ],
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/test.sh:69"
      ]
    },
    {
      "method": "GET",
      "path_template": "/escalate/dummy",
      "query_markers": [
        "n=x",
        "s=y)"
      ],
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/test.sh:63"
      ]
    },
    {
      "method": "GET",
      "path_template": "/healthz)",
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/status.sh:11"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/escalate/link)",
      "headers": [
        {
          "name": "Cookie",
          "value": "/tmp/cmf-test-c"
        }
      ],
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/test.sh:55"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/fs/chmod)",
      "headers": [
        {
          "name": "Cookie",
          "value": "/tmp/cmf-test-c"
        }
      ],
      "body_markers": [
        "\"path\":\"/sdcard\"",
        "\"mode\":\"755; rm -rf /\""
      ],
      "content_type": "application/json",
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/test.sh:74"
      ]
    },
    {
      "method": "POST",
      "path_template": "/tmp/cmf-test-c",
      "body_markers": [
        "password={var}"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8787
      ],
      "protocol": "http",
      "repos": [
        "Anyone202/cybermeowfia-termux"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Anyone202/cybermeowfia-termux/scripts/test.sh:25"
      ]
    }
  ],
  "rules": []
}
