# CVE-2025-21725: smb: client: fix oops due to unset link speed

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-26)
- **Published:** 2025-02-27T02:07:32.226Z
- **Modified:** 2026-10-15T02:17:30.327Z

## Who should check

- Anyone running Linux \>= 548893404c44fc01a59f17727876e02553146fe6, \< 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa; \>= 1cd8c353708de99d8bfa7db8a0c961a800b1fa7f, \< 3f901c35e1a1b3ed1b528a17ffdb941aa0294458; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< 699179dfc8d7da457b152ca5d18ae45f9ed9beaa; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< ad3b49fbdb156aa8ee2026ba590642c9b5a410f2; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< be7a6a77669588bfa5022a470989702bbbb11e7f; \>= 6.1.65, \< 6.1.129; \>= 6.6.4, \< 6.6.76
- Anyone running Linux 6.7

## Description

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

smb: client: fix oops due to unset link speed

It isn't guaranteed that NETWORK\_INTERFACE\_INFO::LinkSpeed will always
be set by the server, so the client must handle any values and then
prevent oopses like below from happening:

Oops: divide error: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 1323 Comm: cat Not tainted 6.13.0-rc7 \#2
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41
04/01/2014
RIP: 0010:cifs\_debug\_data\_proc\_show+0xa45/0x1460 \[cifs\] Code: 00 00 48
89 df e8 3b cd 1b c1 41 f6 44 24 2c 04 0f 84 50 01 00 00 48 89 ef e8
e7 d0 1b c1 49 8b 44 24 18 31 d2 49 8d 7c 24 28 \<48\> f7 74 24 18 48 89
c3 e8 6e cf 1b c1 41 8b 6c 24 28 49 8d 7c 24
RSP: 0018:ffffc90001817be0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88811230022c RCX: ffffffffc041bd99
RDX: 0000000000000000 RSI: 0000000000000567 RDI: ffff888112300228
RBP: ffff888112300218 R08: fffff52000302f5f R09: ffffed1022fa58ac
R10: ffff888117d2c566 R11: 00000000fffffffe R12: ffff888112300200
R13: 000000012a15343f R14: 0000000000000001 R15: ffff888113f2db58
FS: 00007fe27119e740(0000) GS:ffff888148600000(0000)
knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe2633c5000 CR3: 0000000124da0000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
 \<TASK\>
 ? \_\_die\_body.cold+0x19/0x27
 ? die+0x2e/0x50
 ? do\_trap+0x159/0x1b0
 ? cifs\_debug\_data\_proc\_show+0xa45/0x1460 \[cifs\]
 ? do\_error\_trap+0x90/0x130
 ? cifs\_debug\_data\_proc\_show+0xa45/0x1460 \[cifs\]
 ? exc\_divide\_error+0x39/0x50
 ? cifs\_debug\_data\_proc\_show+0xa45/0x1460 \[cifs\]
 ? asm\_exc\_divide\_error+0x1a/0x20
 ? cifs\_debug\_data\_proc\_show+0xa39/0x1460 \[cifs\]
 ? cifs\_debug\_data\_proc\_show+0xa45/0x1460 \[cifs\]
 ? seq\_read\_iter+0x42e/0x790
 seq\_read\_iter+0x19a/0x790
 proc\_reg\_read\_iter+0xbe/0x110
 ? \_\_pfx\_proc\_reg\_read\_iter+0x10/0x10
 vfs\_read+0x469/0x570
 ? do\_user\_addr\_fault+0x398/0x760
 ? \_\_pfx\_vfs\_read+0x10/0x10
 ? find\_held\_lock+0x8a/0xa0
 ? \_\_pfx\_lock\_release+0x10/0x10
 ksys\_read+0xd3/0x170
 ? \_\_pfx\_ksys\_read+0x10/0x10
 ? \_\_rcu\_read\_unlock+0x50/0x270
 ? mark\_held\_locks+0x1a/0x90
 do\_syscall\_64+0xbb/0x1d0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7fe271288911
