{"id":"CVE-2023-53210","published":"2025-09-15T14:21:38Z","modified":"2026-05-11T19:40:24Z","title":"md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()\n\nr5l_flush_stripe_to_raid() will check if the list 'flushing_ios' is\nempty, and then submit 'flush_bio', however, r5l_log_flush_endio()\nis clearing the list first and then clear the bio, which will cause\nnull-ptr-deref:\n\nT1: submit flush io\nraid5d\n handle_active_stripes\n  r5l_flush_stripe_to_raid\n   // list is empty\n   // add 'io_end_ios' to the list\n   bio_init\n   submit_bio\n   // io1\n\nT2: io1 is done\nr5l_log_flush_endio\n list_splice_tail_init\n // clear the list\n\t\t\tT3: submit new flush io\n\t\t\t...\n\t\t\tr5l_flush_stripe_to_raid\n\t\t\t // list is empty\n\t\t\t // add 'io_end_ios' to the list\n\t\t\t bio_init\n bio_uninit\n // clear bio->bi_blkg\n\t\t\t submit_bio\n\t\t\t // null-ptr-deref\n\nFix this problem by clearing bio before clearing the list in\nr5l_log_flush_endio().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00228,"percentile":0.0813,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/711fb92606208a8626b785da4f9f23d648a5b6c8","tags":[]},{"url":"https://git.kernel.org/stable/c/7a8b6d93991bf4b72b3f959baea35397c6c8e521","tags":[]},{"url":"https://git.kernel.org/stable/c/e46b2e7be8059d156af8c011dd8d665229b65886","tags":[]},{"url":"https://git.kernel.org/stable/c/0d0bd28c500173bfca78aa840f8f36d261ef1765","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0dd00cba99c352dc9afd62979f350d808c215cb9, < 711fb92606208a8626b785da4f9f23d648a5b6c8",">= 0dd00cba99c352dc9afd62979f350d808c215cb9, < 7a8b6d93991bf4b72b3f959baea35397c6c8e521",">= 0dd00cba99c352dc9afd62979f350d808c215cb9, < e46b2e7be8059d156af8c011dd8d665229b65886",">= 0dd00cba99c352dc9afd62979f350d808c215cb9, < 0d0bd28c500173bfca78aa840f8f36d261ef1765"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T17:48:25.419997Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59873","exploited":false,"provenance":"source"}}