Skip to content
Heist/ feed
Back to feed
MediumFix available

fs/proc: fix softlockup in __read_vmcore (part 2)

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix softlockup in __read_vmcore (part 2) Since commit 5cbcb62dddf5 ("fs/proc: fix softlockup in __read_vmcore") the number of softlockups in __read_vmcore at kdump time have gone down, but they still happen sometimes. In a memory constrained environment like the kdump image, a softlockup is not just a harmless message, but it can interfere with things like RCU freeing memory, causing the crashdump to get stuck. The second loop in __read_vmcore has a lot more opportunities for natural sleep points, like scheduling out while waiting for a data write to happen, but apparently that is not always enough. Add a cond_resched() to the second loop in __read_vmcore to (hopefully) get rid of the softlockups.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.234, 5.15.177, 5.4.290, 6.1.127, 6.12.11, 6.6.74
CVEs
CVE-2025-21694
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:55 UTC · Revision 1

Source evidence

fs/proc: fix softlockup in __read_vmcore (part 2)

core-osv · Original source

Published 12 Feb 2025, 13:27 UTC

In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix softlockup in __read_vmcore (part 2) Since commit 5cbcb62dddf5 ("fs/proc: fix softlockup in __read_vmcore") the number of softlockups in __read_vmcore at kdump time have gone down, but they still happen sometimes. In a memory constrained environment like the kdump image, a softlockup is not just a harmless message, but it can interfere with things like RCU freeing memory, causing the crashdump to get stuck. The second loop in __read_vmcore has a lot more opportunities for natural sleep points, like scheduling out while waiting for a data write to happen, but apparently that is not always enough. Add a cond_resched() to the second loop in __read_vmcore to (hopefully) get rid of the softlockups.

osv:CVE-2025-21694

Kernel

Fixed versions: 5.4.290, 5.10.234, 5.15.177, 6.1.127, 6.6.74, 6.12.11

