# CVE-2025-40355: sysfs: check visibility before changing group attribute ownership

CVE-2025-40355 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2025-40355, released December 16, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-40355
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0022
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 16, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-40355

## 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+0x358/0x450   ? psi_task_switch+0x113/0x2a0   ? __pfx_rtnl_newlink+0x10/0x10   rtnetlink_rcv_msg+0x346/0x3e0   ? sched_clock+0x10/0x30   ? __pfx_rtnetlink_rcv_msg+0x10/0x10   netlink_rcv_skb+0x59/0x110   netlink_unicast+0x285/0x3c0   ? __alloc_skb+0xdb/0x1a0   netlink_sendmsg+0x20d/0x430   ____sys_sendmsg+0x39f/0x3d0   ? import_iovec+0x2f/0x40   ___sys_sendmsg+0x99/0xe0   __sys_sendmsg+0x8a/0xf0   do_syscall_64+0x81/0x970   ? __sys_bind+0xe3/0x110   ? syscall_exit_work+0x143/0x1b0   ? do_syscall_64+0x244/0x970   ? sock_alloc_file+0x63/0xc0   ? syscall_exit_work+0x143/0x1b0   ? do_syscall_64+0x244/0x970   ? alloc_fd+0x12e/0x190   ? put_unused_fd+0x2a/0x70   ? do_sys_openat2+0xa2/0xe0   ? syscall_exit_work+0x143/0x1b0   ? do_syscall_64+0x244/0x970   ? exc_page_fault+0x7e/0x1a0   entry_SYSCALL_64_after_hwframe+0x76/0x7e  [...]   </TASK>  Fix this by checking is_visible() before trying to touch the attribute.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-azure opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.20.27.1 | [SUSE-SU-2026:0472-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0472-1.md) | Feb 12, 2026 |
| Linux | kernel-azure sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.9.1.160000.2.6 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.31.1.150700.17.21.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.9.1.160000.2.6 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_9 sles 15.7 | 1-150700.1.3.2 | [SUSE-SU-2026:0587-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0587-1.md) | Feb 20, 2026 |
| Linux | kernel-livepatch-SLE15-SP7_Update_9 sles 15.7 | 1-150700.15.3.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-source-azure sles 15.7 | 6.4.0-150700.20.27.1 | [SUSE-SU-2026:0472-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0472-1.md) | Feb 12, 2026 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | kernel-syms-azure sles 15.7 | 6.4.0-150700.20.27.1 | [SUSE-SU-2026:0472-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0472-1.md) | Feb 12, 2026 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.9.1 | [OPENSUSE-SU-2026:20145-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20145-1.md) | Feb 2, 2026 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.31.1 | [SUSE-SU-2026:0447-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0447-1.md) | Feb 11, 2026 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.9.1 | [SUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20220-1.md) | Feb 2, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.115-2 | [DEBIAN-CVE-2025-40355](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40355.md) | Dec 16, 2025 |
| Linux | linux Debian 14 | 6.17.6-1 | [DEBIAN-CVE-2025-40355](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40355.md) | Dec 16, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
