CVE-2022-49875: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 5.7, before 5.10.155 (fixed in 5.10.155); from 5.11, before 5.15.79 (fixed in 5.15.79); from 5.16, before 6.0.9 (fixed in 6.0.9); version 6.1 only

Published 2025-05-01. Last modified 2026-06-17.