Vulnerabilities

CVE-2025-39847

Medium 5.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-09-19
Last modified
2026-11-05
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 5 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 11.0 Affected
Linux Linux Kernel 6.17 Affected
Linux Linux Kernel ≥ 2.6.15, < 5.4.299 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.192 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.151 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.243 Affected
Linux Linux Kernel ≥ 6.13, < 6.16.6 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.105 Affected
Linux Linux Kernel ≥ 6.7, < 6.12.46 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities