In the Linux kernel, the following vulnerability has been resolved:
md/raid1: properly indicate failure when ending a failed write request
This patch addresses a data corruption bug in raid1 arrays using bitmaps.
Without this fix, the bitmap bits for the failed I/O end up being cleared.
Since we are in the failure leg of raid1_end_write_request, the request
either needs to be retried (R1BIO_WriteError) or failed (R1BIO_Degraded).
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "900c531899f5",
"lessThan": "12216d0919b6",
"versionType": "git"
},
{
"status": "affected",
"version": "1cd972e0a107",
"lessThan": "a6e17cab00fc",
"versionType": "git"
},
{
"status": "affected",
"version": "eeba6809d8d5",
"lessThan": "6920cef604fa",
"versionType": "git"
},
{
"status": "affected",
"version": "eeba6809d8d5",
"lessThan": "661061a45e32",
"versionType": "git"
},
{
"status": "affected",
"version": "eeba6809d8d5",
"lessThan": "59452e551784",
"versionType": "git"
},
{
"status": "affected",
"version": "eeba6809d8d5",
"lessThan": "538244fba59f",
"versionType": "git"
},
{
"status": "affected",
"version": "eeba6809d8d5",
"lessThan": "2417b9869b81",
"versionType": "git"
}
],
"programFiles": [
"drivers/md/raid1.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.4",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "4.14.233",
"versionType": "custom",
"lessThanOrEqual": "4.14.*"
},
{
"status": "unaffected",
"version": "4.19.191",
"versionType": "custom",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.118",
"versionType": "custom",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.36",
"versionType": "custom",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.11.20",
"versionType": "custom",
"lessThanOrEqual": "5.11.*"
},
{
"status": "unaffected",
"version": "5.12.3",
"versionType": "custom",
"lessThanOrEqual": "5.12.*"
},
{
"status": "unaffected",
"version": "5.13",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/md/raid1.c"
],
"defaultStatus": "affected"
}
]
git.kernel.org/stable/c/12216d0919b64ee2ea5dc7a50e455670f44383d5
git.kernel.org/stable/c/2417b9869b81882ab90fd5ed1081a1cb2d4db1dd
git.kernel.org/stable/c/538244fba59fde17186322776247cd9c05be86dd
git.kernel.org/stable/c/59452e551784b7a57a45d971727e9db63b192515
git.kernel.org/stable/c/661061a45e32d8b2cc0e306da9f169ad44011382
git.kernel.org/stable/c/6920cef604fa57f9409e3960413e9cc11f5c5a40
git.kernel.org/stable/c/a6e17cab00fc5bf85472434c52ac751426257c6f