{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53210","id":"CVE-2023-53210","title":"md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()","description":"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_st","descriptionLong":"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().","published":"2025-09-15T14:21:38.534Z","updated":"2026-10-28T02:30:27.829250038Z","reserved":"2025-09-15T13:59:19.069Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0dd00cba99c352dc9afd62979f350d808c215cb9","lessThan":"711fb92606208a8626b785da4f9f23d648a5b6c8","status":"affected","versionType":"git"},{"version":"0dd00cba99c352dc9afd62979f350d808c215cb9","lessThan":"7a8b6d93991bf4b72b3f959baea35397c6c8e521","status":"affected","versionType":"git"},{"version":"0dd00cba99c352dc9afd62979f350d808c215cb9","lessThan":"e46b2e7be8059d156af8c011dd8d665229b65886","status":"affected","versionType":"git"},{"version":"0dd00cba99c352dc9afd62979f350d808c215cb9","lessThan":"0d0bd28c500173bfca78aa840f8f36d261ef1765","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/711fb92606208a8626b785da4f9f23d648a5b6c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7a8b6d93991bf4b72b3f959baea35397c6c8e521","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e46b2e7be8059d156af8c011dd8d665229b65886","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d0bd28c500173bfca78aa840f8f36d261ef1765","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53210.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53210","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00165,"epssPercentile":0.05876,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53210","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53210","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53210","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53210","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}