CVE-2021-46974: bpf: Fix masking negation logic upon negative dst register
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.24% (FIRST EPSS).
- 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 0e2dfdc74a7f4036127356d42ea59388f153f42c, 2cfa537674cd1051a3b8111536d77d0558f33d5d, 4.14.233.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 0e2dfdc74a7f4036127356d42ea59388f153f42c, 2cfa537674cd1051a3b8111536d77d0558f33d5d, 4.14.233 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: bpf: Fix masking negation logic upon negative dst register The negation logic for the case where the off_reg is sitting in the dst register is not correct given then we cannot just invert the add to a sub or vice versa. As a fix, perform the final bitwise and-op unconditionally into AX from the off_reg, then move the pointer from the src to dst and finally use AX as the source for the original pointer arithmetic operation such that the inversion yields a correct result. The single non-AX mov in between is possible given constant blinding is retaining it as it's not an immediate based operation.
- Published
- Feb 27, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 16th 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.2%
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.1
- 1.6 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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
- 078da99d449f64ca04d459cdbdcce513b64173cd, 5.0affected
- ae03b6b1c880a03d4771257336dc3bca156dd51b and later · before 4d542ddb88fb2f39bf7f14caa2902f3e8d06f6baaffected · git
- f92a819b4cbef8c9527d9797110544b2055a4b96 and later · before 0e2dfdc74a7f4036127356d42ea59388f153f42caffected · git
- 979d63d50c0c0f7bc537bf821e056cc9fe5abd38 and later · before 53e0db429b37a32b8fc706d0d90eb4583ad13848affected · git
- 979d63d50c0c0f7bc537bf821e056cc9fe5abd38 and later · before 2cfa537674cd1051a3b8111536d77d0558f33d5daffected · git
- 979d63d50c0c0f7bc537bf821e056cc9fe5abd38 and later · before 6eba92a4d4be8feb4dc33976abac544fa99d6eccaffected · git
- 979d63d50c0c0f7bc537bf821e056cc9fe5abd38 and later · before 7cf64d8679ca1cb20cf57d6a88bfee79a0922a66affected · git
- 979d63d50c0c0f7bc537bf821e056cc9fe5abd38 and later · before b9b34ddbe2076ade359cd5ce7537d5ed019e9807affected · git
- 4.14.113 and later · before 4.14.233affected · semver
- 4.19.19 and later · before 4.19.190affected · 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.14.113 and later · before 4.14.233
- linux linux kernel4.19.19 and later · before 4.19.190
- linux linux kernel5.0 and later · before 5.4.117
- linux linux kernel5.5 and later · before 5.10.35
- linux linux kernel5.11 and later · before 5.11.19
- linux linux kernel5.12 and later · before 5.12.2
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 |
| SUSE:Linux Enterprise High Availability Extension 12 SP5 | kernel-default | before 4.12.14-122.201.1 | 4.12.14-122.201.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-default-base | before 5.3.18-150200.24.183.1.150200.9.93.2 | 5.3.18-150200.24.183.1.150200.9.93.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-docs | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-obs-build | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-preempt | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-syms | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default-base | before 5.3.18-150300.59.153.2.150300.18.90.2 | 5.3.18-150300.59.153.2.150300.18.90.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-docs | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-obs-build | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-preempt | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-syms | before 5.3.18-150300.59.153.1 | 5.3.18-150300.59.153.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_54 | before 1-8.7.1 | 1-8.7.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-default | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_46 | before 1-150200.5.3.2 | 1-150200.5.3.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-default | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_42 | before 1-150300.7.3.2 | 1-150300.7.3.2 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-rt | before 5.3.18-150300.161.1 | 5.3.18-150300.161.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-source-rt | before 5.3.18-150300.161.1 | 5.3.18-150300.161.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt | before 4.12.14-10.171.1 | 4.12.14-10.171.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt_debug | before 4.12.14-10.171.1 | 4.12.14-10.171.1 |
+10
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-46972Feb 27, 2024 · ovl: fix leaked dentry22Monitor
- ← EarlierCVE-2021-46973Feb 27, 2024 · net: qrtr: Avoid potential use after free in MHI send31Monitor
- Later →CVE-2020-36778Feb 28, 2024 · i2c: xiic: fix reference leak when pm_runtime_get_sync fails22Monitor
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 | 0e2dfdc74a7f4036127356d42ea59388f153f42c | Vendor (CNA) |
| Linux Linux | 2cfa537674cd1051a3b8111536d77d0558f33d5d | Vendor (CNA) |
| Linux Linux | 4.14.233 | Vendor (CNA) |
| Linux Linux | 4.19.190 | Vendor (CNA) |
| Linux Linux | 4.21 | Vendor (CNA) |
| Linux Linux | 4d542ddb88fb2f39bf7f14caa2902f3e8d06f6ba | Vendor (CNA) |
| Linux Linux | 53e0db429b37a32b8fc706d0d90eb4583ad13848 | Vendor (CNA) |
| Linux Linux | 6eba92a4d4be8feb4dc33976abac544fa99d6ecc | Vendor (CNA) |
| Linux Linux | 7cf64d8679ca1cb20cf57d6a88bfee79a0922a66 | Vendor (CNA) |
| Linux Linux | b9b34ddbe2076ade359cd5ce7537d5ed019e9807 | Vendor (CNA) |
| debian:linux | 5.10.38-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-default | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_42 | 1-150300.7.3.2 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-rt | 5.3.18-150300.161.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-source | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.161.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-syms | 5.3.18-150300.59.153.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Package registry (OSV) |
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/2cfa537674cd1051a3b8111536d77d0558f33d5d
- git.kernel.org/stable/c/4d542ddb88fb2f39bf7f14caa2902f3e8d06f6ba
- git.kernel.org/stable/c/53e0db429b37a32b8fc706d0d90eb4583ad13848
- git.kernel.org/stable/c/6eba92a4d4be8feb4dc33976abac544fa99d6ecc
- git.kernel.org/stable/c/7cf64d8679ca1cb20cf57d6a88bfee79a0922a66
- git.kernel.org/stable/c/b9b34ddbe2076ade359cd5ce7537d5ed019e9807
Vendor advisories and official records. Exploit/PoC links are deliberately left out.