CVE-2022-49875
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 75a1e792c335b5c6d7fdb1014da47aeb64c5944f | affected | git | 8c80b2fca4112d724dde477aed13f7b0510a2792 | Unavailable | None listed |
| 75a1e792c335b5c6d7fdb1014da47aeb64c5944f | affected | git | 6dcdd1b68b7f9333d48d48fc77b75e7f235f6a4a | Unavailable | None listed |
| 75a1e792c335b5c6d7fdb1014da47aeb64c5944f | affected | git | da5161ba94c5e9182c301dd4f09c94f715c068bd | Unavailable | None listed |
| 75a1e792c335b5c6d7fdb1014da47aeb64c5944f | affected | git | 34de8e6e0e1f66e431abf4123934a2581cb5f133 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.7 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.7 | Unavailable | None listed |
| 5.10.155 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.79 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.9 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1 | unaffected | original_commit_for_fix | Unavailable | * | None listed |