CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 58% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2021-43267 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43267?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43267?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-43267 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | from 5.10 before 5.10.77 |
| linux:linux_kernel | from 5.11 before 5.14.16 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | 5.14.16-1 | DEBIAN-CVE-2021-43267 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2021-43267 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 10 more | no fix listed | UBUNTU-CVE-2021-43267 |
| Ubuntu | 20.04:LTS | linux-aws-5.11, linux-azure-5.11, linux-oracle-5.11 | 5.11.0-1023.24~20.04.1 | UBUNTU-CVE-2021-43267 USN-5208-1 |
| Ubuntu | 20.04:LTS | linux-gcp-5.11 | 5.11.0-1024.26~20.04.1 | UBUNTU-CVE-2021-43267 USN-5208-1 |
| Ubuntu | 20.04:LTS | linux-hwe-5.11 | 5.11.0-44.48~20.04.2 | UBUNTU-CVE-2021-43267 USN-5208-1 |
| Ubuntu | 20.04:LTS | linux-hwe-5.13 | 5.13.0-23.23~20.04.2 | UBUNTU-CVE-2021-43267 |
| Ubuntu | 20.04:LTS | linux-oem-5.10 | 5.10.0-1053.55 | UBUNTU-CVE-2021-43267 USN-5207-1 |
| Ubuntu | 20.04:LTS | linux-oem-5.13 | 5.13.0-1026.32 | UBUNTU-CVE-2021-43267 USN-5218-1 |
| Ubuntu | 20.04:LTS | linux-oem-5.14 | 5.14.0-1008.8 | UBUNTU-CVE-2021-43267 USN-5165-1 |
| Ubuntu | 20.04:LTS | linux-riscv, linux-raspi2, linux-aws-5.8 and 6 more | no fix listed | UBUNTU-CVE-2021-43267 |
| Ubuntu | 20.04:LTS | linux-riscv-5.11 | 5.11.0-1024.25~20.04.1 | UBUNTU-CVE-2021-43267 |
| Red Hat | enterprise_linux:8::baseos | kpatch-patch-4_18_0-348, kpatch-patch-4_18_0-348-debuginfo, kpatch-patch-4_18_0-348-debugsource | 0:1-1.el8 | RHSA-2021:4645 |
| Red Hat | enterprise_linux:8::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-348.2.1.el8_5 | RHSA-2021:4647 |
| Red Hat | enterprise_linux:8::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-348.2.1.el8_5 | RHSA-2021:4647 |
| Red Hat | enterprise_linux:8::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-348.2.1.rt7.132.el8_5 | RHSA-2021:4646 |
| Red Hat | enterprise_linux:8::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-348.2.1.rt7.132.el8_5 | RHSA-2021:4646 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305, kpatch-patch-4_18_0-305-debuginfo, kpatch-patch-4_18_0-305-debugsource | 0:1-8.el8 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_10_2, kpatch-patch-4_18_0-305_10_2-debuginfo, kpatch-patch-4_18_0-305_10_2-debugsource | 0:1-5.el8_4 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_12_1, kpatch-patch-4_18_0-305_12_1-debuginfo, kpatch-patch-4_18_0-305_12_1-debugsource | 0:1-4.el8_4 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_17_1, kpatch-patch-4_18_0-305_19_1, kpatch-patch-4_18_0-305_17_1-debuginfo and 3 more | 0:1-3.el8_4 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_25_1, kpatch-patch-4_18_0-305_25_1-debuginfo, kpatch-patch-4_18_0-305_25_1-debugsource | 0:1-2.el8_4 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_3_1, kpatch-patch-4_18_0-305_3_1-debuginfo, kpatch-patch-4_18_0-305_3_1-debugsource | 0:1-7.el8_4 | RHSA-2021:4644 |
| Red Hat | rhel_eus:8.4::baseos | kpatch-patch-4_18_0-305_7_1, kpatch-patch-4_18_0-305_7_1-debuginfo, kpatch-patch-4_18_0-305_7_1-debugsource | 0:1-6.el8_4 | RHSA-2021:4644 |
| 5 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | kernel-tools-libs-devel | 4.18.0-348.2.1.el8_5 | ALSA-2021:4647 |
| Rocky Linux | 8 | kernel | 0:4.18.0-348.2.1.el8_5 | RLSA-2021:4647 |
| Rocky Linux | 8 | kernel-rt | 0:4.18.0-348.2.1.rt7.132.el8_5 | RLSA-2021:4646 |
| Azure Linux | 2 | kernel | 5.10.78.1-1 | AZL-6603 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Important.
This issue affects Red Hat Enterprise Linux 8 starting with the kernel that shipped with Red Hat Enterprise Linux 8.4 GA (kernel-4.18.0-305.el8). Previous Red Hat Enterprise Linux 8 kernel versions were not affected as they did not include the vulnerable functionality.
Red Hat recommends to use transport level to separate and/or secure (by both encrypting and authenticating via eg. IPSec/MACSec) the communication between nodes. This limits the exposure of this issue to semi-trusted nodes.
The TIPC module will NOT be automatically loaded. When required, administrative action is needed to explicitly load this module.
Loading the module can be prevented with the following instructions:
# echo "install tipc /bin/true" >> /etc/modprobe.d/disable-tipc.conf
The system will need to be restarted if the tipc module is loaded. In most circumstances, the TIPC kernel module will be unable to be unloaded while any network interfaces are active and the protocol is in use.
If the system requires this module to work correctly, this mitigation may not be suitable.
If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.
To mitigate the issue on systems that do need to use TIPC and do *not* deploy the TIPC protocol level encryption but rather use different ways to ensure secure communication between nodes (eg. physical network separation, IPSec/MACsec):
- BEWARE THAT THIS WILL DISABLE THE TIPC PROTOCOL LEVEL ENCRYPTION -
1) On the host, save the following in a file with the ".stp" extension:
%{
#include <linux/skbuff.h>
#define MSG_CRYPTO 14
#define SOCK_WAKEUP 14 /* pseudo user */
#define TOP_SRV 15 /* pseudo user */
struct tipc_msg {
__be32 hdr[15];
};
static inline struct tipc_msg *buf_msg(struct sk_buff *skb)
{
return (struct tipc_msg *)skb->data;
}
static inline u32 msg_word(struct tipc_msg *m, u32 pos)
{
return ntohl(m->hdr[pos]);
}
static inline void msg_set_word(struct tipc_msg *m, u32 w, u32 val)
{
m->hdr[w] = htonl(val);
}
static inline u32 msg_bits(struct tipc_msg *m, u32 w, u32 pos, u32 mask)
{
return (msg_word(m, w) >> pos) & mask;
}
static inline void msg_set_bits(struct tipc_msg *m, u32 w,
u32 pos, u32 mask, u32 val)
{
val = (val & mask) << pos;
mask = mask << pos;
m->hdr[w] &= ~htonl(mask);
m->hdr[w] |= htonl(val);
}
static inline u32 msg_user(struct tipc_msg *m)
{
return msg_bits(m, 0, 25, 0xf);
}
static inline void msg_set_user(struct tipc_msg *m, u32 n)
{
msg_set_bits(m, 0, 25, 0xf, n);
}
%}
function sanitize:long (skb:long) %{
struct sk_buff *skb;
struct tipc_msg *hdr;
#if STAP_COMPAT_VERSION >= STAP_VERSION(1,8)
skb = (struct sk_buff *) (unsigned long) STAP_ARG_skb;
#else
skb = (struct sk_buff *) (unsigned long) THIS->skb;
#endif
hdr = buf_msg(skb);
if(msg_user(hdr) == MSG_CRYPTO) {
msg_set_user(hdr, TOP_SRV); // set to invalid in this context
}
%}
probe module("tipc").function("tipc_data_input").call {
sanitize($skb);
}
2) Install the "systemtap" package and any required dependencies (such as
kernel-devel and kernel-debuginfo packages).
3) Run the "stap -g [filename-from-step-1].stp" command as root.
If the host is rebooted, the changes will be lost and the script must be
run again.
Alternatively, build the systemtap script on a development system with
"stap -g -p 4 [filename-from-step-1].stp", distribute the resulting kernel
module to all affected systems, and run "staprun -L <module>" on those.
When using this approach only systemtap-runtime package is required on the
affected systems. Please notice that the kernel version must be the same across
all systems.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-348.2.1.rt7.132.el8_5 | Fixed 2021-11-15 | RHSA-2021:4646 |
| Red Hat Enterprise Linux 8 | kpatch-patch | Fixed 2021-11-15 | RHSA-2021:4645 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-348.2.1.el8_5 | Fixed 2021-11-15 | RHSA-2021:4647 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-rt-0:4.18.0-305.28.1.rt7.100.el8_4 | Fixed 2021-11-15 | RHSA-2021:4648 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kpatch-patch | Fixed 2021-11-15 | RHSA-2021:4644 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-0:4.18.0-305.28.1.el8_4 | Fixed 2021-11-15 | RHSA-2021:4650 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | redhat-virtualization-host-0:4.4.9-202111172338_8.5 | Fixed 2021-11-19 | RHSA-2021:4750 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-43267.