Return of Wrong Status Code Affecting bpftool6.18 package, versions <1:6.18.56-125.164.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-BPFTOOL618-21804330
  • published29 Oct 2026
  • disclosed18 Oct 2026

Introduced: 18 Oct 2026

NewCVE-2026-98842  (opens in a new tab)
CWE-393  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 bpftool6.18 to version 1:6.18.56-125.164.amzn2023 or higher.
This issue was patched in ALAS2023-2026-3251.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bpftool6.18 package and not the bpftool6.18 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

module: fix lost error code from codetag_load_module()

If codetag_load_module() fails, err is not set to reflect the failure and load_module() returns 0 after the module has been torn down.

Also, if the module is a livepatch, mod->klp_info allocated by copy_module_elf() leaks on this error path. Free it via a new livepatch_cleanup label.

CVSS Base Scores

version 3.1