cvelo
P2 · HighCVSS 7.5

smb: client: cancel reconnect work in clean_demultiplex_info()

  • CVE-2026-98175
  • GHSA-22vf-w84m-jw7w
  • EUVD-2026-93103

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: cancel reconnect work in clean_demultiplex_info() clean_demultiplex_info() cancels server->echo delayed work but not server->reconnect, which can cause a use-after-free when the demultiplex thread exits while a reconnect work is still queued: cifs_demultiplex_thread() cifs_readv_from_socket() cifs_reconnect() __cifs_reconnect() cifs_queue_server_reconn() mod_delayed_work(cifsiod_wq, &server->reconnect, 0) clean_demultiplex_info() cancel_delayed_work_sync(&server->echo) // echo canceled // reconnect NOT canceled kfree_sensitive(server) // server freed ...later, on cifsiod_wq: smb2_reconnect_server() server->srv_count // UAF read of freed server Fix this by canceling server->reconnect delayed work in clean_demultiplex_info() before the server is freed, the same way cifs_put_tcp_session() already does.

Text from the CVE.org record.

Affected

  • Linux

    • from 3.10.107 to before 3.11
    • from 3.12.70 to before 3.13
    • from 3.16.42 to before 3.17
    • from 3.18.47 to before 3.19
    • from 4.1.38 to before 4.2
    • from 4.4.40 to before 4.5
    • from 4.8.16 to before 4.9
    • from 4.9.1 to before 4.10
    • and 8 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.