blob: 74885e4089f90ec6a12d4d5f706522eab67d78a0 [file] [log] [blame]
{
"containers": {
"cna": {
"providerMetadata": {
"orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd: Fix missing release of 'active_io' for flush\n\nsubmit_flushes\n atomic_set(&mddev->flush_pending, 1);\n rdev_for_each_rcu(rdev, mddev)\n atomic_inc(&mddev->flush_pending);\n bi->bi_end_io = md_end_flush\n submit_bio(bi);\n /* flush io is done first */\n md_end_flush\n if (atomic_dec_and_test(&mddev->flush_pending))\n percpu_ref_put(&mddev->active_io)\n -> active_io is not released\n\n if (atomic_dec_and_test(&mddev->flush_pending))\n -> missing release of active_io\n\nFor consequence, mddev_suspend() will wait for 'active_io' to be zero\nforever.\n\nFix this problem by releasing 'active_io' in submit_flushes() if\n'flush_pending' is decreased to zero."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/md.c"
],
"versions": [
{
"version": "f9f2d957a8ea93c73182aebf7de30935a58c027d",
"lessThan": "6b2ff10390b19a2364af622b6666b690443f9f3f",
"status": "affected",
"versionType": "git"
},
{
"version": "530cec617f5a8ba6f26bcbf0d64d75c951d17730",
"lessThan": "02dad157ba11064d073f5499dc33552b227d5d3a",
"status": "affected",
"versionType": "git"
},
{
"version": "c4c2345214b66e2505a26fd2ea58839dd7a1d48d",
"lessThan": "11f81438927f84edfaaeb5d5f10856c3a1c1fc82",
"status": "affected",
"versionType": "git"
},
{
"version": "fa2bbff7b0b4e211fec5e5686ef96350690597b5",
"lessThan": "855678ed8534518e2b428bcbcec695de9ba248e8",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/md.c"
],
"versions": [
{
"version": "6.1.75",
"lessThan": "6.1.80",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.6.14",
"lessThan": "6.6.19",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.7.2",
"lessThan": "6.7.7",
"status": "affected",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.75",
"versionEndExcluding": "6.1.80"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.14",
"versionEndExcluding": "6.6.19"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7.2",
"versionEndExcluding": "6.7.7"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3f"
},
{
"url": "https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3a"
},
{
"url": "https://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82"
},
{
"url": "https://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8"
}
],
"title": "md: Fix missing release of 'active_io' for flush",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
"cveID": "CVE-2024-27023",
"requesterUserId": "gregkh@kernel.org",
"serial": "1",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.0"
}