CVE-2021-46960: cifs: Return correct error code from smb2_get_enc_key
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.63% (FIRST EPSS); higher than 51.1% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 83728cbf366e334301091d5b808add468ab46b27, 93f3339b22ba17e66f0808737467b70ba087eaec, aaa0faa5c28a91c362352d6b35dc3ed10df56fb0.
- Severity is disputed: the assigning authority (CNA) scores it 7.5, NVD 5.5.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 83728cbf366e334301091d5b808add468ab46b27, 93f3339b22ba17e66f0808737467b70ba087eaec, aaa0faa5c28a91c362352d6b35dc3ed10df56fb0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Published
- Feb 27, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.6% · 51th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 7.5
- 2.0 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.11affected
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before e94851629c49c65b4fbb29a5725ddfd7988f8f20affected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before e486f8397f3f14a7cadc166138141fdb14379a54affected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before 93f3339b22ba17e66f0808737467b70ba087eaecaffected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before aaa0faa5c28a91c362352d6b35dc3ed10df56fb0affected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before f59a9242942fef0de7b926e438ba4eae65d4b4ddaffected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before b399c1a3ea0b9d10047ff266d65533df7f15532faffected · git
- 61cfac6f267dabcf2740a7ec8a0295833b28b5f5 and later · before 83728cbf366e334301091d5b808add468ab46b27affected · git
- before 4.11not affected · semver
- 4.14.233 and later · up to and including 4.14.*not affected · semver
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.11 and later · before 4.14.233
- linux linux kernel4.15 and later · before 4.19.191
- linux linux kernel4.20 and later · before 5.4.118
- linux linux kernel5.5 and later · before 5.10.36
- linux linux kernel5.11 and later · before 5.11.20
- linux linux kernel5.12 and later · before 5.12.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.10.38-1 | 5.10.38-1 |
| Red Hat:rhel_aus:8.6::baseos | bpftool | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | bpftool-debuginfo | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-abi-stablelists | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-core | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-core | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-debuginfo | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-devel | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-modules | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debug-modules-extra | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debuginfo | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-debuginfo-common-x86_64 | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-devel | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-doc | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-modules | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-modules-extra | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools-debuginfo | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | kernel-tools-libs | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | perf | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | perf-debuginfo | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
| Red Hat:rhel_aus:8.6::baseos | python3-perf | before 0:4.18.0-372.139.1.el8_6 | 0:4.18.0-372.139.1.el8_6 |
+31
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2021-46957Feb 27, 2024 · riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe22Monitor
- ← EarlierCVE-2021-46958Feb 27, 2024 · btrfs: fix race between transaction aborts and fsyncs leading to use-after-free18Monitor
- Later →CVE-2021-46961Feb 27, 2024 · irqchip/gic-v3: Do not enable irqs when handling spurious interrups22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 83728cbf366e334301091d5b808add468ab46b27 | Vendor (CNA) |
| Linux Linux | 93f3339b22ba17e66f0808737467b70ba087eaec | Vendor (CNA) |
| Linux Linux | aaa0faa5c28a91c362352d6b35dc3ed10df56fb0 | Vendor (CNA) |
| Linux Linux | b399c1a3ea0b9d10047ff266d65533df7f15532f | Vendor (CNA) |
| Linux Linux | e486f8397f3f14a7cadc166138141fdb14379a54 | Vendor (CNA) |
| Linux Linux | e94851629c49c65b4fbb29a5725ddfd7988f8f20 | Vendor (CNA) |
| Linux Linux | f59a9242942fef0de7b926e438ba4eae65d4b4dd | Vendor (CNA) |
| debian:linux | 5.10.38-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-372.139.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| suse:kernel-azure | 4.12.14-16.182.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
| suse:kernel-default | 5.3.18-150200.24.188.1 · SUSE:Linux Enterprise Live Patching 15 SP2 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150200.24.188.1.150200.9.95.3 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150200.24.188.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP2_Update_47 | 1-150200.5.3.3 · SUSE:Linux Enterprise Live Patching 15 SP2 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150200.24.188.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150200.24.188.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-rt | 4.12.14-10.182.1 · SUSE:Linux Enterprise Real Time 12 SP5 | Package registry (OSV) |
| suse:kernel-source | 5.3.18-150200.24.188.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-source-azure | 4.12.14-16.182.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
+2
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0138 · Feb 28, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/93f3339b22ba17e66f0808737467b70ba087eaec
- git.kernel.org/stable/c/aaa0faa5c28a91c362352d6b35dc3ed10df56fb0
- git.kernel.org/stable/c/b399c1a3ea0b9d10047ff266d65533df7f15532f
- git.kernel.org/stable/c/e486f8397f3f14a7cadc166138141fdb14379a54
- git.kernel.org/stable/c/e94851629c49c65b4fbb29a5725ddfd7988f8f20
- git.kernel.org/stable/c/f59a9242942fef0de7b926e438ba4eae65d4b4dd
Vendor advisories and official records. Exploit/PoC links are deliberately left out.