{
  "id": "CVE-2026-89720",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89720",
  "published_at": "2026-09-11T19:46:32.923Z",
  "title": "ubifs: fix out-of-bounds read in signature length check",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: fix out-of-bounds read in signature length check\n\nubifs_sb_verify_signature() bounds the on-disk ubifs_sig_node-\u003elen field\nbefore handing the signature payload to verify_pkcs7_signature(), but the\ncheck has the wrong sign:\n\n\tif (le32_to_cpu(signode-\u003elen) \u003e snod-\u003elen + sizeof(struct ubifs_sig_node))\n\nThe signature bytes start sizeof(struct ubifs_sig_node) (UBIFS_SIG_NODE_SZ,\n64 bytes) into the node, so the payload is at most\n\n\tsnod-\u003elen - sizeof(struct ubifs_sig_node)\n\nbytes long. Adding the header size instead of subtracting it accepts a\ndeclared length up to 2 * UBIFS_SIG_NODE_SZ larger than the node actually\nholds -- past the end of c-\u003esbuf, which is vmalloc(c-\u003eleb_size).\nverify_pkcs7_signature() -\u003e pkcs7_parse_message() -\u003e asn1_ber_decoder()\nis then handed that inflated length and reads beyond the allocation while\nwalking the DER headers. The node length comes straight from the mounted\nimage, so a crafted signed UBIFS image reaches this via\nubifs_read_superblock() before the signature is cryptographically checked.\n\nsnod-\u003elen is guaranteed to be \u003e= UBIFS_SIG_NODE_SZ by the node scanner\n(c-\u003eranges[UBIFS_SIG_NODE].min_len == UBIFS_SIG_NODE_SZ), so the corrected\nsubtraction cannot underflow. Legitimately signed images are unaffected: a\ncorrect superblock never declares a signature longer than the node it is\nembedded in.",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c ab7405bd86331cc2dbc8201699d4adc33bea75e7",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c 11abc34698cb3172badf8aa12e623f1bac98bbd8",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c 8cc3da72cf57acb4b77442ea8cec48425dff7c06",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c 37a9d25a563f5f9103282954ce573c4a61321e7c",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c f76b79d6e42af20682495bccd22f72c7164b0018",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c a1dc246f98bb94233effa4fa3ec7bf84700bb7d1",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c 83e1aa9f5f906c9b1f4949d0521f0f950a159d96",
          "\u003e= 817aa094842dfc3a6b98c9582d4a647827f66201, \u003c 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf"
        ],
        "fixed_in": [
          "ab7405bd86331cc2dbc8201699d4adc33bea75e7",
          "11abc34698cb3172badf8aa12e623f1bac98bbd8",
          "8cc3da72cf57acb4b77442ea8cec48425dff7c06",
          "37a9d25a563f5f9103282954ce573c4a61321e7c",
          "f76b79d6e42af20682495bccd22f72c7164b0018",
          "a1dc246f98bb94233effa4fa3ec7bf84700bb7d1",
          "83e1aa9f5f906c9b1f4949d0521f0f950a159d96",
          "95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.3"
        ],
        "fixed_in": [
          "0",
          "5.10.270",
          "5.15.221",
          "6.1.188",
          "6.6.157",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ab7405bd86331cc2dbc8201699d4adc33bea75e7 or 11abc34698cb3172badf8aa12e623f1bac98bbd8 or 8cc3da72cf57acb4b77442ea8cec48425dff7c06 or 37a9d25a563f5f9103282954ce573c4a61321e7c or f76b79d6e42af20682495bccd22f72c7164b0018 or a1dc246f98bb94233effa4fa3ec7bf84700bb7d1 or 83e1aa9f5f906c9b1f4949d0521f0f950a159d96 or 95d27c1708bb6e8823c8e7c623f9abc2a91bf4bf or later.",
      "Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