Complete source record
{
  "id": "57876da099c5f44cf555588691d68d124d54fa9622d098f456cd121d5dd87219",
  "url": "https://osv.dev/vulnerability/CVE-2025-21694",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "fs/proc: fix softlockup in __read_vmcore (part 2)",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix softlockup in __read_vmcore (part 2) Since commit 5cbcb62dddf5 (\"fs/proc: fix softlockup in __read_vmcore\") the number of softlockups in __read_vmcore at kdump time have gone down, but they still happen sometimes. In a memory constrained environment like the kdump image, a softlockup is not just a harmless message, but it can interfere with things like RCU freeing memory, causing the crashdump to get stuck. The second loop in __read_vmcore has a lot more opportunities for natural sleep points, like scheduling out while waiting for a data write to happen, but apparently that is not always enough. Add a cond_resched() to the second loop in __read_vmcore to (hopefully) get rid of the softlockups.",
    "evidence": "osv:CVE-2025-21694",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.290",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.234",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.177",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.127",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.74",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-21694",
      "aliases": [
        "CVE-2025-21694"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "803d5a33d5ffdc2d86dcc0cfa01655a330612cdb"
                },
                {
                  "fixed": "84c4ed15626574c9ac6c1039ba9c137a77bcc7f2"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "70c1835e776c8447c1aca87ddb38cfe764fe756a"
                },
                {
                  "fixed": "80da29deb88a3a907441fc35bb7bac309f31e713"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e1b160a50c756e0efbea290b9bf5117cb80e8c4b"
                },
                {
                  "fixed": "649b266606bc413407ce315f710c8ce8a88ee30a"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193"
                },
                {
                  "fixed": "65c367bd9d4f43513c7f837df5753bea9561b836"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "518fbd644dabb6aedbdd4939c6c9cc1bf651459f"
                },
                {
                  "fixed": "a5a2ee8144c3897d37403a69118c3e3dc5713958"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5cbcb62dddf5346077feb82b7b0c9254222d3445"
                },
                {
                  "fixed": "80828540dad0757b6337c6561d49c81038f38d87"
                },
                {
                  "fixed": "cbc5dde0a461240046e8a41c43d7c3b76d5db952"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.4.279"
                },
                {
                  "fixed": "5.4.290"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.10.221"
                },
                {
                  "fixed": "5.10.234"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.162"
                },
                {
                  "fixed": "5.15.177"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.1.95"
                },
                {
                  "fixed": "6.1.127"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.6.35"
                },
                {
                  "fixed": "6.6.74"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.19.317"
                },
                {
                  "fixed": "4.20"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.9.6"
                },
                {
                  "fixed": "6.10"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7bdf1d550ddfcd9ab797087421f77b7aceddc8a7"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8780e8a0e25dc4c3927f611ec8970d26c0c7369"
                }
              ]
            }
          ],
          "versions": [
            "v5.4.289",
            "v5.4.288",
            "v5.4.287",
            "v5.4.286",
            "v5.4.285",
            "v5.4.284",
            "v5.4.283",
            "v5.4.282",
            "v5.4.281",
            "v5.4.280",
            "v5.4.279",
            "v5.10.233",
            "v5.10.232",
            "v5.10.231",
            "v5.10.230",
            "v5.10.229",
            "v5.10.228",
            "v5.10.227",
            "v5.10.226",
            "v5.10.225",
            "v5.10.224",
            "v5.10.223",
            "v5.10.222",
            "v5.10.221",
            "v5.15.176",
            "v5.15.175",
            "v5.15.174",
            "v5.15.173",
            "v5.15.172",
            "v5.15.171",
            "v5.15.170",
            "v5.15.169",
            "v5.15.168",
            "v5.15.167",
            "v5.15.166",
            "v5.15.165",
            "v5.15.164",
            "v5.15.163",
            "v5.15.162",
            "v6.1.126",
            "v6.1.125",
            "v6.1.124",
            "v6.1.123",
            "v6.1.122",
            "v6.1.121",
            "v6.1.120",
            "v6.1.119",
            "v6.1.118",
            "v6.1.117",
            "v6.1.116",
            "v6.1.115",
            "v6.1.114",
            "v6.1.113",
            "v6.1.112",
            "v6.1.111",
            "v6.1.110",
            "v6.1.109",
            "v6.1.108",
            "v6.1.107",
            "v6.1.106",
            "v6.1.105",
            "v6.1.104",
            "v6.1.103",
            "v6.1.102",
            "v6.1.101",
            "v6.1.100",
            "v6.1.99",
            "v6.1.98",
            "v6.1.97",
            "v6.1.96",
            "v6.1.95",
            "v6.6.73",
            "v6.6.72",
            "v6.6.71",
            "v6.6.70",
            "v6.6.69",
            "v6.6.68",
            "v6.6.67",
            "v6.6.66",
            "v6.6.65",
            "v6.6.64",
            "v6.6.63",
            "v6.6.62",
            "v6.6.61",
            "v6.6.60",
            "v6.6.59",
            "v6.6.58",
            "v6.6.57",
            "v6.6.56",
            "v6.6.55",
            "v6.6.54",
            "v6.6.53",
            "v6.6.52",
            "v6.6.51",
            "v6.6.50",
            "v6.6.49",
            "v6.6.48",
            "v6.6.47",
            "v6.6.46",
            "v6.6.45",
            "v6.6.44",
            "v6.6.43",
            "v6.6.42",
            "v6.6.41",
            "v6.6.40",
            "v6.6.39",
            "v6.6.38",
            "v6.6.37",
            "v6.6.36",
            "v6.6.35",
            "v4.19.325",
            "v4.19.324",
            "v4.19.323",
            "v4.19.322",
            "v4.19.321",
            "v4.19.320",
            "v4.19.319",
            "v4.19.318",
            "v4.19.317",
            "v6.9.12",
            "v6.9.11",
            "v6.9.10",
            "v6.9.9",
            "v6.9.8",
            "v6.9.7",
            "v6.9.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21694.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.290"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.234"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.177"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.127"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.74"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21694.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.819605180Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-355557.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://git.kernel.org/stable/c/649b266606bc413407ce315f710c8ce8a88ee30a",
        "https://git.kernel.org/stable/c/65c367bd9d4f43513c7f837df5753bea9561b836",
        "https://git.kernel.org/stable/c/80828540dad0757b6337c6561d49c81038f38d87",
        "https://git.kernel.org/stable/c/80da29deb88a3a907441fc35bb7bac309f31e713",
        "https://git.kernel.org/stable/c/84c4ed15626574c9ac6c1039ba9c137a77bcc7f2",
        "https://git.kernel.org/stable/c/a5a2ee8144c3897d37403a69118c3e3dc5713958",
        "https://git.kernel.org/stable/c/cbc5dde0a461240046e8a41c43d7c3b76d5db952",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21694.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-21694",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21694.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-21694",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499837,
  "published_at": "2025-02-12T13:27:53.763+00:00"
}