Code: 00 48 8b 15 01 25 10 00 f7 d8 64 89 02 b8 ff ff ff ff eb bd e8
20 ad 01 00 f3 0f 1e fa 80 3d b5 a7 10 00 00 74 13 31 c0 0f 05 \<48\> 3d
00 f0 ff ff 77 4f c3 66 0f 1f 44 00 00 55 48 89 e5 48 83 ec
RSP: 002b:00007ffe87c079d8 EFLAGS: 00000246 ORIG\_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007fe271288911
RDX: 0000000000040000 RSI: 00007fe2633c6000 RDI: 0000000000000003
RBP: 00007ffe87c07a00 R08: 0000000000000000 R09: 00007fe2713e6380
R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000040000
R13: 00007fe2633c6000 R14: 0000000000000003 R15: 0000000000000000
 \</TASK\>

Fix this by setting cifs\_server\_iface::speed to a sane value (1Gbps)
by default when link speed is unset.

## Affected and fixed versions

- Linux: \>= 548893404c44fc01a59f17727876e02553146fe6, \< 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa; \>= 1cd8c353708de99d8bfa7db8a0c961a800b1fa7f, \< 3f901c35e1a1b3ed1b528a17ffdb941aa0294458; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< 699179dfc8d7da457b152ca5d18ae45f9ed9beaa; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< ad3b49fbdb156aa8ee2026ba590642c9b5a410f2; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< be7a6a77669588bfa5022a470989702bbbb11e7f; \>= 6.1.65, \< 6.1.129; \>= 6.6.4, \< 6.6.76 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 6.6.76 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21725. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21725.md
Affected: Linux >= 548893404c44fc01a59f17727876e02553146fe6, < 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa; >= 1cd8c353708de99d8bfa7db8a0c961a800b1fa7f, < 3f901c35e1a1b3ed1b528a17ffdb941aa0294458; >= a6d8fb54a515f0546ffdb7870102b1238917e567, < 699179dfc8d7da457b152ca5d18ae45f9ed9beaa; >= a6d8fb54a515f0546ffdb78…
Fixed in: Linux 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa, Linux 3f901c35e1a1b3ed1b528a17ffdb941aa0294458, Linux 699179dfc8d7da457b152ca5d18ae45f9ed9beaa, Linux 6.1.129, Linux 6.6.76

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21725 being exploited?

There is no confirmed exploitation: CVE-2025-21725 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21725?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-21725?

Linux \>= 548893404c44fc01a59f17727876e02553146fe6, \< 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa; \>= 1cd8c353708de99d8bfa7db8a0c961a800b1fa7f, \< 3f901c35e1a1b3ed1b528a17ffdb941aa0294458; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< 699179dfc8d7da457b152ca5d18ae45f9ed9beaa; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< ad3b49fbdb156aa8ee2026ba590642c9b5a410f2; \>= a6d8fb54a515f0546ffdb7870102b1238917e567, \< be7a6a77669588bfa5022a470989702bbbb11e7f; \>= 6.1.65, \< 6.1.129; \>= 6.6.4, \< 6.6.76; Linux 6.7.

### Is there a fix for CVE-2025-21725?

Yes. Fixed in Linux 208e102a2fca44e40a6c3f7b9e2609cfd17a15aa, Linux 3f901c35e1a1b3ed1b528a17ffdb941aa0294458, Linux 699179dfc8d7da457b152ca5d18ae45f9ed9beaa, Linux 6.1.129, Linux 6.6.76. Upgrade Linux to 6.6.76 or later.

### How do I check if I'm affected by CVE-2025-21725?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/208e102a2fca44e40a6c3f7b9e2609cfd17a15aa>
- patch: <https://git.kernel.org/stable/c/3f901c35e1a1b3ed1b528a17ffdb941aa0294458>
- patch: <https://git.kernel.org/stable/c/699179dfc8d7da457b152ca5d18ae45f9ed9beaa>
- patch: <https://git.kernel.org/stable/c/ad3b49fbdb156aa8ee2026ba590642c9b5a410f2>
- patch: <https://git.kernel.org/stable/c/be7a6a77669588bfa5022a470989702bbbb11e7f>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21725>

HTML: <https://flawdb.com/CVE-2025-21725> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21725>
