{"id":"CVE-2026-90385","summary":"md/raid1: create serial pool adding rdev to array with serialize_policy=1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid1: create serial pool adding rdev to array with serialize_policy=1\n\nThe following bug has been observed with kernel 7.1.3 after adding a new\nrdev to an existing RAID1 array with serialize_policy enabled:\n\n  Oops: 0002 [#1]\n  CPU: 0 UID: 0 PID: 19639 Comm: ext4lazyinit Not tainted 7.1.3-1-default\n  RIP: _raw_spin_lock_irqsave+0x27/0x50\n  CR2: 0000000000004960\n  Call Trace:\n   wait_for_serialization+0xb9/0x260 [raid1]\n   raid1_make_request+0x762/0xaff [raid1]\n   md_handle_request+0x1c9/0x2e0 [md_mod]\n\nThe raid1.c code calls wait_for_serialization() if the MD_SERIALIZE_POLICY\nis set, and wait_for_serialization assumes that rdev-\u003eserial is\ninitialized. Normally this will be the case for arrays that have\nthe serialize_policy sysfs attribute set to 1.\n\nBut when a new rdev is added to an existing array in bind_rdev_to_array(),\nthe condition at mddev_create_serial_pool() causes creation of rdev-\u003eserial\nto be skipped. Fix it.","modified":"2026-09-19T03:47:29.197625177Z","published":"2026-09-17T16:09:21.198Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90385.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/140234b2380ffb8ffb0cfc46fee0e822f43adef7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37f11973c3eb72a5eb061082cad529bb6939c24f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c02d675e81468003e4f2253b616c53729070d712"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9e4364449f7ca6917f3599eb32064dba5b7b147"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90385.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90385"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"69b00b5bb23552d43e8bbed73ef6624604bb94a2"},{"fixed":"f9e4364449f7ca6917f3599eb32064dba5b7b147"},{"fixed":"37f11973c3eb72a5eb061082cad529bb6939c24f"},{"fixed":"c02d675e81468003e4f2253b616c53729070d712"},{"fixed":"140234b2380ffb8ffb0cfc46fee0e822f43adef7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90385.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90385.json"}}],"schema_version":"1.9.0"}