Skip to content
Heist/ feed
Unrated

ext4: fix buffer_head leak in ext4_init_orphan_info

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ext4: fix buffer_head leak in ext4_init_orphan_info ext4_init_orphan_info() reads orphan file blocks with ext4_bread() and stores the returned buffer_head in oi->of_binfo[i].ob_bh. If ext4_bread() succeeds but the orphan block magic or checksum validation fails, the function jumps to out_free. However, the old out_free loop starts releasing buffers from i - 1, so the current buffer_head at index i is skipped. This leaks the buffer_head reference obtained by ext4_bread() on the bad magic and bad checksum error paths. Fix this by tracking the number of successfully read buffer_heads and releasing exactly those buffer_heads on the error path.

Announced Source revision 1
Original source ↗

CVE-2026-92494

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-92494

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "a9a6ec1298f9bc134b2c5db27d25bb10603b7113",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "35fc83c65faf7949f5701bb34b20f822560a7718",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "74637f7fef030e5fb2e835b7dfeb05efdc48e0fe",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "6ec53ccab0d691b3c73e03d930343ca45987e88d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "1399f102d8a1855c1a38506057306ec79d0787d9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "e1e342d9a561c016b8531ec1f4dcefaad9d64954",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "02f310fcf47fa9311d6ba2946a8d19e7d7d11f37",
        "lessThan": "05704335803b69c1bfa8637b7ada942bf2ee8a41",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/ext4/orphan.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.15",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/ext4/orphan.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-92494

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#37727 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement