CVE-2021-46960cifs: Return correct error code from smb2_get_enc_key
- 7.5HighCVSS base score
- 0.64%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Return correct error code from smb2_get_enc_key Avoid a warning if the error percolates back up: [440700.376476] CIFS VFS: \\otters.example.com crypt_message: Could not get encryption key [440700.386947] ------------[ cut here ]------------ [440700.386948] err = 1 [440700.386977] WARNING: CPU: 11 PID: 2733 at /build/linux-hwe-5.4-p6lk6L/linux-hwe-5.4-5.4.0/lib/errseq.c:74 errseq_set+0x5c/0x70 ... [440700.397304] CPU: 11 PID: 2733 Comm: tar Tainted: G OE 5.4.0-70-generic #78~18.04.1-Ubuntu ... [440700.397334] Call Trace: [440700.397346] __filemap_set_wb_err+0x1a/0x70 [440700.397419] cifs_writepages+0x9c7/0xb30 [cifs] [440700.397426] do_writepages+0x4b/0xe0 [440700.397444] __filemap_fdatawrite_range+0xcb/0x100 [440700.397455] filemap_write_and_wait+0x42/0xa0 [440700.397486] cifs_setattr+0x68b/0xf30 [cifs] [440700.397493] notify_change+0x358/0x4a0 [440700.397500] utimes_common+0xe9/0x1c0 [440700.397510] do_utimes+0xc5/0x150 [440700.397520] __x64_sys_utimensat+0x88/0xd0
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.64% · top 49% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < e94851629c49c65b4fbb29a5725ddfd7988f8f20
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < e486f8397f3f14a7cadc166138141fdb14379a54
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < 93f3339b22ba17e66f0808737467b70ba087eaec
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < aaa0faa5c28a91c362352d6b35dc3ed10df56fb0
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < f59a9242942fef0de7b926e438ba4eae65d4b4dd
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < b399c1a3ea0b9d10047ff266d65533df7f15532f
- affected 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 – < 83728cbf366e334301091d5b808add468ab46b27
- affected 4.11
- unaffected < 4.11
- unaffected 4.14.233 – ≤ 4.14.*
- unaffected 4.19.191 – ≤ 4.19.*
- unaffected 5.4.118 – ≤ 5.4.*
- unaffected 5.10.36 – ≤ 5.10.*
- unaffected 5.11.20 – ≤ 5.11.*
- unaffected 5.12.3 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References7
- https://git.kernel.org/stable/c/e94851629c49c65b4fbb29a5725ddfd7988f8f20 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e486f8397f3f14a7cadc166138141fdb14379a54 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/93f3339b22ba17e66f0808737467b70ba087eaec (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/aaa0faa5c28a91c362352d6b35dc3ed10df56fb0 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f59a9242942fef0de7b926e438ba4eae65d4b4dd (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b399c1a3ea0b9d10047ff266d65533df7f15532f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/83728cbf366e334301091d5b808add468ab46b27 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33608 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-46960)Record last updated .