Categories
CVE-2025-68245

Vulnerability in Linux kernel (CVE-2025-68245)

Summary

Vulnerability in Linux kernel (CVE-2025-68245). Risk of unauthorized operations or information disclosure.

Original description

The description as published by the source.

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

net: netpoll: fix incorrect refcount handling causing incorrect cleanup

commit efa95b01da18 ("netpoll: fix use after free") incorrectly
ignored the refcount and prematurely set dev->npinfo to NULL during
netpoll cleanup, leading to improper behavior and memory leaks.

Scenario causing lack of proper cleanup:

  1. A netpoll is associated with a NIC (e.g., eth0) and netdev->npinfo is
    allocated, and refcnt = 1

    • Keep in mind that npinfo is shared among all netpoll instances. In
      this case, there is just one.
  2. Another netpoll is also associated with the same NIC and
    npinfo->refcnt += 1.

    • Now dev->npinfo->refcnt = 2;
    • There is just one npinfo associated to the netdev.
  3. When the first netpolls goes to clean up:

    • The first cleanup succeeds and clears np->dev->npinfo, ignoring
      refcnt.
      • It basically calls RCU_INIT_POINTER(np->dev->npinfo, NULL);
    • Set dev->npinfo = NULL, without proper cleanup
    • No ->ndo_netpoll_cleanup() is either called
  4. Now the second target tries to clean up

    • The second cleanup fails because np->dev->npinfo is already NULL.
      • In this case, ops->ndo_netpoll_cleanup() was never called, and
        the skb pool is not cleaned as well (for the second netpoll
        instance)
  • This leaks npinfo and skbpool skbs, which is clearly reported by
    kmemleak.

Revert commit efa95b01da18 ("netpoll: fix use after free") and adds
clarifying comme…

Source: NIST National Vulnerability Database NVD

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2025-68245 has been found in Linux kernel.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Linux kernel CVE-2025-68245" on the vendor's site.

CVE-2025-68245 (Linux kernel)
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (unclassified) exists in Linux kernel.

📍 Affected scope

Check the vendor advisory for the affected versions of Linux kernel.

🔥 Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

🔧 How to fix

Update to the patched release per vendor advisory.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで Linux kernel を使っているサービスとバージョンを洗い出す。

  2. 2
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details