CVE-2026-138831 (GCVE-0-2026-138831)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-11-30 13:25
VLAI
Title
mm/shmem: report RCU-tasks quiescent states while undoing a range
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.
Severity
No CVSS data available.
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: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 1aefb97c6663c120f8643f94963ea8d907569ca8 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 72d72aa2b437c9c4d9742c138ec65f3399ee4ae6 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 958a8aa3f1abc9b6bbe501d1c88ad324f9bbab32 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 96c426b253ebc77d46c817ace18c42b78e4c4d23 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 2edb293e97e7f64a75919e28075763c6241c489b (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < b5b95b5176045583130799e05cdd6d00735536e9 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < 9f8f6a2df0f9d3ce5406e4003da62f0a56771536 (git)
Affected: 8315f42295d2667a7f942f154b73a86fd7cb2227 , < ebd1a08c192109c83a87ddf42793ed6283180faf (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.18
Unaffected: 0 , < 3.18 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 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": [
            "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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-30T13:25:23.464Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1aefb97c6663c120f8643f94963ea8d907569ca8"
        },
        {
          "url": "https://git.kernel.org/stable/c/72d72aa2b437c9c4d9742c138ec65f3399ee4ae6"
        },
        {
          "url": "https://git.kernel.org/stable/c/958a8aa3f1abc9b6bbe501d1c88ad324f9bbab32"
        },
        {
          "url": "https://git.kernel.org/stable/c/96c426b253ebc77d46c817ace18c42b78e4c4d23"
        },
        {
          "url": "https://git.kernel.org/stable/c/2edb293e97e7f64a75919e28075763c6241c489b"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5b95b5176045583130799e05cdd6d00735536e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f8f6a2df0f9d3ce5406e4003da62f0a56771536"
        },
        {
          "url": "https://git.kernel.org/stable/c/ebd1a08c192109c83a87ddf42793ed6283180faf"
        }
      ],
      "title": "mm/shmem: report RCU-tasks quiescent states while undoing a range",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-138831",
    "datePublished": "2026-11-30T13:25:23.464Z",
    "dateReserved": "2026-11-30T13:22:15.897Z",
    "dateUpdated": "2026-11-30T13:25:23.464Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-138831",
      "date": "2026-12-04",
      "epss": "0.00185",
      "percentile": "0.08444"
    },
    "nvd": {
      "cve": {
        "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"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T02:47:22+00:00",
      "cve": "CVE-2026-138831",
      "id": "CVE-2026-138831",
      "initial_release_date": "2026-11-30T13:25:23.464000+00:00",
      "product_status:known_affected": "252",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via RCU task stalls during shmem file truncation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138831.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.