{"id":"CVE-2023-53421","aliases":["CVE-2023-53421"],"related":[],"kind":"vulnerability","state":"published","title":"blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()\n\nWhen blkg_alloc() is called to allocate a blkcg_gq structure\nwith the associated blkg_iostat_set's, there are 2 fields within\nblkg_iostat_set that requires proper initialization - blkg & sync.\nThe former field was introduced by commit 3b8cc6298724 (\"blk-cgroup:\nOptimize blkcg_rstat_flush()\") while the later one was introduced by\ncommit f73316482977 (\"blk-cgroup: reimplement basic IO stats using\ncgroup rstat\").\n\nUnfortunately those fields in the blkg_iostat_set's are not properly\nre-initialized when they are cleared in v1's blkcg_reset_stats(). This\ncan lead to a kernel panic due to NULL pointer access of the blkg\npointer. The missing initialization of sync is less problematic and\ncan be a problem in a debug kernel due to missing lockdep initialization.\n\nFix these problems by re-initializing them after memory clearing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()\n\nWhen blkg_alloc() is called to allocate a blkcg_gq structure\nwith the associated blkg_iostat_set's, there are 2 fields within\nblkg_iostat_set that requires proper initialization - blkg & sync.\nThe former field was introduced by commit 3b8cc6298724 (\"blk-cgroup:\nOptimize blkcg_rstat_flush()\") while the later one was introduced by\ncommit f73316482977 (\"blk-cgroup: reimplement basic IO stats using\ncgroup rstat\").\n\nUnfortunately those fields in the blkg_iostat_set's are not properly\nre-initialized when they are cleared in v1's blkcg_reset_stats(). This\ncan lead to a kernel panic due to NULL pointer access of the blkg\npointer. The missing initialization of sync is less problematic and\ncan be a problem in a debug kernel due to missing lockdep initialization.\n\nFix these problems by re-initializing them after memory clearing.","source":"cvelist"}],"published":"2025-09-18T16:04:04.526Z","modified":"2026-06-17T06:45:17.053Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"58c135513562698f222a58ba07dbdfcfb268aa0d","status":"affected"},{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"0561aa6033dd181594116d705c41fc16e97161a2","status":"affected"},{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"892faa76be894d324bf48b12a55c7af7be2bad83","status":"affected"},{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"b0d26283af612b9e0cc3188b0b88ad7fdea447e8","status":"affected"},{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"abbce7f82613ea5eeefd0fc3c1c8e449b9cef2a2","status":"affected"},{"type":"git","introduced":"f73316482977ac401ac37245c9df48079d4e11f3","fixed":"3d2af77e31ade05ff7ccc3658c3635ec1bea0979","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"6.3.13"},{"status":"affected","introduced":"6.4","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/58c135513562698f222a58ba07dbdfcfb268aa0d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0561aa6033dd181594116d705c41fc16e97161a2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/892faa76be894d324bf48b12a55c7af7be2bad83","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0d26283af612b9e0cc3188b0b88ad7fdea447e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abbce7f82613ea5eeefd0fc3c1c8e449b9cef2a2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d2af77e31ade05ff7ccc3658c3635ec1bea0979","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T19:12:11.098Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53421","url":"https://www.cve.org/CVERecord?id=CVE-2023-53421","licence":"CVE Terms of Use","modified":"2026-06-01T16:04:11.445Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53421","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53421","licence":"Public domain","modified":"2026-06-17T06:45:17.053Z"}],"updatedAt":"2026-11-25T22:58:34.875Z","epss":{"score":0.00172,"percentile":0.06867,"date":"2026-12-01T12:00:22.000Z"}}