CVE-2026-99175 (GCVE-0-2026-99175)

Vulnerability from cvelistv5 – Published: 2026-10-28 10:35 – Updated: 2026-10-30 12:42
VLAI
Title
fsnotify: prevent mark additions during connector teardown
Summary
In the Linux kernel, the following vulnerability has been resolved: fsnotify: prevent mark additions during connector teardown fsnotify_destroy_marks() keeps a reference to its current mark while it drops conn->lock to destroy the mark. This stabilizes the forward-walk cursor, but does not prevent a new mark from being inserted before it. For example, an inotify watch re-added after IN_IGNORED sorts before the old, detached mark for the same group. The walk can miss the replacement and then detach the entire connector from the object. The replacement is still on its group's marks_list and, for inotify, in the watch IDR. The group mutex no longer protects the connector's object from disappearing. An unprivileged fdinfo read racing the final detach can consequently call igrab(NULL): BUG: KASAN: null-ptr-deref in igrab+0x24/0x100 Write of size 4 at addr 0000000000000148 Call Trace: igrab+0x24/0x100 inotify_show_fdinfo+0x1dc/0x5e0 seq_show+0x397/0x690 Set a DESTROYING flag under conn->lock before starting the walk, and reject new marks on that connector with -ENOENT. The existing add-mark error paths undo the temporary group-list entry and the backend's watch allocation. Do not wait for teardown while holding the group mutex, which the destroyer needs. Once the old connector is detached, an add can install a fresh connector as before. This closes the insertion race for all object types using the common connector teardown, without changing the mark reference or SRCU lifetime rules.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < f7def717c06aea7004905e4d1568c3691ef9825d (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < 587d80966dcce2824f13fd32dab83bf882acf66f (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < d28a460a2237220d9ccbdd3baac6eaead44e96cb (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < 61133f15773b907bada651a02d9c6d38eae37c48 (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < 952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1 (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < 472589eacdf10b5f9bd10b333957ed5291b2544b (git)
Affected: 6b3f05d24d355f50f3d9814304650fcab0efb482 , < 36ebddca56b9d8993d6dc984fdecc748ee1f5e06 (git)
Create a notification for this product.
Linux Linux Affected: 4.12
Unaffected: 0 , < 4.12 (semver)
Unaffected: 5.10.273 , ≤ 5.10.* (semver)
Unaffected: 5.15.224 , ≤ 5.15.* (semver)
Unaffected: 6.1.191 , ≤ 6.1.* (semver)
Unaffected: 6.6.161 , ≤ 6.6.* (semver)
Unaffected: 6.12.115 , ≤ 6.12.* (semver)
Unaffected: 6.18.59 , ≤ 6.18.* (semver)
Unaffected: 7.2.13 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/notify/mark.c",
            "include/linux/fsnotify_backend.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f7def717c06aea7004905e4d1568c3691ef9825d",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "587d80966dcce2824f13fd32dab83bf882acf66f",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "d28a460a2237220d9ccbdd3baac6eaead44e96cb",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "61133f15773b907bada651a02d9c6d38eae37c48",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "472589eacdf10b5f9bd10b333957ed5291b2544b",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            },
            {
              "lessThan": "36ebddca56b9d8993d6dc984fdecc748ee1f5e06",
              "status": "affected",
              "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/notify/mark.c",
            "include/linux/fsnotify_backend.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.161",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.115",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.13",
              "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.273",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.161",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.115",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.59",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.13",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfsnotify: prevent mark additions during connector teardown\n\nfsnotify_destroy_marks() keeps a reference to its current mark while it\ndrops conn-\u003elock to destroy the mark. This stabilizes the forward-walk\ncursor, but does not prevent a new mark from being inserted before it.\nFor example, an inotify watch re-added after IN_IGNORED sorts before the\nold, detached mark for the same group. The walk can miss the replacement\nand then detach the entire connector from the object.\n\nThe replacement is still on its group\u0027s marks_list and, for inotify, in\nthe watch IDR. The group mutex no longer protects the connector\u0027s object\nfrom disappearing. An unprivileged fdinfo read racing the final detach\ncan consequently call igrab(NULL):\n\n  BUG: KASAN: null-ptr-deref in igrab+0x24/0x100\n  Write of size 4 at addr 0000000000000148\n  Call Trace:\n   igrab+0x24/0x100\n   inotify_show_fdinfo+0x1dc/0x5e0\n   seq_show+0x397/0x690\n\nSet a DESTROYING flag under conn-\u003elock before starting the walk, and\nreject new marks on that connector with -ENOENT. The existing add-mark\nerror paths undo the temporary group-list entry and the backend\u0027s watch\nallocation. Do not wait for teardown while holding the group mutex,\nwhich the destroyer needs. Once the old connector is detached, an add\ncan install a fresh connector as before.\n\nThis closes the insertion race for all object types using the common\nconnector teardown, without changing the mark reference or SRCU lifetime\nrules."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:42:39.046Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f7def717c06aea7004905e4d1568c3691ef9825d"
        },
        {
          "url": "https://git.kernel.org/stable/c/da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa"
        },
        {
          "url": "https://git.kernel.org/stable/c/587d80966dcce2824f13fd32dab83bf882acf66f"
        },
        {
          "url": "https://git.kernel.org/stable/c/d28a460a2237220d9ccbdd3baac6eaead44e96cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/61133f15773b907bada651a02d9c6d38eae37c48"
        },
        {
          "url": "https://git.kernel.org/stable/c/952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1"
        },
        {
          "url": "https://git.kernel.org/stable/c/472589eacdf10b5f9bd10b333957ed5291b2544b"
        },
        {
          "url": "https://git.kernel.org/stable/c/36ebddca56b9d8993d6dc984fdecc748ee1f5e06"
        }
      ],
      "title": "fsnotify: prevent mark additions during connector teardown",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99175",
    "datePublished": "2026-10-28T10:35:29.760Z",
    "dateReserved": "2026-09-25T10:25:14.399Z",
    "dateUpdated": "2026-10-30T12:42:39.046Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99175",
      "date": "2026-11-16",
      "epss": "0.00177",
      "percentile": "0.07364"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:58:45.000Z",
      "cve": "CVE-2026-99175",
      "id": "msrc_CVE-2026-99175",
      "initial_release_date": "2026-10-29T01:07:26.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "fsnotify: prevent mark additions during connector teardown",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99175.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/notify/mark.c",
                  "include/linux/fsnotify_backend.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f7def717c06aea7004905e4d1568c3691ef9825d",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "587d80966dcce2824f13fd32dab83bf882acf66f",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d28a460a2237220d9ccbdd3baac6eaead44e96cb",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "61133f15773b907bada651a02d9c6d38eae37c48",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "472589eacdf10b5f9bd10b333957ed5291b2544b",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "36ebddca56b9d8993d6dc984fdecc748ee1f5e06",
                    "status": "affected",
                    "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/notify/mark.c",
                  "include/linux/fsnotify_backend.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.12"
                  },
                  {
                    "lessThan": "4.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.273",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.224",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.191",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.161",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.115",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.59",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.13",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfsnotify: prevent mark additions during connector teardown\n\nfsnotify_destroy_marks() keeps a reference to its current mark while it\ndrops conn-\u003elock to destroy the mark. This stabilizes the forward-walk\ncursor, but does not prevent a new mark from being inserted before it.\nFor example, an inotify watch re-added after IN_IGNORED sorts before the\nold, detached mark for the same group. The walk can miss the replacement\nand then detach the entire connector from the object.\n\nThe replacement is still on its group\u0027s marks_list and, for inotify, in\nthe watch IDR. The group mutex no longer protects the connector\u0027s object\nfrom disappearing. An unprivileged fdinfo read racing the final detach\ncan consequently call igrab(NULL):\n\n  BUG: KASAN: null-ptr-deref in igrab+0x24/0x100\n  Write of size 4 at addr 0000000000000148\n  Call Trace:\n   igrab+0x24/0x100\n   inotify_show_fdinfo+0x1dc/0x5e0\n   seq_show+0x397/0x690\n\nSet a DESTROYING flag under conn-\u003elock before starting the walk, and\nreject new marks on that connector with -ENOENT. The existing add-mark\nerror paths undo the temporary group-list entry and the backend\u0027s watch\nallocation. Do not wait for teardown while holding the group mutex,\nwhich the destroyer needs. Once the old connector is detached, an add\ncan install a fresh connector as before.\n\nThis closes the insertion race for all object types using the common\nconnector teardown, without changing the mark reference or SRCU lifetime\nrules."
          }
        ],
        "id": "CVE-2026-99175",
        "lastModified": "2026-10-30T13:21:51.120",
        "metrics": {},
        "published": "2026-10-28T11:17:38.150",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/36ebddca56b9d8993d6dc984fdecc748ee1f5e06"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/472589eacdf10b5f9bd10b333957ed5291b2544b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/587d80966dcce2824f13fd32dab83bf882acf66f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/61133f15773b907bada651a02d9c6d38eae37c48"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d28a460a2237220d9ccbdd3baac6eaead44e96cb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f7def717c06aea7004905e4d1568c3691ef9825d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-06T03:27:56+00:00",
      "cve": "CVE-2026-99175",
      "id": "CVE-2026-99175",
      "initial_release_date": "2026-10-28T00:00:00+00:00",
      "product_status:known_affected": "189",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: fsnotify: prevent mark additions during connector teardown",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99175.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-10T18:07:18Z",
      "cve": "CVE-2026-99175",
      "id": "CVE-2026-99175",
      "initial_release_date": "2026-10-28T17:32:33Z",
      "product_status:known_affected": "161",
      "product_status:known_not_affected": "190",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99175",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99175.json",
      "version": "4"
    }
  }
}



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…

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…