# CVE-2021-0512: kpatch-patch-4_18_0-305_19_1: This is a kernel live patch module which is automatically loaded by the RPM post-install script to modify the code of...

CVE-2021-0512 is fixed in 44 products on 1 platform, first by RHSA-2021:4056, released November 2, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-0512
- Priority: High
- CVSS: 7.8 (Important)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 2, 2021

## Description

This is a kernel live patch module which is automatically loaded by the RPM post-install script to modify the code of a running kernel.  Security Fix(es):  * kernel: use-after-free in drivers/infiniband/core/ucma.c ctx use-after-free (CVE-2020-36385)  * kernel: out-of-bounds write due to a heap buffer overflow in __hidinput_change_resolution_multipliers() of hid-input.c (CVE-2021-0512)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | bpftool ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-abi-stablelists RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-abi-stablelists ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-core RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-core ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-cross-headers ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-debug RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-debug ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-debug-core RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-debug-core ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-debug-devel RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-debug-devel ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-debug-modules RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-debug-modules ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-debug-modules-extra RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-debug-modules-extra ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-devel RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-devel ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-doc RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-doc ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-headers ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-modules RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-modules ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-modules-extra RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-modules-extra ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-rt RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-core RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug-core RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug-devel RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug-kvm RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug-modules RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-debug-modules-extra RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-devel RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-kvm RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-modules RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-rt-modules-extra RHEL 8 | 0:4.18.0-305.25.1.rt7.97.el8_4 | [RHSA-2021:4088](https://patchblox.com/security/data/fix/linux/rhsa-2021-4088.md) | Nov 2, 2021 |
| Linux | kernel-tools RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-tools ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-tools-libs RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-tools-libs ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-tools-libs-devel RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-tools-libs-devel ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | kernel-zfcpdump RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-zfcpdump-core RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-zfcpdump-devel RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-zfcpdump-modules RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kernel-zfcpdump-modules-extra RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | kpatch-patch-4_18_0-305 RHEL 8 | 0:1-6.el8 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_10_2 RHEL 8 | 0:1-3.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_12_1 RHEL 8 | 0:1-2.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_17_1 RHEL 8 | 0:1-1.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_19_1 RHEL 8 | 0:1-1.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_3_1 RHEL 8 | 0:1-5.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | kpatch-patch-4_18_0-305_7_1 RHEL 8 | 0:1-4.el8_4 | [RHSA-2021:4122](https://patchblox.com/security/data/fix/linux/rhsa-2021-4122.md) | Nov 3, 2021 |
| Linux | perf RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | perf ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |
| Linux | python3-perf RHEL 8 | 0:4.18.0-305.25.1.el8_4 | [RHSA-2021:4056](https://patchblox.com/security/data/fix/linux/rhsa-2021-4056.md) | Nov 2, 2021 |
| Linux | python3-perf ol 8 | 0:4.18.0-305.25.1.el8_4 | [ELSA-2021-4056](https://patchblox.com/security/data/fix/linux/elsa-2021-4056.md) | Nov 3, 2021 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
