CVE-2026-89608 (GCVE-0-2026-89608)
Vulnerability from cvelistv5
Published
2026-09-11 19:45
Modified
2026-10-19 08:49
Summary
In the Linux kernel, the following vulnerability has been resolved: ecryptfs: pass packet set buffer size to parser ecryptfs_parse_packet_set() receives a pointer into the file header, but it calculates the remaining packet buffer size from PAGE_SIZE - 8. For version 1 headers the packet set starts later in the header, so this can overstate the available buffer. Pass the actual packet set buffer length from the caller and calculate per-packet limits from the remaining bytes in that buffer. Recompute the remaining length after consuming a tag 3 packet before parsing the following tag 11 packet.
Impacted products
Vendor Product Version
Linux Linux Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Version: 237fead619984cc48818fe12ee0ceada3f55b012
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ecryptfs/crypto.c",
            "fs/ecryptfs/ecryptfs_kernel.h",
            "fs/ecryptfs/keystore.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e7573b0e3058c6bbdfe81673f22c09900fde9e65",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "66a87559ecb26afe80ad512faf728a158e2b81da",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "3bd9bb3e167a7c14a50423f6ff03ee0fb007199d",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "329de8b9e988b152b938f09224670d97bada0b96",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "e5d254e654f2311a3c4b9c791d7f216554bcd17a",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "747fd45be396a6aea3420ab657a0ab4e60185b05",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            },
            {
              "lessThan": "2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2",
              "status": "affected",
              "version": "237fead619984cc48818fe12ee0ceada3f55b012",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ecryptfs/crypto.c",
            "fs/ecryptfs/ecryptfs_kernel.h",
            "fs/ecryptfs/keystore.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.19"
            },
            {
              "lessThan": "2.6.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\necryptfs: pass packet set buffer size to parser\n\necryptfs_parse_packet_set() receives a pointer into the file header, but\nit calculates the remaining packet buffer size from PAGE_SIZE - 8.  For\nversion 1 headers the packet set starts later in the header, so this can\noverstate the available buffer.\n\nPass the actual packet set buffer length from the caller and calculate\nper-packet limits from the remaining bytes in that buffer.  Recompute the\nremaining length after consuming a tag 3 packet before parsing the\nfollowing tag 11 packet."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The over-read is reached only by a local open or setattr on an eCryptfs mount (ecryptfs_open/ecryptfs_setattr \u2192 ecryptfs_read_metadata \u2192 ecryptfs_parse_packet_set) which parses the attacker-supplied lower-file header or xattr; this is not a network protocol path.\nAC:L - Opening a crafted eCryptfs file deterministically feeds attacker-controlled version-1 headers and Tag 1/3/11 lengths into parse_packet_set(), which then uses an overstated PAGE_SIZE-8 bound; no race or uninfluenced memory layout is required.\nPR:L - An unprivileged user reaches this on standard eCryptfs deployments (setuid-root mount.ecryptfs_private and per-user encrypted home/Private) by planting a crafted file in their own lower directory and opening it through the already-mounted tree; init-namespace root is not required.\nUI:N - The attacker writes the malformed header into their lower directory and opens the corresponding eCryptfs file themselves; no action by another user is required.\nS:U - The out-of-bounds header-slab read and any resulting oops stay inside the host kernel eCryptfs code; this is not a VM escape, IOMMU bypass, or other cross-authority breakout.\nC:H - parse_packet_set() treats PAGE_SIZE-8 as the packet-set limit even after the version-1 header advances the pointer, and Tag 11 is parsed with the pre-Tag-3 remainder so max_packet_size can underflow; subsequent Tag 1 copies up to 512 bytes from adjacent slab/pages, an OOB read rated High unless a few bytes.\nI:N - Packet parsers memcpy into size-checked destinations (encrypted_key[], sig_tmp_space[8]); this bug is a source over-read of the PAGE_SIZE header cache object, not an out-of-bounds write, UAF, or control-flow hijack primitive.\nA:H - After the size_t remainder underflows, src[i] and later memcpy() walk off the header cache object into adjacent or unmapped pages and can oops; the attacker can reopen the crafted file to crash the host at will."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:49:40.341Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e7573b0e3058c6bbdfe81673f22c09900fde9e65"
        },
        {
          "url": "https://git.kernel.org/stable/c/66a87559ecb26afe80ad512faf728a158e2b81da"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bd9bb3e167a7c14a50423f6ff03ee0fb007199d"
        },
        {
          "url": "https://git.kernel.org/stable/c/749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac"
        },
        {
          "url": "https://git.kernel.org/stable/c/329de8b9e988b152b938f09224670d97bada0b96"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5d254e654f2311a3c4b9c791d7f216554bcd17a"
        },
        {
          "url": "https://git.kernel.org/stable/c/747fd45be396a6aea3420ab657a0ab4e60185b05"
        },
        {
          "url": "https://git.kernel.org/stable/c/2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2"
        }
      ],
      "title": "ecryptfs: pass packet set buffer size to parser",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89608",
    "datePublished": "2026-09-11T19:45:10.318Z",
    "dateReserved": "2026-09-11T19:38:34.733Z",
    "dateUpdated": "2026-10-19T08:49:40.341Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…