FKIE_CVE-2026-138831

Vulnerability from fkie_nvd - Published: 2026-11-30 14:17 - Updated: 2026-11-30 14:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: report RCU-tasks quiescent states while undoing a range This shows up in the Meta fleet on ftruncate() of large tmpfs files: INFO: rcu_tasks detected stalls on tasks: 00000000752fd185: .. nvcsw: 59455/59455 holdout: 1 idle_cpu: -1/0 task:rocksdb:bottom state:R running task __folio_split find_get_entry find_get_entries truncate_inode_partial_folio shmem_undo_range shmem_setattr notify_change do_ftruncate __x64_sys_ftruncate do_syscall_64 shmem_undo_range() walks the whole of the requested range in folio_batch sized steps, twice, and its two cond_resched() calls are the only reschedule points in that walk. cond_resched() is not an RCU-tasks quiescent state. Use cond_resched_tasks_rcu_qs() at both points so the walk reports an RCU-tasks quiescent state as it proceeds.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/shmem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1aefb97c6663c120f8643f94963ea8d907569ca8",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "72d72aa2b437c9c4d9742c138ec65f3399ee4ae6",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "958a8aa3f1abc9b6bbe501d1c88ad324f9bbab32",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "96c426b253ebc77d46c817ace18c42b78e4c4d23",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "2edb293e97e7f64a75919e28075763c6241c489b",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "b5b95b5176045583130799e05cdd6d00735536e9",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "9f8f6a2df0f9d3ce5406e4003da62f0a56771536",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            },
            {
              "lessThan": "ebd1a08c192109c83a87ddf42793ed6283180faf",
              "status": "affected",
              "version": "8315f42295d2667a7f942f154b73a86fd7cb2227",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/shmem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.18"
            },
            {
              "lessThan": "3.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "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.117",
              "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\nmm/shmem: report RCU-tasks quiescent states while undoing a range\n\nThis shows up in the Meta fleet on ftruncate() of large tmpfs files:\n\n  INFO: rcu_tasks detected stalls on tasks:\n  00000000752fd185: .. nvcsw: 59455/59455 holdout: 1 idle_cpu: -1/0\n  task:rocksdb:bottom  state:R  running task\n    __folio_split\n    find_get_entry\n    find_get_entries\n    truncate_inode_partial_folio\n    shmem_undo_range\n    shmem_setattr\n    notify_change\n    do_ftruncate\n    __x64_sys_ftruncate\n    do_syscall_64\n\nshmem_undo_range() walks the whole of the requested range in folio_batch\nsized steps, twice, and its two cond_resched() calls are the only\nreschedule points in that walk.\n\ncond_resched() is not an RCU-tasks quiescent state.  Use\ncond_resched_tasks_rcu_qs() at both points so the walk reports an\nRCU-tasks quiescent state as it proceeds."
    }
  ],
  "id": "CVE-2026-138831",
  "lastModified": "2026-11-30T14:17:37.470",
  "metrics": {},
  "published": "2026-11-30T14:17:37.470",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1aefb97c6663c120f8643f94963ea8d907569ca8"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2edb293e97e7f64a75919e28075763c6241c489b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/72d72aa2b437c9c4d9742c138ec65f3399ee4ae6"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/958a8aa3f1abc9b6bbe501d1c88ad324f9bbab32"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/96c426b253ebc77d46c817ace18c42b78e4c4d23"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/9f8f6a2df0f9d3ce5406e4003da62f0a56771536"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b5b95b5176045583130799e05cdd6d00735536e9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ebd1a08c192109c83a87ddf42793ed6283180faf"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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.