CVE-2025-39847: ppp: fix memory leak in pad_compress_skb

Published Sep 19, 2025
·
Updated

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

ppp: fix memory leak in padcompressskb

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

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

drop: kfreeskb(skb);

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

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

Affected Software

16 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.96.2-2
Linux Linux kernel>=2.6.15<5.4.299
Linux Linux kernel>=5.5<5.10.243
Linux Linux kernel>=5.11<5.15.192
Linux Linux kernel>=5.16<6.1.151
Linux Linux kernel>=6.2<6.6.105
Linux Linux kernel>=6.7<6.12.46
Linux Linux kernel>=6.13<6.16.6
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.104.2-4
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Sep 19, 2025
CVE Published
via MITRE·03:26 PM
Data Sourced
via MITRE·03:26 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 21, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity
Updated
via Microsoft·08:02 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39847?

CVE-2025-39847 has a low severity rating due to the memory leak it introduces.

2

How do I fix CVE-2025-39847?

To fix CVE-2025-39847, you should update your Linux kernel to the latest patched version.

3

What components are affected by CVE-2025-39847?

CVE-2025-39847 affects the Linux kernel specifically in the ppp module.

4

What is the impact of CVE-2025-39847?

The impact of CVE-2025-39847 is a potential memory leak which could lead to increased memory usage over time.

5

Who is responsible for addressing CVE-2025-39847?

The Linux kernel development team is responsible for addressing CVE-2025-39847 through updates and patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203