Vulnerability · Published Sep 18, 2025 · Assigned by Linux
CVE-2023-53421blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()
Medium 5.5
In plain English
A medium-severity null pointer dereference in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats() When blkg_alloc() is called to allocate a blkcg_gq structure with the associated blkg_iostat_set's, there are 2 fields within blkg_iostat_set that requires proper initialization - blkg & sync. The former field was introduced by commit 3b8cc6298724 ("blk-cgroup: Optimize blkcg_rstat_flush()") while the later one was introduced by commit f73316482977 ("blk-cgroup: reimplement basic IO stats using cgroup rstat"). Unfortunately those fields in the blkg_iostat_set's are not properly re-initialized when they are cleared in v1's blkcg_reset_stats(). This can lead to a kernel panic due to NULL pointer access of the blkg pointer. The missing initialization of sync is less problematic and can be a problem in a debug kernel due to missing lockdep initialization. Fix these problems by re-initializing them after memory clearing.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.162-1 | DEBIAN-CVE-2023-53421 |
| Debian:12 | linux | 6.1.162-1 | DSA-6127-1 |
| Debian:13 | linux | 6.4.4-1 | DEBIAN-CVE-2023-53421 |
| Debian:14 | linux | 6.4.4-1 | DEBIAN-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux | 5.15.0-176.186 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux | 5.15.0-176.186 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1105.112 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1105.112 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1110.119 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1110.119 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1114.123 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1105.114 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1105.114 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1101.107 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1101.107 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1088.96 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1088.96 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1099.102 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1099.102 | USN-8180-5 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1100.106 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1100.106 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1097.102 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1097.102 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-175.185 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-175.185 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1100.101 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1100.101 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1057.57 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1057.57 | USN-8187-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1046.46 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1046.46 | USN-8187-1 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1102.108 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1102.108 | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1099.102 | USN-8180-6 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1099.102 | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2023-53421 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1070.74 | USN-8275-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1070.74 | UBUNTU-CVE-2023-53421 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f73316482977ac401ac37245c9df48079d4e11f3 – before 58c135513562698f222a58ba07dbdfcfb268aa0df73316482977ac401ac37245c9df48079d4e11f3 – before 0561aa6033dd181594116d705c41fc16e97161a2f73316482977ac401ac37245c9df48079d4e11f3 – before 892faa76be894d324bf48b12a55c7af7be2bad83f73316482977ac401ac37245c9df48079d4e11f3 – before b0d26283af612b9e0cc3188b0b88ad7fdea447e8f73316482977ac401ac37245c9df48079d4e11f3 – before abbce7f82613ea5eeefd0fc3c1c8e449b9cef2a2f73316482977ac401ac37245c9df48079d4e11f3 – before 3d2af77e31ade05ff7ccc3658c3635ec1bea0979 |
| Linux | Linux | 5.5 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://git.kernel.org/stable/c/58c135513562698f222a58ba07dbdfcfb268aa0d
- https://git.kernel.org/stable/c/0561aa6033dd181594116d705c41fc16e97161a2
- https://git.kernel.org/stable/c/892faa76be894d324bf48b12a55c7af7be2bad83
- https://git.kernel.org/stable/c/b0d26283af612b9e0cc3188b0b88ad7fdea447e8
- https://git.kernel.org/stable/c/abbce7f82613ea5eeefd0fc3c1c8e449b9cef2a2
- https://git.kernel.org/stable/c/3d2af77e31ade05ff7ccc3658c3635ec1bea0979