Menu

Star on GitHub · 3.2k

CVE-2025-40246

In the Linux kernel, the following vulnerability has been resolved: xfs: fix out of bounds memory read error in symlink repair xfs/286 produced this report on my test fleet: ===================…

Published Dec 4, 2025EPSS 0.20%

Overview

CVE-2025-40246 is a known-severity vulnerability. It was published on December 4, 2025.

Technical description

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

xfs: fix out of bounds memory read error in symlink repair

xfs/286 produced this report on my test fleet:

==================================================================

BUG: KFENCE: out-of-bounds read in memcpy_orig+0x54/0x110

Out-of-bounds read at 0xffff88843fe9e038 (184B right of kfence-#184):

memcpy_orig+0x54/0x110

xrep_symlink_salvage_inline+0xb3/0xf0 [xfs]

xrep_symlink_salvage+0x100/0x110 [xfs]

xrep_symlink+0x2e/0x80 [xfs]

xrep_attempt+0x61/0x1f0 [xfs]

xfs_scrub_metadata+0x34f/0x5c0 [xfs]

xfs_ioc_scrubv_metadata+0x387/0x560 [xfs]

xfs_file_ioctl+0xe23/0x10e0 [xfs]

__x64_sys_ioctl+0x76/0xc0

do_syscall_64+0x4e/0x1e0

entry_SYSCALL_64_after_hwframe+0x4b/0x53

kfence-#184: 0xffff88843fe9df80-0xffff88843fe9dfea, size=107, cache=kmalloc-128

allocated by task 3470 on cpu 1 at 263329.131592s (192823.508886s ago):

xfs_init_local_fork+0x79/0xe0 [xfs]

xfs_iformat_local+0xa4/0x170 [xfs]

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-40246?

CVE-2025-40246 is a known-severity vulnerability. It was published on December 4, 2025.

How severe is CVE-2025-40246?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-40246?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40246?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40246 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.