Skip to content
Heist/ feed
Back to feed
UnratedFix available

md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt() The variable mddev->private is first assigned to conf and then checked: conf = mddev->private; if (!conf) ... If conf is NULL, then mddev->private is also NULL. In this case, null-pointer dereferences can occur when calling raid5_quiesce(): raid5_quiesce(mddev, true); raid5_quiesce(mddev, false); since mddev->private is assigned to conf again in raid5_quiesce(), and conf is dereferenced in several places, for example: conf->quiesce = 0; wake_up(&conf->wait_for_quiescent); To fix this issue, the function should unlock mddev and return before invoking raid5_quiesce() when conf is NULL, following the existing pattern in raid5_change_consistency_policy().

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.64, 6.18.4
CVEs
CVE-2025-71135
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:52 UTC · Revision 1

Source evidence

md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()

core-osv · Original source

Published 14 Jan 2026, 15:07 UTC

In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt() The variable mddev->private is first assigned to conf and then checked: conf = mddev->private; if (!conf) ... If conf is NULL, then mddev->private is also NULL. In this case, null-pointer dereferences can occur when calling raid5_quiesce(): raid5_quiesce(mddev, true); raid5_quiesce(mddev, false); since mddev->private is assigned to conf again in raid5_quiesce(), and conf is dereferenced in several places, for example: conf->quiesce = 0; wake_up(&conf->wait_for_quiescent); To fix this issue, the function should unlock mddev and return before invoking raid5_quiesce() when conf is NULL, following the existing pattern in raid5_change_consistency_policy().

osv:CVE-2025-71135

Kernel

Fixed versions: 6.12.64, 6.18.4

Complete source record
{
  "id": "50540815ab3cbfa5db34cc3c47737f74bba5cdf9831a126fab91f045c516b7c1",
  "url": "https://osv.dev/vulnerability/CVE-2025-71135",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt() The variable mddev->private is first assigned to conf and then checked: conf = mddev->private; if (!conf) ... If conf is NULL, then mddev->private is also NULL. In this case, null-pointer dereferences can occur when calling raid5_quiesce(): raid5_quiesce(mddev, true); raid5_quiesce(mddev, false); since mddev->private is assigned to conf again in raid5_quiesce(), and conf is dereferenced in several places, for example: conf->quiesce = 0; wake_up(&conf->wait_for_quiescent); To fix this issue, the function should unlock mddev and return before invoking raid5_quiesce() when conf is NULL, following the existing pattern in raid5_change_consistency_policy().",
    "evidence": "osv:CVE-2025-71135",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-71135",
      "aliases": [
        "CVE-2025-71135"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "be19e6e4339d1579d5f2fae8ce4facf9521dbbfc"
                },
                {
                  "fixed": "20597b7229aea8b5bc45cd92097640257c7fc33b"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fa1944bbe6220eb929e2c02e5e8706b908565711"
                },
                {
                  "fixed": "e5abb6af905de6b2fead8a0b3f32ab0b81468a01"
                },
                {
                  "fixed": "7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.12.4"
                },
                {
                  "fixed": "6.12.64"
                }
              ]
            }
          ],
          "versions": [
            "v6.12.63",
            "v6.12.62",
            "v6.12.61",
            "v6.12.60",
            "v6.12.59",
            "v6.12.58",
            "v6.12.57",
            "v6.12.56",
            "v6.12.55",
            "v6.12.54",
            "v6.12.53",
            "v6.12.52",
            "v6.12.51",
            "v6.12.50",
            "v6.12.49",
            "v6.12.48",
            "v6.12.47",
            "v6.12.46",
            "v6.12.45",
            "v6.12.44",
            "v6.12.43",
            "v6.12.42",
            "v6.12.41",
            "v6.12.40",
            "v6.12.39",
            "v6.12.38",
            "v6.12.37",
            "v6.12.36",
            "v6.12.35",
            "v6.12.34",
            "v6.12.33",
            "v6.12.32",
            "v6.12.31",
            "v6.12.30",
            "v6.12.29",
            "v6.12.28",
            "v6.12.27",
            "v6.12.26",
            "v6.12.25",
            "v6.12.24",
            "v6.12.23",
            "v6.12.22",
            "v6.12.21",
            "v6.12.20",
            "v6.12.19",
            "v6.12.18",
            "v6.12.17",
            "v6.12.16",
            "v6.12.15",
            "v6.12.14",
            "v6.12.13",
            "v6.12.12",
            "v6.12.11",
            "v6.12.10",
            "v6.12.9",
            "v6.12.8",
            "v6.12.7",
            "v6.12.6",
            "v6.12.5",
            "v6.12.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71135.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.12.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71135.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.076165569Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/20597b7229aea8b5bc45cd92097640257c7fc33b",
        "https://git.kernel.org/stable/c/7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9",
        "https://git.kernel.org/stable/c/e5abb6af905de6b2fead8a0b3f32ab0b81468a01",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71135.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-71135",
        "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/71xxx/CVE-2025-71135.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-71135",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493158,
  "published_at": "2026-01-14T15:07:49.891+00:00"
}