{"id":"CVE-2025-71135","aliases":["CVE-2025-71135"],"related":[],"kind":"vulnerability","state":"published","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:\n\nmd/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()\n\nThe variable mddev->private is first assigned to conf and then checked:\n\n  conf = mddev->private;\n  if (!conf) ...\n\nIf conf is NULL, then mddev->private is also NULL. In this case,\nnull-pointer dereferences can occur when calling raid5_quiesce():\n\n  raid5_quiesce(mddev, true);\n  raid5_quiesce(mddev, false);\n\nsince mddev->private is assigned to conf again in raid5_quiesce(), and conf\nis dereferenced in several places, for example:\n\n  conf->quiesce = 0;\n  wake_up(&conf->wait_for_quiescent);\n\nTo fix this issue, the function should unlock mddev and return before\ninvoking raid5_quiesce() when conf is NULL, following the existing pattern\nin raid5_change_consistency_policy().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()\n\nThe variable mddev->private is first assigned to conf and then checked:\n\n  conf = mddev->private;\n  if (!conf) ...\n\nIf conf is NULL, then mddev->private is also NULL. In this case,\nnull-pointer dereferences can occur when calling raid5_quiesce():\n\n  raid5_quiesce(mddev, true);\n  raid5_quiesce(mddev, false);\n\nsince mddev->private is assigned to conf again in raid5_quiesce(), and conf\nis dereferenced in several places, for example:\n\n  conf->quiesce = 0;\n  wake_up(&conf->wait_for_quiescent);\n\nTo fix this issue, the function should unlock mddev and return before\ninvoking raid5_quiesce() when conf is NULL, following the existing pattern\nin raid5_change_consistency_policy().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmd/raid5: corrige posibles desreferencias de puntero nulo en raid5_store_group_thread_cnt()\n\nLa variable mddev-&gt;private se asigna primero a conf y luego se comprueba:\n\n  conf = mddev-&gt;private;\n  if (!conf) ...\n\nSi conf es NULL, entonces mddev-&gt;private también es NULL. En este caso,\npueden ocurrir desreferencias de puntero nulo al llamar a raid5_quiesce():\n\n  raid5_quiesce(mddev, true);\n  raid5_quiesce(mddev, false);\n\nya que mddev-&gt;private se asigna a conf de nuevo en raid5_quiesce(), y conf\nse desreferencia en varios lugares, por ejemplo:\n\n  conf-&gt;quiesce = 0;\n  wake_up(&amp;conf-&gt;wait_for_quiescent);\n\nPara solucionar este problema, la función debería desbloquear mddev y retornar antes de\ninvocar raid5_quiesce() cuando conf es NULL, siguiendo el patrón existente\nen raid5_change_consistency_policy().","source":"nvd"}],"published":"2026-01-14T15:07:49.891Z","modified":"2026-11-05T22:17:37.810Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"be19e6e4339d1579d5f2fae8ce4facf9521dbbfc","fixed":"20597b7229aea8b5bc45cd92097640257c7fc33b","status":"affected"},{"type":"git","introduced":"fa1944bbe6220eb929e2c02e5e8706b908565711","fixed":"e5abb6af905de6b2fead8a0b3f32ab0b81468a01","status":"affected"},{"type":"git","introduced":"fa1944bbe6220eb929e2c02e5e8706b908565711","fixed":"7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9","status":"affected"},{"type":"semver","introduced":"6.12.4","fixed":"6.12.64","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.4","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.4","fixed":"6.12.64"},{"status":"affected","introduced":"6.13.1","fixed":"6.18.4"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/20597b7229aea8b5bc45cd92097640257c7fc33b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5abb6af905de6b2fead8a0b3f32ab0b81468a01","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:14:32.226Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71135","url":"https://www.cve.org/CVERecord?id=CVE-2025-71135","licence":"CVE Terms of Use","modified":"2026-11-05T21:23:09.152Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71135","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71135","licence":"Public domain","modified":"2026-11-05T22:17:37.810Z"}],"updatedAt":"2026-11-25T22:59:10.626Z","epss":{"score":0.00175,"percentile":0.07329,"date":"2026-12-01T12:00:22.000Z"}}