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.0: 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
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
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.
How to mitigate CVE-2022-50300
Install update from vendor's repository.
Sources
- 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