PT-2025-18592 · Linux+2 · Linux Kernel+2

Published

2023-11-07

·

Updated

2025-05-02

·

CVE-2022-49875

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A NULL pointer dereference issue has been resolved in the Linux kernel. The issue occurs when using bpftool to pin {PROG, MAP, LINK} without a FILE, resulting in a segmentation fault. This is caused by the lack of a FILE, which triggers a NULL pointer dereference in the strlen function. The corresponding stacktrace shows the issue occurring in the do pin function, specifically in the mount bpffs for pin and strlen(name) calls. The fix involves adding validation to the common process.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-49875
RHSA-2023:6583
RHSA-2023_6583

Affected Products

Astra Linux
Linux Kernel
Red Hat