CVE-2025-38639: netfilter: xt_nfacct: don't assume acct name is null-terminated

Published Aug 22, 2025
·
Updated

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

netfilter: xtnfacct: don't assume acct name is null-terminated

BUG: KASAN: slab-out-of-bounds in .. lib/vsprintf.c:721 Read of size 1 at addr ffff88801eac95c8 by task syz-executor183/5851 [..] string+0x231/0x2b0 lib/vsprintf.c:721 vsnprintf+0x739/0xf00 lib/vsprintf.c:2874 [..] nfacctmtcheckentry+0xd2/0xe0 net/netfilter/xtnfacct.c:41 xtcheckmatch+0x3d1/0xab0 net/netfilter/xtables.c:523

nfnlacctfindget() handles non-null input, but the error printk relied on its presence.

Affected Software

13 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=3.3<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.148
Linux Linux kernel>=6.2<6.6.102
Linux Linux kernel>=6.7<6.12.42
Linux Linux kernel>=6.13<6.15.10
Linux Linux kernel>=6.16<6.16.1
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Aug 22, 2025
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:42 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38639?

CVE-2025-38639 has a high severity due to its potential to cause a slab-out-of-bounds read in the Linux kernel.

2

How do I fix CVE-2025-38639?

To fix CVE-2025-38639, update your Linux kernel to the latest stable version that addresses this vulnerability.

3

What systems are affected by CVE-2025-38639?

CVE-2025-38639 affects the Linux kernel, particularly versions before the patch was applied.

4

What type of vulnerability is CVE-2025-38639?

CVE-2025-38639 is a memory corruption vulnerability related to improper handling of null-termination in the netfilter subsystem.

5

Is there a proof of concept for CVE-2025-38639?

Yes, there are reported instances where proof of concept exploits demonstrate the vulnerability's ability to cause out-of-bounds reads.

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