Skip to content
Heist/ feed
High

net: shaper: rework the VALID marking (again)

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: shaper: rework the VALID marking (again) Recent commit changed the semantics from NOT_VALID to VALID. I didn't realize that the flags are not stored atomically with the entry in XArray. There's still a race of reader observing a VALID mark for a slot, getting interrupted, writer replacing the entry with a different one, reader continuing, fetching the entry which is now a different pointer than the pointer for which VALID was meant. The biggest consequence of this is that we may see a UAF since net_shaper_rollback() assumed that entries without VALID can be freed without observing RCU. Looks like the XArray marks are buying us nothing at this point. Let's convert the code to an explicit valid field. The smp_load_acquire() / smp_store_release() barriers are marginally cleaner.

Announced Source revision 1
Original source ↗

CVE-2026-64027

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

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": "93954b40f6a4fc43226c01a15b02732f884500f1",
        "lessThan": "2417df5e7bb4184b9d3a2988036bf2c46e594545",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "93954b40f6a4fc43226c01a15b02732f884500f1",
        "lessThan": "96ea960dd40fd55302e0fd755176f26a95e6a50c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "93954b40f6a4fc43226c01a15b02732f884500f1",
        "lessThan": "b8d7519352ba8c6df83259295d4a3bad093cae90",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "include/net/net_shaper.h",
      "net/shaper/shaper.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.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.34",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "include/net/net_shaper.h",
      "net/shaper/shaper.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-64027

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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