CVE-2025-39831: fbnic: Move phylink resume out of service_task and into open/close

Published Sep 16, 2025
·
Updated

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

fbnic: Move phylink resume out of servicetask and into open/close

The fbnic driver was presenting with the following locking assert coming out of a PM resume: [ 42.208116][ T164] RTNL: assertion failed at drivers/net/phy/phylink.c (2611) [ 42.208492][ T164] WARNING: CPU: 1 PID: 164 at drivers/net/phy/phylink.c:2611 phylinkresume+0x190/0x1e0 [ 42.208872][ T164] Modules linked in: [ 42.209140][ T164] CPU: 1 UID: 0 PID: 164 Comm: bash Not tainted 6.17.0-rc2-virtme #134 PREEMPT(full) [ 42.209496][ T164] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.17.0-5.fc42 04/01/2014 [ 42.209861][ T164] RIP: 0010:phylinkresume+0x190/0x1e0 [ 42.210057][ T164] Code: 83 e5 01 0f 85 b0 fe ff ff c6 05 1c cd 3e 02 01 90 ba 33 0a 00 00 48 c7 c6 20 3a 1d a5 48 c7 c7 e0 3e 1d a5 e8 21 b8 90 fe 90 <0f> 0b 90 90 e9 86 fe ff ff e8 42 ea 1f ff e9 e2 fe ff ff 48 89 ef [ 42.210708][ T164] RSP: 0018:ffffc90000affbd8 EFLAGS: 00010296 [ 42.210983][ T164] RAX: 0000000000000000 RBX: ffff8880078d8400 RCX: 0000000000000000 [ 42.211235][ T164] RDX: 0000000000000000 RSI: 1ffffffff4f10938 RDI: 0000000000000001 [ 42.211466][ T164] RBP: 0000000000000000 R08: ffffffffa2ae79ea R09: fffffbfff4b3eb84 [ 42.211707][ T164] R10: 0000000000000003 R11: 0000000000000000 R12: ffff888007ad8000 [ 42.211997][ T164] R13: 0000000000000002 R14: ffff888006a18800 R15: ffffffffa34c59e0 [ 42.212234][ T164] FS: 00007f0dc8e39740(0000) GS:ffff88808f51f000(0000) knlGS:0000000000000000 [ 42.212505][ T164] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.212704][ T164] CR2: 00007f0dc8e9fe10 CR3: 000000000b56d003 CR4: 0000000000772ef0 [ 42.213227][ T164] PKRU: 55555554 [ 42.213366][ T164] Call Trace: [ 42.213483][ T164] <TASK> [ 42.213565][ T164] fbnicpmattach.isra.0+0x8e/0xa0 [ 42.213725][ T164] pciresetfunction+0x116/0x1d0 [ 42.213895][ T164] resetstore+0xa0/0x100 [ 42.214025][ T164] ? pcidevresetattrisvisible+0x50/0x50 [ 42.214221][ T164] ? sysfsfilekobj+0xc1/0x1e0 [ 42.214374][ T164] ? sysfskfwrite+0x65/0x160 [ 42.214526][ T164] kernfsfopwriteiter+0x2f8/0x4c0 [ 42.214677][ T164] ? kernfsvmapagemkwrite+0x1f0/0x1f0 [ 42.214836][ T164] newsyncwrite+0x308/0x6f0 [ 42.214987][ T164] ? lockacquire+0x34c/0x740 [ 42.215135][ T164] ? newsyncread+0x6f0/0x6f0 [ 42.215288][ T164] ? lockacquire.part.0+0xbc/0x260 [ 42.215440][ T164] ? ksyswrite+0xff/0x200 [ 42.215590][ T164] ? perftraceschedswitch+0x6d0/0x6d0 [ 42.215742][ T164] vfswrite+0x65e/0xbb0 [ 42.215876][ T164] ksyswrite+0xff/0x200 [ 42.215994][ T164] ? ia32sysread+0xc0/0xc0 [ 42.216141][ T164] ? douseraddrfault+0x269/0x9f0 [ 42.216292][ T164] ? rcuiswatching+0x15/0xd0 [ 42.216442][ T164] dosyscall64+0xbb/0x360 [ 42.216591][ T164] entrySYSCALL64afterhwframe+0x4b/0x53 [ 42.216784][ T164] RIP: 0033:0x7f0dc8ea9986

A bit of digging showed that we were invoking the phylinkresume as a part of the fbnicup path when we were enabling the service task while not holding the RTNL lock. We should be enabling this sooner as a part of the ndoopen path and then just letting the service task come online later. This will help to enforce the correct locking and brings the phylink interface online at the same time as the network interface, instead of at a later time.

I tested this on QEMU to verify this was working by putting the system to sleep using "echo mem > /sys/power/state" to put the system to sleep in the guest and then using the command "systemwakeup" in the QEMU monitor.

Affected Software

6 affected components
Linux Kernel
Linux Linux kernel>=6.11<6.12.45
Linux Linux kernel>=6.13<6.16.5
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3

Event History

Sep 16, 2025
CVE Published
via MITRE·01:08 PM
Data Sourced
via MITRE·01:08 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39831?

CVE-2025-39831 has been categorized as a medium severity vulnerability due to its impact on driver functionality.

2

How do I fix CVE-2025-39831?

To fix CVE-2025-39831, update to the latest version of the Linux kernel that includes the patch addressing this issue.

3

What systems are affected by CVE-2025-39831?

CVE-2025-39831 affects systems that utilize the fbnic driver in the Linux kernel.

4

What is the nature of CVE-2025-39831?

CVE-2025-39831 involves a locking assertion failure during power management resume processes in the fbnic driver.

5

Has CVE-2025-39831 been resolved?

Yes, the issue presented by CVE-2025-39831 has been resolved in subsequent updates to the Linux kernel.

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