GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-89605 (GCVE-0-2026-89605)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:45 – Updated: 2026-09-14 12:01
VLAI
Title
ecryptfs: release message context on send failure
Summary
In the Linux kernel, the following vulnerability has been resolved: ecryptfs: release message context on send failure ecryptfs_send_message_locked() moves a message context from the free list to the allocated list before sending the request to the userspace daemon. If ecryptfs_send_miscdev() fails, the context is left on the allocated list and cannot be reused. Move it back to the free list on failure and clear the caller's pointer.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 177e0c32fec3602bb3b64139bb8bb610cd6722c7 (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 743e7aeb9575c0838d8996d40d81a6b8fa5cd060 (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 590fc6140e29c54d2f7839eb9df78d106ee1905e (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 30845ed227475a11a49ccce047837d016b7e0f49 (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 47ce611cb13f0eefa550d5434c1afcd4217bfc3e (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 9319706316a8e79f374627554386d575a84b637f (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 654b7e79443f5ea90849f5c1cf70c0d94bd5b10e (git)
Affected: f66e883eb6186bc43a79581b67aff7d1a69d0ff1 , < 219644a3ad5518217b2d62cad6d2c36a2308c949 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.26
Unaffected: 0 , < 2.6.26 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.109 , ≤ 6.12.* (semver)
Unaffected: 6.18.50 , ≤ 6.18.* (semver)
Unaffected: 7.2.4 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ecryptfs/messaging.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "177e0c32fec3602bb3b64139bb8bb610cd6722c7",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "743e7aeb9575c0838d8996d40d81a6b8fa5cd060",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "590fc6140e29c54d2f7839eb9df78d106ee1905e",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "30845ed227475a11a49ccce047837d016b7e0f49",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "47ce611cb13f0eefa550d5434c1afcd4217bfc3e",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "9319706316a8e79f374627554386d575a84b637f",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "654b7e79443f5ea90849f5c1cf70c0d94bd5b10e",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            },
            {
              "lessThan": "219644a3ad5518217b2d62cad6d2c36a2308c949",
              "status": "affected",
              "version": "f66e883eb6186bc43a79581b67aff7d1a69d0ff1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ecryptfs/messaging.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.26"
            },
            {
              "lessThan": "2.6.26",
              "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-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\necryptfs: release message context on send failure\n\necryptfs_send_message_locked() moves a message context from the free\nlist to the allocated list before sending the request to the userspace\ndaemon.\n\nIf ecryptfs_send_miscdev() fails, the context is left on the\nallocated list and cannot be reused. Move it back to the free list on\nfailure and clear the caller\u0027s pointer."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only via local syscalls: open/creat on an eCryptfs mount drives pki_encrypt_session_key()/decrypt_pki_encrypted_session_key() into ecryptfs_send_message_locked(), and the per-euid daemon is registered with open(/dev/ecryptfs); no network or adjacent protocol path exists.\nAC:L - ecryptfs_send_miscdev() fails only on kmalloc(), which a local attacker in a memory cgroup can force by filling memory.max so the small GFP_KERNEL allocation returns NULL; the attacker then repeats create/open while running the daemon, with no race or other condition outside their control.\nPR:L - Neither miscdev_open() nor the PKI send path checks capabilities. An unprivileged user reaches this by running ecryptfsd on /dev/ecryptfs and using an eCryptfs mount from setuid mount.ecryptfs_private or an existing encrypted home, with a user-keyring PRIVATE_KEY auth token.\nUI:N - The attacker registers their own daemon, installs their own auth token, uses their own eCryptfs directory, and issues the create/open syscalls; no other user needs to mount, open a file, or otherwise interact.\nS:U - The leaked msg_ctx slots and any later use of the dangling msg_ctx-\u003etask pointer stay inside the host kernel\u0027s eCryptfs messaging subsystem; this is ordinary kernel impact, not a VM, IOMMU, or sandbox escape.\nC:H - A failed send leaves the msg_ctx PENDING with a raw task_struct pointer. After the sender exits, the attacker\u0027s daemon can write a MSG_RESPONSE with that index and predictable counter so ecryptfs_process_response() calls wake_up_process() on the freed task, a UAF that discloses kernel memory.\nI:H - The same task_struct use-after-free is heap-sprayable: wake_up_process() writes into a recycled task object and can hijack control flow. Stuck PENDING contexts are also never returned to the 32-slot global pool, breaking eCryptfs messaging for every user.\nA:H - Each failed send permanently removes one of 32 global msg_ctx slots from the free list until reboot, fully denying eCryptfs PKI wrap/unwrap for all users, and the dangling-task wake_up_process() path can oops or panic the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-14T12:01:25.672Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/177e0c32fec3602bb3b64139bb8bb610cd6722c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/743e7aeb9575c0838d8996d40d81a6b8fa5cd060"
        },
        {
          "url": "https://git.kernel.org/stable/c/590fc6140e29c54d2f7839eb9df78d106ee1905e"
        },
        {
          "url": "https://git.kernel.org/stable/c/30845ed227475a11a49ccce047837d016b7e0f49"
        },
        {
          "url": "https://git.kernel.org/stable/c/47ce611cb13f0eefa550d5434c1afcd4217bfc3e"
        },
        {
          "url": "https://git.kernel.org/stable/c/9319706316a8e79f374627554386d575a84b637f"
        },
        {
          "url": "https://git.kernel.org/stable/c/654b7e79443f5ea90849f5c1cf70c0d94bd5b10e"
        },
        {
          "url": "https://git.kernel.org/stable/c/219644a3ad5518217b2d62cad6d2c36a2308c949"
        }
      ],
      "title": "ecryptfs: release message context on send failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89605",
    "datePublished": "2026-09-11T19:45:08.101Z",
    "dateReserved": "2026-09-11T19:38:34.733Z",
    "dateUpdated": "2026-09-14T12:01:25.672Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89605",
      "date": "2026-09-16",
      "epss": "0.00164",
      "percentile": "0.0599"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89605\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-11T20:19:45.487\",\"lastModified\":\"2026-09-14T13:19:14.590\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\necryptfs: release message context on send failure\\n\\necryptfs_send_message_locked() moves a message context from the free\\nlist to the allocated list before sending the request to the userspace\\ndaemon.\\n\\nIf ecryptfs_send_miscdev() fails, the context is left on the\\nallocated list and cannot be reused. Move it back to the free list on\\nfailure and clear the caller\u0027s pointer.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ecryptfs/messaging.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"177e0c32fec3602bb3b64139bb8bb610cd6722c7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"743e7aeb9575c0838d8996d40d81a6b8fa5cd060\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"590fc6140e29c54d2f7839eb9df78d106ee1905e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"30845ed227475a11a49ccce047837d016b7e0f49\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"47ce611cb13f0eefa550d5434c1afcd4217bfc3e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"9319706316a8e79f374627554386d575a84b637f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"654b7e79443f5ea90849f5c1cf70c0d94bd5b10e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f66e883eb6186bc43a79581b67aff7d1a69d0ff1\",\"lessThan\":\"219644a3ad5518217b2d62cad6d2c36a2308c949\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ecryptfs/messaging.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.26\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.26\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.270\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.221\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.109\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.50\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.4\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/177e0c32fec3602bb3b64139bb8bb610cd6722c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/219644a3ad5518217b2d62cad6d2c36a2308c949\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/30845ed227475a11a49ccce047837d016b7e0f49\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47ce611cb13f0eefa550d5434c1afcd4217bfc3e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/590fc6140e29c54d2f7839eb9df78d106ee1905e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/654b7e79443f5ea90849f5c1cf70c0d94bd5b10e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/743e7aeb9575c0838d8996d40d81a6b8fa5cd060\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9319706316a8e79f374627554386d575a84b637f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-13T06:58:55+00:00",
      "cve": "CVE-2026-89605",
      "id": "CVE-2026-89605",
      "initial_release_date": "2026-09-11T19:45:08.101000+00:00",
      "product_status:known_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel ecryptfs: Denial of Service due to message context leak on send failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89605.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-13T16:58:13Z",
      "cve": "CVE-2026-89605",
      "id": "CVE-2026-89605",
      "initial_release_date": "2026-09-12T16:25:16Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89605",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-89605.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…