CVE-2026-98173
smb: client: fix use-after-free of iface in cifs_try_adding_channels()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < 93e8a49adb2a575202c5ee766435eff2f9f95f5b; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ee0d8f83d68f6e6509f092c997ccab3c8c801538; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < c941f1ebfd26f683de81091473f3596a218abff0; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < e99040e5e9c60441e6b4725e1a7b88c3106ae903; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ec36b38e65596950e6c29bed7dfc90b98707c19c; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < d034e836eefd7ce75e588f7031cffbeec594f5ac
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < 93e8a49adb2a575202c5ee766435eff2f9f95f5b; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ee0d8f83d68f6e6509f092c997ccab3c8c801538; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < c941f1ebfd26f683de81091473f3596a218abff0; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < e99040e5e9c60441e6b4725e1a7b88c3106ae903; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ec36b38e65596950e6c29bed7dfc90b98707c19c; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < d034e836eefd7ce75e588f7031cffbeec594f5ac; Linux 5.19
- Fixed in
- Linux 93e8a49adb2a575202c5ee766435eff2f9f95f5b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.48% chance of exploitation in 30 days (percentile 34, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free of iface in cifs_try_adding_channels() cifs_try_adding_channels() iterates ses->iface_list with list_for_each_entry_safe_from(), which captures the next entry (niface) under iface_lock. The loop body then drops iface_lock for the whole duration of cifs_ses_add_channel(). A concurrent interface refresh (SMB3_request_interfaces() -> parse_server_interfaces()) marks all ifaces inactive and removes and frees any that are not re-advertised via list_del() + kref_put(), where release_iface() is a bare kfree(). Since niface typically has no channel holding a reference, the list reference is its last and it can be freed inside the unlocked window. On continue, the iterator advance step then dereferences niface->iface_head.next, and the loop body reads iface->rdma_capable/is_active, both on freed memory. Fix this by never keeping an unreferenced list pointer across the unlocked window. Each channel attempt now re-scans the list from the head under iface_lock, takes a kref on the selected candidate, and passes only that referenced candidate to cifs_ses_add_channel(). weight_fulfilled still tracks selection progress, so restarting the scan preserves the original weighted distribution and the weight_fulfilled-before-kref_put ordering on the failure path. Add a per-pass attempts cap so a flapping interface refresh cannot keep the inner loop spinning within a single tries increment.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < 93e8a49adb2a575202c5ee766435eff2f9f95f5b; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ee0d8f83d68f6e6509f092c997ccab3c8c801538; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < c941f1ebfd26f683de81091473f3596a218abff0; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < e99040e5e9c60441e6b4725e1a7b88c3106ae903; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ec36b38e65596950e6c29bed7dfc90b98707c19c; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < d034e836eefd7ce75e588f7031cffbeec594f5ac | — | cvelist |
| Linux | 5.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98173. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98173.md Affected: Linux >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < 93e8a49adb2a575202c5ee766435eff2f9f95f5b; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ee0d8f83d68f6e6509f092c997ccab3c8c801538; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < c941f1ebfd26f683de81091473f3596a218abff0; >= aa45dadd34e44fcd6a9df4b… Fixed in: Linux 93e8a49adb2a575202c5ee766435eff2f9f95f5b 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.
References
Other
- https://git.kernel.org/stable/c/93e8a49adb2a575202c5ee766435eff2f9f95f5b
- https://git.kernel.org/stable/c/ee0d8f83d68f6e6509f092c997ccab3c8c801538
- https://git.kernel.org/stable/c/c941f1ebfd26f683de81091473f3596a218abff0
- https://git.kernel.org/stable/c/e99040e5e9c60441e6b4725e1a7b88c3106ae903
- https://git.kernel.org/stable/c/ec36b38e65596950e6c29bed7dfc90b98707c19c
- https://git.kernel.org/stable/c/d034e836eefd7ce75e588f7031cffbeec594f5ac
FAQ
Is CVE-2026-98173 being exploited?
There is no confirmed exploitation: CVE-2026-98173 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98173?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-98173?
Linux >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < 93e8a49adb2a575202c5ee766435eff2f9f95f5b; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ee0d8f83d68f6e6509f092c997ccab3c8c801538; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < c941f1ebfd26f683de81091473f3596a218abff0; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < e99040e5e9c60441e6b4725e1a7b88c3106ae903; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < ec36b38e65596950e6c29bed7dfc90b98707c19c; >= aa45dadd34e44fcd6a9df4b395bee5b5633b4cec, < d034e836eefd7ce75e588f7031cffbeec594f5ac; Linux 5.19.
Is there a fix for CVE-2026-98173?
Yes. Fixed in Linux 93e8a49adb2a575202c5ee766435eff2f9f95f5b. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98173?
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.