Use-after-free in Linux kernel - CVE-2022-50300
Published: September 16, 2025 / Updated: September 22, 2025
Vulnerability identifier: #VU115380
CSH Severity: Low
CVSS v4 BT: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2022-50300
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the read_one_chunk() function in fs/btrfs/volumes.c. A local user can escalate privileges on the system.
Affected software
Linux kernel
openEuler
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
openEuler
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
How to mitigate CVE-2022-50300
Install update from vendor's repository.
Linux kernel - update to 6.0.18
kernel - update to 5.10.0-309.0.0.212
bpftool - update to 5.10.0-309.0.0.212
bpftool-debuginfo - update to 5.10.0-309.0.0.212
kernel-debuginfo - update to 5.10.0-309.0.0.212
kernel-debugsource - update to 5.10.0-309.0.0.212
kernel-devel - update to 5.10.0-309.0.0.212
kernel-headers - update to 5.10.0-309.0.0.212
kernel-source - update to 5.10.0-309.0.0.212
kernel-tools - update to 5.10.0-309.0.0.212
kernel-tools-debuginfo - update to 5.10.0-309.0.0.212
kernel-tools-devel - update to 5.10.0-309.0.0.212
perf - update to 5.10.0-309.0.0.212
perf-debuginfo - update to 5.10.0-309.0.0.212
python3-perf - update to 5.10.0-309.0.0.212
python3-perf-debuginfo - update to 5.10.0-309.0.0.212
kernel - update to 5.10.0-309.0.0.212
bpftool - update to 5.10.0-309.0.0.212
bpftool-debuginfo - update to 5.10.0-309.0.0.212
kernel-debuginfo - update to 5.10.0-309.0.0.212
kernel-debugsource - update to 5.10.0-309.0.0.212
kernel-devel - update to 5.10.0-309.0.0.212
kernel-headers - update to 5.10.0-309.0.0.212
kernel-source - update to 5.10.0-309.0.0.212
kernel-tools - update to 5.10.0-309.0.0.212
kernel-tools-debuginfo - update to 5.10.0-309.0.0.212
kernel-tools-devel - update to 5.10.0-309.0.0.212
perf - update to 5.10.0-309.0.0.212
perf-debuginfo - update to 5.10.0-309.0.0.212
python3-perf - update to 5.10.0-309.0.0.212
python3-perf-debuginfo - update to 5.10.0-309.0.0.212
External References
- https://git.kernel.org/stable/c/169a4cf46882974d4db6d85eb623ec898e51bbc0
- https://git.kernel.org/stable/c/1742e1c90c3da344f3bb9b1f1309b3f47482756a
- https://git.kernel.org/stable/c/b8e7ed42bc3ca0d0e4191ee394d34962d3624c22
- https://git.kernel.org/stable/c/fce3713197ebba239e1c7e02174ed216ea1ee014
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.0.18