LiveActive security incident?Get immediate response
CVE Record

CVE-2025-40050: bpf: Skip scalar adjustment for BPF_NEG if dst is a pointer

In the Linux kernel, the following vulnerability has been resolved: bpf: Skip scalar adjustment for BPF_NEG if dst is a pointer In check_alu_op(), the verifier currently calls check_reg_arg() and adjust_scalar_min_max_vals() unconditionally for BPF_NEG operations. However, if the destination register holds a pointer, these scalar adjustments are unnecessary and potentially incorrect. This patch adds a check to skip the adjustment logic when the destination register contains a pointer.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel eBPF verifier flaw. The kernel could apply scalar arithmetic tracking to a register that actually holds a pointer during a BPF_NEG operation. The public sources do not state impact, exploitability, or business consequence, so urgency should be driven by kernel exposure and vendor guidance.

Executive priority

Treat this as a kernel maintenance item until impact is clarified. Prioritize normal patch channels for Linux systems with eBPF exposure, but do not classify it as emergency without new evidence of exploitability or impact.

Technical view

In check_alu_op(), BPF_NEG handling called check_reg_arg() and adjust_scalar_min_max_vals() unconditionally. The fix skips scalar min/max adjustment when the destination register is a pointer, avoiding incorrect verifier state handling. The source bundle does not provide CVSS, CWE, impact class, or exploit details.

Likely exposure

Exposure is limited to Linux kernels matching the affected records, especially systems where eBPF programs can be loaded. The bundle references Linux 6.17-era versions and stable kernel commits, but downstream distribution backports require vendor-specific mapping.

Exploitation context

No active exploitation is reported in the supplied sources, and the CVE is not listed as KEV. The sources do not provide proof-of-concept details, exploit preconditions, required privileges, or demonstrated security impact.

Researcher notes

The key evidence is the verifier logic correction around BPF_NEG and pointer registers. The public record lacks severity, exploitability analysis, and impact. Further assessment should diff the referenced commits and map affected downstream kernel builds without assuming a vulnerability class.

Mitigation direction

  • Check Linux kernel and distribution advisories for CVE-2025-40050 applicability.
  • Update to a kernel build containing the referenced stable fixes.
  • Prioritize hosts that allow local users or services to load eBPF programs.
  • Track whether your vendor backported the stable commits into supported kernels.

Validation and detection

  • Inventory kernel versions across Linux fleets and compare against vendor advisories.
  • Confirm whether deployed kernels include the referenced fix commits or equivalent backports.
  • Review eBPF loading permissions and operational need on exposed systems.
  • Monitor CVE, kernel stable, and distribution advisories for impact clarification.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-40050 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
0ADP providers
3Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxaced132599b3c8884c050218d4c48eef203678f6, aced132599b3c8884c050218d4c48eef203678f6unaffected
LinuxLinux6.17, 0, 6.17.3, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.