CVE-2024-53179
smb: client: fix use-after-free of signing key
Mitigation
- Upgrade Linux to 343d7fe6df9e247671440a932b6a73af4fa86d95 or later.
Who should check
- Anyone running Linux >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0944c2596c2a3442735b5bb6714a17a16188a68f; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 39619c65ab4bbb3e78c818f537687653e112764d; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 343d7fe6df9e247671440a932b6a73af4fa86d95
- Anyone running Linux 3.12
Vulnerability facts
- Affected
- Linux >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0944c2596c2a3442735b5bb6714a17a16188a68f; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 39619c65ab4bbb3e78c818f537687653e112764d; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 343d7fe6df9e247671440a932b6a73af4fa86d95; Linux 3.12
- Fixed in
- Linux 0944c2596c2a3442735b5bb6714a17a16188a68f, Linux 39619c65ab4bbb3e78c818f537687653e112764d, Linux 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591, Linux 343d7fe6df9e247671440a932b6a73af4fa86d95
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.82% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free of signing key Customers have reported use-after-free in @ses->auth_key.response with SMB2.1 + sign mounts which occurs due to following race: task A task B cifs_mount() dfs_mount_share() get_session() cifs_mount_get_session() cifs_send_recv() cifs_get_smb_ses() compound_send_recv() cifs_setup_session() smb2_setup_request() kfree_sensitive() smb2_calc_signature() crypto_shash_setkey() *UAF* Fix this by ensuring that we have a valid @ses->auth_key.response by checking whether @ses->ses_status is SES_GOOD or SES_EXITING with @ses->ses_lock held. After commit 24a9799aa8ef ("smb: client: fix UAF in smb2_reconnect_server()"), we made sure to call ->logoff() only when @ses was known to be good (e.g. valid ->auth_key.response), so it's safe to access signing key when @ses->ses_status == SES_EXITING.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0944c2596c2a3442735b5bb6714a17a16188a68f; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 39619c65ab4bbb3e78c818f537687653e112764d; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 343d7fe6df9e247671440a932b6a73af4fa86d95 | — | cvelist |
| Linux | 3.12 | — | 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-2024-53179. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53179.md Affected: Linux >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0944c2596c2a3442735b5bb6714a17a16188a68f; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 39619c65ab4bbb3e78c818f537687653e112764d; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591; >= 32811d242ff6f28da2ab18c… Fixed in: Linux 0944c2596c2a3442735b5bb6714a17a16188a68f, Linux 39619c65ab4bbb3e78c818f537687653e112764d, Linux 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591, Linux 343d7fe6df9e247671440a932b6a73af4fa86d95 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
Patches
FAQ
Is CVE-2024-53179 being exploited?
There is no confirmed exploitation: CVE-2024-53179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53179?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-53179?
Linux >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0944c2596c2a3442735b5bb6714a17a16188a68f; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 39619c65ab4bbb3e78c818f537687653e112764d; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591; >= 32811d242ff6f28da2ab18c90a15e32fd958e774, < 343d7fe6df9e247671440a932b6a73af4fa86d95; Linux 3.12.
Is there a fix for CVE-2024-53179?
Yes. Fixed in Linux 0944c2596c2a3442735b5bb6714a17a16188a68f, Linux 39619c65ab4bbb3e78c818f537687653e112764d, Linux 0e2b654a3848bf9da3b0d54c1ccf3f1b8c635591, Linux 343d7fe6df9e247671440a932b6a73af4fa86d95. Upgrade Linux to 343d7fe6df9e247671440a932b6a73af4fa86d95 or later.
How do I check if I'm affected by CVE-2024-53179?
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.