CVE-2025-39847

ppp: fix memory leak in pad_compress_skb

No CVSS score yet EPSS 0.17%

Published 19 Sep 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-39847

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39847 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

ppp: fix memory leak in pad_compress_skb

If alloc_skb() fails in pad_compress_skb(), it returns NULL without releasing the old skb. The caller does:

skb = pad_compress_skb(ppp, skb); if (!skb) goto drop;

drop: kfree_skb(skb);

When pad_compress_skb() returns NULL, the reference to the old skb is lost and kfree_skb(skb) ends up doing nothing, leading to a memory leak.

Align pad_compress_skb() semantics with realloc(): only free the old skb if allocation and compression succeed. At the call site, use the new_skb variable so the original skb is not lost when pad_compress_skb() fails.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.80% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 9ca6a040f76c0b149293e430dabab446f3fc8ab7
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 87a35a36742df328d0badf4fbc2e56061c15846c
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 0b21e9cd4559102da798bdcba453b64ecd7be7ee
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 1d8b354eafb8876d8bdb1bef69c7d2438aacfbe8
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 85c1c86a67e09143aa464e9bf09c397816772348
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 631fc8ab5beb9e0ec8651fb9875b9a968e7b4ae4
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 33a5bac5f14772730d2caf632ae97b6c2ee95044
affected from b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c, before 4844123fe0b853a4982c02666cb3fd863d701d50
Other versions: unaffected
Linux
affected 2.6.15
unaffected before 2.6.15
unaffected from 5.4.299 up to and including 5.4.*
unaffected from 5.10.243 up to and including 5.10.*
unaffected from 5.15.192 up to and including 5.15.*
unaffected from 6.1.151 up to and including 6.1.*
unaffected from 6.6.105 up to and including 6.6.*
unaffected from 6.12.46 up to and including 6.12.*
unaffected from 6.16.6 up to and including 6.16.*
unaffected 6.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39847 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39847

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-39847
trivy image --scanners vuln IMAGE | grep CVE-2025-39847

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-39847 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.