Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-68245 — kernel

⚪ Unknown ✅ No Known Exploit NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

net: netpoll: fix incorrect refcount handling causing incorrect cleanup

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 comments emphasizing that npinfo cleanup should only happen

once the refcount reaches zero, ensuring stable and correct netpoll

behavior.

Affected software

CVE-2025-68245 is recorded against 2 packages.

  • kernel (from 6.13.0 up to 6.17.9)
  • unknown

Timeline and source

Published on 16 December 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

CVE-2025-68245 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-12-16
Updated 2026-08-20
Modified 2026-08-12
Fix URL N/A

Affected Packages

Software From version Fixed in
kernel 6.13.0 6.17.9
unknown

References

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2025-68245?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2025-68245 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.