CVE-2026-138889 (GCVE-0-2026-138889)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-12-01 05:40
VLAI
Title
ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes
Summary
In the Linux kernel, the following vulnerability has been resolved: ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes Patch series "ocfs2: validate suballoc slot and bit of metadata blocks", v3. The ocfs2 metadata validators trust the on-disk suballoc slot and bit without checking them against the slot range of the mounted filesystem and the capacity of the block group bitmap. A corrupted image can carry OCFS2_INVALID_SLOT or another out-of-range slot, or a suballoc bit beyond the bitmap, and once the corresponding inode, extent block, xattr block, dir index root or refcount block gets freed, the bad value goes straight into ocfs2_get_system_file_inode() or _ocfs2_free_suballoc_bits() and hits a BUG_ON() or runs off the end of local_system_inodes[]. This series rejects such values at read time, in the existing validators, so corrupted objects fail with -EROFS (and a read-only remount) instead of crashing: patch 1 restricts OCFS2_INVALID_SLOT dinodes to system inodes, completing fe7a283b3916 ("ocfs2: add suballoc slot check in ocfs2_validate_inode_block()"), and turns the "system file state is ambiguous" BUG_ON() in ocfs2_read_locked_inode() into an ocfs2_error(); patch 2 rejects oversized dinode suballoc bits; patch 3 validates the suballoc slot and bit of xattr and dir index blocks; patch 4 validates the suballoc slot and bit of extent and refcount blocks. The checks only enforce what the kernel and mkfs.ocfs2 already write: a valid slot from meta_ac->ac_alloc_slot and a bit within the block group bitmap, with system inodes carrying OCFS2_INVALID_SLOT plus OCFS2_SYSTEM_FL and extent blocks using slot 0. Nothing changes for healthy filesystems. Each new check was exercised under QEMU by corrupting the field in question with an out-of-range value; with the series applied the access fails with -EROFS and the filesystem remounts read-only instead of hitting the BUG_ON(). This patch (of 4): ocfs2_validate_inode_block() currently permits i_suballoc_slot to be OCFS2_INVALID_SLOT for any dinode. Only system inodes created by mkfs.ocfs2 are allocated from the global allocator and thus legitimately carry this value; regular inodes are always allocated from a per-slot suballocator and hence must have a valid slot. If a corrupted regular inode with OCFS2_INVALID_SLOT is accepted, ocfs2_remove_inode() will pass the slot to ocfs2_get_system_file_inode() and get_local_system_inode() will hit BUG_ON(slot == OCFS2_INVALID_SLOT) when the inode is deleted. This can be triggered by an unprivileged user unlinking such a corrupted file. Reject OCFS2_INVALID_SLOT for non-system dinodes during validation, while still accepting it for system inodes. Note that a crafted dinode carrying OCFS2_SYSTEM_FL passes the check above, yet a plain lookup of it still used to BUG() in ocfs2_read_locked_inode() ("system file state is ambiguous"). Since i_flags comes from disk, handle that mismatch with ocfs2_error() instead of BUG_ON() as well.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 688d054a680c20ba3bf85de67ca780befc7ffc7b , < cef7a01a416aede5f77a84ffc6a4c606368e3d5f (git)
Affected: b8fa4d063e3b0c37ec406a1fb6b5033337fb879d , < 9cc83c00b9b4f0e0a5842864b1a320fa63ecfc5c (git)
Affected: c416b59dbc547f5555e561dee1484a55dcbb79dd , < af08d7bef319df99c71107e0034244168822aa42 (git)
Affected: fe7a283b39160153b6d1bd7f61b0a9d5d44987a8 , < de648cd4c54e659d5d212bdbe158f135569161cb (git)
Affected: fe7a283b39160153b6d1bd7f61b0a9d5d44987a8 , < c55809688e4abbc4474f28849deea6e5cee2684c (git)
Affected: fe7a283b39160153b6d1bd7f61b0a9d5d44987a8 , < 25bf9e549360b656a6763232e0e9e58a00c3aff7 (git)
Affected: 6.1.191 , < 6.1.193 (semver)
Affected: 6.6.160 , < 6.6.163 (semver)
Affected: 6.12.114 , < 6.12.118 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-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/ocfs2/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cef7a01a416aede5f77a84ffc6a4c606368e3d5f",
              "status": "affected",
              "version": "688d054a680c20ba3bf85de67ca780befc7ffc7b",
              "versionType": "git"
            },
            {
              "lessThan": "9cc83c00b9b4f0e0a5842864b1a320fa63ecfc5c",
              "status": "affected",
              "version": "b8fa4d063e3b0c37ec406a1fb6b5033337fb879d",
              "versionType": "git"
            },
            {
              "lessThan": "af08d7bef319df99c71107e0034244168822aa42",
              "status": "affected",
              "version": "c416b59dbc547f5555e561dee1484a55dcbb79dd",
              "versionType": "git"
            },
            {
              "lessThan": "de648cd4c54e659d5d212bdbe158f135569161cb",
              "status": "affected",
              "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
              "versionType": "git"
            },
            {
              "lessThan": "c55809688e4abbc4474f28849deea6e5cee2684c",
              "status": "affected",
              "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
              "versionType": "git"
            },
            {
              "lessThan": "25bf9e549360b656a6763232e0e9e58a00c3aff7",
              "status": "affected",
              "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.193",
              "status": "affected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.163",
              "status": "affected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.118",
              "status": "affected",
              "version": "6.12.114",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "6.1.191",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.6.160",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "6.12.114",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes\n\nPatch series \"ocfs2: validate suballoc slot and bit of metadata blocks\", v3.\n\nThe ocfs2 metadata validators trust the on-disk suballoc slot and bit\nwithout checking them against the slot range of the mounted filesystem and\nthe capacity of the block group bitmap.  A corrupted image can carry\nOCFS2_INVALID_SLOT or another out-of-range slot, or a suballoc bit beyond\nthe bitmap, and once the corresponding inode, extent block, xattr block,\ndir index root or refcount block gets freed, the bad value goes straight\ninto ocfs2_get_system_file_inode() or _ocfs2_free_suballoc_bits() and hits\na BUG_ON() or runs off the end of local_system_inodes[].\n\nThis series rejects such values at read time, in the existing validators,\nso corrupted objects fail with -EROFS (and a read-only remount) instead of\ncrashing:\n\n  patch 1 restricts OCFS2_INVALID_SLOT dinodes to system inodes,\n        completing fe7a283b3916 (\"ocfs2: add suballoc slot check in\n        ocfs2_validate_inode_block()\"), and turns the \"system file\n        state is ambiguous\" BUG_ON() in ocfs2_read_locked_inode() into\n        an ocfs2_error();\n  patch 2 rejects oversized dinode suballoc bits;\n  patch 3 validates the suballoc slot and bit of xattr and dir index\n        blocks;\n  patch 4 validates the suballoc slot and bit of extent and refcount\n        blocks.\n\nThe checks only enforce what the kernel and mkfs.ocfs2 already write: a\nvalid slot from meta_ac-\u003eac_alloc_slot and a bit within the block group\nbitmap, with system inodes carrying OCFS2_INVALID_SLOT plus\nOCFS2_SYSTEM_FL and extent blocks using slot 0.  Nothing changes for\nhealthy filesystems.\n\nEach new check was exercised under QEMU by corrupting the field in\nquestion with an out-of-range value; with the series applied the access\nfails with -EROFS and the filesystem remounts read-only instead of hitting\nthe BUG_ON().\n\n\nThis patch (of 4):\n\nocfs2_validate_inode_block() currently permits i_suballoc_slot to be\nOCFS2_INVALID_SLOT for any dinode.  Only system inodes created by\nmkfs.ocfs2 are allocated from the global allocator and thus legitimately\ncarry this value; regular inodes are always allocated from a per-slot\nsuballocator and hence must have a valid slot.\n\nIf a corrupted regular inode with OCFS2_INVALID_SLOT is accepted,\nocfs2_remove_inode() will pass the slot to ocfs2_get_system_file_inode()\nand get_local_system_inode() will hit BUG_ON(slot == OCFS2_INVALID_SLOT)\nwhen the inode is deleted.  This can be triggered by an unprivileged user\nunlinking such a corrupted file.\n\nReject OCFS2_INVALID_SLOT for non-system dinodes during validation, while\nstill accepting it for system inodes.  Note that a crafted dinode carrying\nOCFS2_SYSTEM_FL passes the check above, yet a plain lookup of it still\nused to BUG() in ocfs2_read_locked_inode() (\"system file state is\nambiguous\").  Since i_flags comes from disk, handle that mismatch with\nocfs2_error() instead of BUG_ON() as well."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - ocfs2_fh_to_dentry() takes ih_blkno raw from the NFS file handle, and ocfs2_get_dentry() calls ocfs2_iget(osb, blkno, 0, 0) once ocfs2_test_inode_bit() finds the global allocator bit set, which mkfs sets for system inodes such as //bad_blocks. ocfs2_read_locked_inode() then hit the SYSTEM_FL mismatch BUG(). The bad value is a forged handle in any NFSv3/v4 request (GETATTR, PUTFH+GETATTR) to an exported ocfs2 volume.\nAC:L - The client learns the export root\u0027s fileid from GETATTR (blkno 5 on a fresh mkfs, with bad_blocks at 7), or scans nearby blocks; wrong guesses just return ESTALE. The BUG fires inside ocfs2_iget() before ocfs2_get_dentry() checks ih_generation, so the attacker needs no secret and no state outside their control.\nPR:N - nfsd_set_fh_dentry() decodes the handle via exportfs_decode_fh_raw() after only the host-based rqst_exp_find() lookup and before any inode permission check, and on a default sec=sys export the client merely asserts a uid. The crafted-image path (a regular dinode with i_suballoc_slot 0xFFFF unlinked) is lower reach.\nUI:N - No victim action is needed: the volume is pristine, so no crafted image has to be mounted. A mkfs.ocfs2 1.8.9 image confirms bad_blocks is a Valid System dinode with slot Global and its bit set, and the kernel never loads it, so ocfs2_ilookup() misses and the read happens.\nS:U - The BUG() fires in the nfsd thread\u0027s own kernel context on the file server; no guest/host, IOMMU or other authority boundary is crossed.\nC:N - Both removed sites are assertions: mlog_bug_on_msg() in ocfs2_read_locked_inode(), and BUG_ON(slot == OCFS2_INVALID_SLOT) in get_local_system_inode(), which fires before the local_system_inodes[] index is computed, so no memory is read out of bounds.\nI:N - The crash comes before ocfs2_remove_inode()/ocfs2_free_dinode() touch any allocator, and before the half-populated inode is used, so nothing is written or corrupted.\nA:H - BUG() oopses the server (a panic under panic_on_oops) and kills the nfsd thread while it holds osb-\u003enfs_sync_rwlock for write plus the EX nfs_sync cluster lock, so later handle decodes and ocfs2_delete_inode() block on that volume. The client can repeat it at will."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:40:31.449Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cef7a01a416aede5f77a84ffc6a4c606368e3d5f"
        },
        {
          "url": "https://git.kernel.org/stable/c/9cc83c00b9b4f0e0a5842864b1a320fa63ecfc5c"
        },
        {
          "url": "https://git.kernel.org/stable/c/af08d7bef319df99c71107e0034244168822aa42"
        },
        {
          "url": "https://git.kernel.org/stable/c/de648cd4c54e659d5d212bdbe158f135569161cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/c55809688e4abbc4474f28849deea6e5cee2684c"
        },
        {
          "url": "https://git.kernel.org/stable/c/25bf9e549360b656a6763232e0e9e58a00c3aff7"
        }
      ],
      "title": "ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-138889",
    "datePublished": "2026-11-30T13:25:55.940Z",
    "dateReserved": "2026-11-30T13:22:15.901Z",
    "dateUpdated": "2026-12-01T05:40:31.449Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-138889",
      "date": "2026-12-04",
      "epss": "0.00733",
      "percentile": "0.55728"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:12:23.000Z",
      "cve": "CVE-2026-138889",
      "id": "msrc_CVE-2026-138889",
      "initial_release_date": "2026-12-02T01:12:23.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-138889.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ocfs2/inode.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "cef7a01a416aede5f77a84ffc6a4c606368e3d5f",
                    "status": "affected",
                    "version": "688d054a680c20ba3bf85de67ca780befc7ffc7b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9cc83c00b9b4f0e0a5842864b1a320fa63ecfc5c",
                    "status": "affected",
                    "version": "b8fa4d063e3b0c37ec406a1fb6b5033337fb879d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "af08d7bef319df99c71107e0034244168822aa42",
                    "status": "affected",
                    "version": "c416b59dbc547f5555e561dee1484a55dcbb79dd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "de648cd4c54e659d5d212bdbe158f135569161cb",
                    "status": "affected",
                    "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c55809688e4abbc4474f28849deea6e5cee2684c",
                    "status": "affected",
                    "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "25bf9e549360b656a6763232e0e9e58a00c3aff7",
                    "status": "affected",
                    "version": "fe7a283b39160153b6d1bd7f61b0a9d5d44987a8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.1.193",
                    "status": "affected",
                    "version": "6.1.191",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.6.163",
                    "status": "affected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.12.118",
                    "status": "affected",
                    "version": "6.12.114",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ocfs2/inode.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.18"
                  },
                  {
                    "lessThan": "6.18",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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\nocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes\n\nPatch series \"ocfs2: validate suballoc slot and bit of metadata blocks\", v3.\n\nThe ocfs2 metadata validators trust the on-disk suballoc slot and bit\nwithout checking them against the slot range of the mounted filesystem and\nthe capacity of the block group bitmap.  A corrupted image can carry\nOCFS2_INVALID_SLOT or another out-of-range slot, or a suballoc bit beyond\nthe bitmap, and once the corresponding inode, extent block, xattr block,\ndir index root or refcount block gets freed, the bad value goes straight\ninto ocfs2_get_system_file_inode() or _ocfs2_free_suballoc_bits() and hits\na BUG_ON() or runs off the end of local_system_inodes[].\n\nThis series rejects such values at read time, in the existing validators,\nso corrupted objects fail with -EROFS (and a read-only remount) instead of\ncrashing:\n\n  patch 1 restricts OCFS2_INVALID_SLOT dinodes to system inodes,\n        completing fe7a283b3916 (\"ocfs2: add suballoc slot check in\n        ocfs2_validate_inode_block()\"), and turns the \"system file\n        state is ambiguous\" BUG_ON() in ocfs2_read_locked_inode() into\n        an ocfs2_error();\n  patch 2 rejects oversized dinode suballoc bits;\n  patch 3 validates the suballoc slot and bit of xattr and dir index\n        blocks;\n  patch 4 validates the suballoc slot and bit of extent and refcount\n        blocks.\n\nThe checks only enforce what the kernel and mkfs.ocfs2 already write: a\nvalid slot from meta_ac-\u003eac_alloc_slot and a bit within the block group\nbitmap, with system inodes carrying OCFS2_INVALID_SLOT plus\nOCFS2_SYSTEM_FL and extent blocks using slot 0.  Nothing changes for\nhealthy filesystems.\n\nEach new check was exercised under QEMU by corrupting the field in\nquestion with an out-of-range value; with the series applied the access\nfails with -EROFS and the filesystem remounts read-only instead of hitting\nthe BUG_ON().\n\n\nThis patch (of 4):\n\nocfs2_validate_inode_block() currently permits i_suballoc_slot to be\nOCFS2_INVALID_SLOT for any dinode.  Only system inodes created by\nmkfs.ocfs2 are allocated from the global allocator and thus legitimately\ncarry this value; regular inodes are always allocated from a per-slot\nsuballocator and hence must have a valid slot.\n\nIf a corrupted regular inode with OCFS2_INVALID_SLOT is accepted,\nocfs2_remove_inode() will pass the slot to ocfs2_get_system_file_inode()\nand get_local_system_inode() will hit BUG_ON(slot == OCFS2_INVALID_SLOT)\nwhen the inode is deleted.  This can be triggered by an unprivileged user\nunlinking such a corrupted file.\n\nReject OCFS2_INVALID_SLOT for non-system dinodes during validation, while\nstill accepting it for system inodes.  Note that a crafted dinode carrying\nOCFS2_SYSTEM_FL passes the check above, yet a plain lookup of it still\nused to BUG() in ocfs2_read_locked_inode() (\"system file state is\nambiguous\").  Since i_flags comes from disk, handle that mismatch with\nocfs2_error() instead of BUG_ON() as well."
          }
        ],
        "id": "CVE-2026-138889",
        "lastModified": "2026-12-01T06:17:30.270",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:46.463",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/25bf9e549360b656a6763232e0e9e58a00c3aff7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9cc83c00b9b4f0e0a5842864b1a320fa63ecfc5c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/af08d7bef319df99c71107e0034244168822aa42"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c55809688e4abbc4474f28849deea6e5cee2684c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cef7a01a416aede5f77a84ffc6a4c606368e3d5f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/de648cd4c54e659d5d212bdbe158f135569161cb"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:08:50+00:00",
      "cve": "CVE-2026-138889",
      "id": "CVE-2026-138889",
      "initial_release_date": "2026-11-30T13:25:55.940000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: ocfs2: Denial of Service via corrupted inode deletion",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138889.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.