CVE-2023-53421
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
18/09/2025
Last modified:
06/02/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()<br />
<br />
When blkg_alloc() is called to allocate a blkcg_gq structure<br />
with the associated blkg_iostat_set&#39;s, there are 2 fields within<br />
blkg_iostat_set that requires proper initialization - blkg & sync.<br />
The former field was introduced by commit 3b8cc6298724 ("blk-cgroup:<br />
Optimize blkcg_rstat_flush()") while the later one was introduced by<br />
commit f73316482977 ("blk-cgroup: reimplement basic IO stats using<br />
cgroup rstat").<br />
<br />
Unfortunately those fields in the blkg_iostat_set&#39;s are not properly<br />
re-initialized when they are cleared in v1&#39;s blkcg_reset_stats(). This<br />
can lead to a kernel panic due to NULL pointer access of the blkg<br />
pointer. The missing initialization of sync is less problematic and<br />
can be a problem in a debug kernel due to missing lockdep initialization.<br />
<br />
Fix these problems by re-initializing them after memory clearing.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 6.3.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.4 (including) | 6.4.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0561aa6033dd181594116d705c41fc16e97161a2
- https://git.kernel.org/stable/c/3d2af77e31ade05ff7ccc3658c3635ec1bea0979
- https://git.kernel.org/stable/c/892faa76be894d324bf48b12a55c7af7be2bad83
- https://git.kernel.org/stable/c/abbce7f82613ea5eeefd0fc3c1c8e449b9cef2a2
- https://git.kernel.org/stable/c/b0d26283af612b9e0cc3188b0b88ad7fdea447e8



