Integer Underflow Affecting kernel-core package, versions <0:4.18.0-348.12.2.el8_5
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ROCKY8-KERNELCORE-3278217
- published 3 Feb 2023
- disclosed 11 Feb 2022
Introduced: 11 Feb 2022
CVE-2022-0185 Open this link in a new tabHow to fix?
Upgrade Rocky-Linux:8
kernel-core
to version 0:4.18.0-348.12.2.el8_5 or higher.
This issue was patched in RLSA-2022:0188
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-core
package and not the kernel-core
package as distributed by Rocky-Linux
.
See How to fix?
for Rocky-Linux:8
relevant fixed versions and status.
A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0185
- https://access.redhat.com/errata/RHSA-2022:0176
- https://access.redhat.com/errata/RHSA-2022:0186
- https://access.redhat.com/errata/RHSA-2022:0187
- https://access.redhat.com/errata/RHSA-2022:0188
- https://access.redhat.com/errata/RHSA-2022:0231
- https://access.redhat.com/errata/RHSA-2022:0232
- https://access.redhat.com/errata/RHSA-2022:0540
- https://access.redhat.com/security/cve/CVE-2022-0185
- https://bugzilla.redhat.com/show_bug.cgi?id=2040358
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- https://github.com/Crusaders-of-Rust/CVE-2022-0185
- https://security.netapp.com/advisory/ntap-20220225-0003/
- https://www.openwall.com/lists/oss-security/2022/01/18/7
- https://www.willsroot.io/2022/01/cve-2022-0185.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog