5.5
CVE-2021-46974
- EPSS 0.01%
- Published 27.02.2024 19:04:07
- Last modified 09.01.2025 15:00:55
- Source 416baaa9-dc9f-4396-8d5f-8c081f
- CVE-Watchlists
- Open
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.
Data is provided by the National Vulnerability Database (NVD)
Linux ≫ Linux Kernel Version >= 4.14.113 < 4.14.233
Linux ≫ Linux Kernel Version >= 4.19.19 < 4.19.190
Linux ≫ Linux Kernel Version >= 5.0 < 5.4.117
Linux ≫ Linux Kernel Version >= 5.5 < 5.10.35
Linux ≫ Linux Kernel Version >= 5.11 < 5.11.19
Linux ≫ Linux Kernel Version >= 5.12 < 5.12.2
| Type | Source | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.01% | 0.012 |
| Source | Base Score | Exploit Score | Impact Score | Vector string |
|---|---|---|---|---|
| nvd@nist.gov | 5.5 | 1.8 | 3.6 |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
|