CVE-2022-49875

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE When using bpftool to pin {PROG, MAP, LINK} without FILE, segmentation fault will occur. The reson is that the lack of FILE will cause strlen to trigger NULL pointer dereference. The corresponding stacktrace is shown below: do_pin do_pin_any do_pin_fd mount_bpffs_for_pin strlen(name) <- NULL pointer dereference Fix it by adding validation to the common process.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMay 1, 2025
First seenMay 1, 2025

How to fix

Update
  • linux linux_kernel5.10.155, 5.15.79, 6.0.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.7 ≤ v < 5.10.155, 5.11 ≤ v < 5.15.79, 5.16 ≤ v < 6.0.9, 6.15.10.155, 5.15.79, 6.0.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-49875 · Linux Kernel · Dark Radar