Menu

Star on GitHub · 3.2k

CVE-2025-40355

In the Linux kernel, the following vulnerability has been resolved: sysfs: check visibility before changing group attribute ownership Since commit 0c17270f9b92 ("net: sysfs: Implement is_visible…

Published Dec 16, 2025EPSS 0.19%

Overview

CVE-2025-40355 is a known-severity vulnerability. It was published on December 16, 2025.

Technical description

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

sysfs: check visibility before changing group attribute ownership

Since commit 0c17270f9b92 ("net: sysfs: Implement is_visible for

phys_(port_id, port_name, switch_id)"), __dev_change_net_namespace() can

hit WARN_ON() when trying to change owner of a file that isn't visible.

See the trace below:

WARNING: CPU: 6 PID: 2938 at net/core/dev.c:12410 __dev_change_net_namespace+0xb89/0xc30

CPU: 6 UID: 0 PID: 2938 Comm: incusd Not tainted 6.17.1-1-mainline #1 PREEMPT(full) 4b783b4a638669fb644857f484487d17cb45ed1f

Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP07, BIOS 03.07 02/19/2025

RIP: 0010:__dev_change_net_namespace+0xb89/0xc30

[...]

Call Trace:

<TASK>

? if6_seq_show+0x30/0x50

do_setlink.isra.0+0xc7/0x1270

? __nla_validate_parse+0x5c/0xcc0

? security_capable+0x94/0x1a0

rtnl_newlink+0x858/0xc20

? update_curr+0x8e/0x1c0

? update_entity_lag+0x71/0x80

? sched_balance_newidle+0x35

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-40355?

CVE-2025-40355 is a known-severity vulnerability. It was published on December 16, 2025.

How severe is CVE-2025-40355?

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-40355?

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-40355?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40355 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.