Out-of-bounds read in Linux kernel - CVE-2021-46952

 

Out-of-bounds read in Linux kernel - CVE-2021-46952

Published: May 8, 2024


Vulnerability identifier: #VU89262
CSH Severity: Medium
CVSS v4 BT: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2021-46952
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to a boundary condition within the nfs23_parse_monolithic() function in fs/nfs/fs_context.c when handling UDP retrans. A remote attacker can trigger an out-of-bounds read error and gain access to sensitive information or perform a denial of service (DoS) attack.


Affected software

Linux kernel
openEuler
bpftool
kernel
kernel-devel
perf-debuginfo
perf
python2-perf
kernel-source
python3-perf-debuginfo
python3-perf
kernel-tools-debuginfo
kernel-tools
kernel-tools-devel
python2-perf-debuginfo
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo

How to mitigate CVE-2021-46952

Install updates from vendor's website.

Linux kernel - update to 5.10.36
bpftool - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-devel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python2-perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-source - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python3-perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python3-perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools-devel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python2-perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-debugsource - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
bpftool-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272

External References

Related Security Bulletins