Skip to content
Heist/ feed
High

netfs: Fix read abandonment during retry

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix read abandonment during retry Under certain circumstances, all the remaining subrequests from a read request will get abandoned during retry. The abandonment process expects the 'subreq' variable to be set to the place to start abandonment from, but it doesn't always have a useful value (it will be uninitialised on the first pass through the loop and it may point to a deleted subrequest on later passes). Fix the first jump to "abandon:" to set subreq to the start of the first subrequest expected to need retry (which, in this abandonment case, turned out unexpectedly to no longer have NEED_RETRY set). Also clear the subreq pointer after discarding superfluous retryable subrequests to cause an oops if we do try to access it.

Announced Group revision 1
Original source ↗

CVE-2026-31435

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-31435

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": "ee4cdf7ba857a894ad1650d6ab77669cbbfa329e",
        "lessThan": "3e5fd8f53b575ff2188f82071da19c977ca56c41",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ee4cdf7ba857a894ad1650d6ab77669cbbfa329e",
        "lessThan": "8f2f2bd128a8d9edbc1e785760da54ada3df69b7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ee4cdf7ba857a894ad1650d6ab77669cbbfa329e",
        "lessThan": "7e57523490cd2efb52b1ea97f2e0a74c0fb634cd",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/netfs/read_retry.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.21",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/netfs/read_retry.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-31435

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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