title: Kernel: netfilter: use-after-free due to improper element removal in nft_pipapo_remove()
description: A use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potentially escalate their privileges on the system.
problem types: Use After Free
affected:
{
product: kernel
vendor: n/a
versions:
version: 6.5-rc5, status: unaffected
}
{
product: kernel
vendor: n/a
defaultStatus: affected
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:4.18.0-477.27.1.rt7.290.el8_8, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:8::nfv, cpe:/a:redhat:enterprise_linux:8::realtime]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:enterprise_linux:8::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-477.27.1.el8_8, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:8::crb, cpe:/o:redhat:enterprise_linux:8::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Advanced Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-193.119.1.el8_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_e4s:8.2::baseos, cpe:/o:redhat:rhel_aus:8.2::baseos, cpe:/o:redhat:rhel_tus:8.2::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:4.18.0-193.119.1.rt13.170.el8_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_tus:8.2::realtime, cpe:/a:redhat:rhel_tus:8.2::nfv]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-193.119.1.el8_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_e4s:8.2::baseos, cpe:/o:redhat:rhel_aus:8.2::baseos, cpe:/o:redhat:rhel_tus:8.2::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:rhel_e4s:8.2::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-193.119.1.el8_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_e4s:8.2::baseos, cpe:/o:redhat:rhel_aus:8.2::baseos, cpe:/o:redhat:rhel_tus:8.2::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-305.103.1.el8_4, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_tus:8.4::baseos, cpe:/o:redhat:rhel_aus:8.4::baseos, cpe:/o:redhat:rhel_e4s:8.4::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:4.18.0-305.103.1.rt7.178.el8_4, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_tus:8.4::nfv, cpe:/a:redhat:rhel_tus:8.4::realtime]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-305.103.1.el8_4, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_tus:8.4::baseos, cpe:/o:redhat:rhel_aus:8.4::baseos, cpe:/o:redhat:rhel_e4s:8.4::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-305.103.1.el8_4, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_tus:8.4::baseos, cpe:/o:redhat:rhel_aus:8.4::baseos, cpe:/o:redhat:rhel_e4s:8.4::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:rhel_e4s:8.4::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:rhel_eus:8.6::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-372.75.1.el8_6, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:8.6::crb, cpe:/o:redhat:rhel_eus:8.6::baseos, cpe:/o:redhat:enterprise_linux:8::hypervisor]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:5.14.0-284.30.1.el9_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:9::appstream, cpe:/o:redhat:enterprise_linux:9::baseos, cpe:/a:redhat:enterprise_linux:9::crb]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:5.14.0-284.30.1.rt14.315.el9_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:9::nfv, cpe:/a:redhat:enterprise_linux:9::realtime]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:5.14.0-284.30.1.el9_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:9::appstream, cpe:/o:redhat:enterprise_linux:9::baseos, cpe:/a:redhat:enterprise_linux:9::crb]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:enterprise_linux:9::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:5.14.0-70.80.1.el9_0, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:9.0::appstream, cpe:/o:redhat:rhel_eus:9.0::baseos, cpe:/a:redhat:rhel_eus:9.0::crb]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:5.14.0-70.80.1.rt21.151.el9_0, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:9.0::realtime, cpe:/a:redhat:rhel_eus:9.0::nfv]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
defaultStatus: unaffected
packageName: kpatch-patch
cpe: cpe:/o:redhat:rhel_eus:9.0::baseos
}
{
vendor: Red Hat
product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-372.75.1.el8_6, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:8.6::crb, cpe:/o:redhat:rhel_eus:8.6::baseos, cpe:/o:redhat:enterprise_linux:8::hypervisor]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 6
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:6
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:7
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:7
}
{
product: Fedora
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: kernel
defaultStatus: affected
}
metrics:
other: [
content: {'value': 'Important', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]
workarounds: This flaw can be mitigated by preventing the affected netfilter kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.