| Reporter | Title | Published | Views | Family All 24 |
|---|---|---|---|---|
| The vulnerability of the Linux operating system’s kernel cgroup component, which allows a hacker to cause a service failure | 3 Dec 202400:00 | – | bdu_fstec | |
| 编号撤回 | 22 May 202400:00 | – | cnnvd | |
| CVE-2021-47488 | 22 May 202408:19 | – | cve | |
| CVE-2021-47488 | 22 May 202408:19 | – | cvelist | |
| CVE-2021-47488 | 22 May 202408:19 | – | debiancve | |
| CVE-2021-47488 | 22 May 202409:15 | – | nvd | |
| openSUSE: Security Advisory for the Linux Kernel (SUSE-SU-2024:2189-1) | 29 Jun 202400:00 | – | openvas | |
| openSUSE Security Advisory (SUSE-SU-2024:2008-1) | 25 Feb 202500:00 | – | openvas | |
| openSUSE Security Advisory (SUSE-SU-2024:2019-1) | 25 Feb 202500:00 | – | openvas | |
| openSUSE Security Advisory (SUSE-SU-2024:2190-1) | 25 Feb 202500:00 | – | openvas |
| Source | Link |
|---|---|
| cve | www.cve.mitre.org/cgi-bin/cvename.cgi |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(229763);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/03/05");
script_cve_id("CVE-2021-47488");
script_name(english:"Linux Distros Unpatched Vulnerability : CVE-2021-47488");
script_set_attribute(attribute:"synopsis", value:
"The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be
patched.");
script_set_attribute(attribute:"description", value:
"The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied
patch available.
- In the Linux kernel, the following vulnerability has been resolved: cgroup: Fix memory leak caused by
missing cgroup_bpf_offline When enabling CONFIG_CGROUP_BPF, kmemleak can be observed by running the
command as below: $mount -t cgroup -o none,name=foo cgroup cgroup/ $umount cgroup/ unreferenced object
0xc3585c40 (size 64): comm mount, pid 425, jiffies 4294959825 (age 31.990s) hex dump (first 32 bytes):
01 00 00 80 84 8c 28 c0 00 00 00 00 00 00 00 00 ......(......... 00 00 00 00 00 00 00 00 6c 43 a0 c3 00 00
00 00 ........lC...... backtrace: [<e95a2f9e>] cgroup_bpf_inherit+0x44/0x24c [<1f03679c>]
cgroup_setup_root+0x174/0x37c [<ed4b0ac5>] cgroup1_get_tree+0x2c0/0x4a0 [<f85b12fd>]
vfs_get_tree+0x24/0x108 [<f55aec5c>] path_mount+0x384/0x988 [<e2d5e9cd>] do_mount+0x64/0x9c [<208c9cfe>]
sys_mount+0xfc/0x1f4 [<06dd06e0>] ret_fast_syscall+0x0/0x48 [<a8308cb3>] 0xbeb4daa8 This is because that
since the commit 2b0d3d3e4fcf (percpu_ref: reduce memory footprint of percpu_ref in fast path)
root_cgrp->bpf.refcnt.data is allocated by the function percpu_ref_init in cgroup_bpf_inherit which is
called by cgroup_setup_root when mounting, but not freed along with root_cgrp when umounting. Adding
cgroup_bpf_offline which calls percpu_ref_kill to cgroup_kill_sb can free root_cgrp->bpf.refcnt.data in
umount path. This patch also fixes the commit 4bfc0bb2c60e (bpf: decouple the lifetime of cgroup_bpf from
cgroup itself). A cgroup_bpf_offline is needed to do a cleanup that frees the resources which are
allocated by cgroup_bpf_inherit in cgroup_setup_root. And inside cgroup_bpf_offline, cgroup_get() is at
the beginning and cgroup_put is at the end of cgroup_bpf_release which is called by cgroup_bpf_offline. So
cgroup_bpf_offline can keep the balance of cgroup's refcount. (CVE-2021-47488)
Note that Nessus relies on the presence of the package as reported by the vendor.");
script_set_attribute(attribute:"solution", value:
"There is no known solution at this time.");
script_set_attribute(attribute:"agent", value:"unix");
script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:M/C:N/I:N/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-47488");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vendor_unpatched", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2024/05/22");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/03/05");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl");
script_require_keys("Host/cpu", "Host/local_checks_enabled", "global_settings/vendor_unpatched");
script_require_ports("Host/Debian/dpkg-l", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/Ubuntu", "Host/Ubuntu/release");
exit(0);
}
include('vdf.inc');
# @tvdl-content
var vuln_data = {
"metadata": {
"spec_version": "1.0p"
},
"requires": [
{
"scope": "scan_config",
"match": {
"vendor_unpatched": true
}
},
{
"scope": "target",
"match": {
"os": "linux"
}
}
],
"report": {
"report_type": "unpatched"
},
"checks": [
{
"product": {
"name": [
"linux-aws-cloud-tools-5.4.0-1009",
"linux-aws-fips",
"linux-aws-headers-5.4.0-1009",
"linux-aws-tools-5.4.0-1009",
"linux-azure-cloud-tools-5.4.0-1010",
"linux-azure-fips",
"linux-azure-headers-5.4.0-1010",
"linux-azure-tools-5.4.0-1010",
"linux-bluefield",
"linux-buildinfo-5.4.0-1008-raspi",
"linux-buildinfo-5.4.0-1009-aws",
"linux-buildinfo-5.4.0-1009-gcp",
"linux-buildinfo-5.4.0-1009-kvm",
"linux-buildinfo-5.4.0-1009-oracle",
"linux-buildinfo-5.4.0-1010-azure",
"linux-buildinfo-5.4.0-26-generic",
"linux-buildinfo-5.4.0-26-generic-lpae",
"linux-cloud-tools-5.4.0-1009-aws",
"linux-cloud-tools-5.4.0-1009-kvm",
"linux-cloud-tools-5.4.0-1009-oracle",
"linux-cloud-tools-5.4.0-1010-azure",
"linux-cloud-tools-5.4.0-26",
"linux-cloud-tools-5.4.0-26-generic",
"linux-cloud-tools-5.4.0-26-generic-lpae",
"linux-cloud-tools-common",
"linux-doc",
"linux-fips",
"linux-gcp-fips",
"linux-gcp-headers-5.4.0-1009",
"linux-gcp-tools-5.4.0-1009",
"linux-headers-5.4.0-1008-raspi",
"linux-headers-5.4.0-1009-aws",
"linux-headers-5.4.0-1009-gcp",
"linux-headers-5.4.0-1009-kvm",
"linux-headers-5.4.0-1009-oracle",
"linux-headers-5.4.0-1010-azure",
"linux-headers-5.4.0-26",
"linux-headers-5.4.0-26-generic",
"linux-headers-5.4.0-26-generic-lpae",
"linux-ibm",
"linux-image-5.4.0-1008-raspi",
"linux-image-5.4.0-1008-raspi-dbgsym",
"linux-image-5.4.0-1009-aws",
"linux-image-5.4.0-1009-aws-dbgsym",
"linux-image-5.4.0-1009-kvm",
"linux-image-5.4.0-1009-kvm-dbgsym",
"linux-image-unsigned-5.4.0-1009-gcp",
"linux-image-unsigned-5.4.0-1009-gcp-dbgsym",
"linux-image-unsigned-5.4.0-1009-oracle",
"linux-image-unsigned-5.4.0-1009-oracle-dbgsym",
"linux-image-unsigned-5.4.0-1010-azure",
"linux-image-unsigned-5.4.0-1010-azure-dbgsym",
"linux-image-unsigned-5.4.0-26-generic",
"linux-image-unsigned-5.4.0-26-generic-dbgsym",
"linux-image-unsigned-5.4.0-26-generic-lpae",
"linux-image-unsigned-5.4.0-26-generic-lpae-dbgsym",
"linux-image-unsigned-5.4.0-26-lowlatency",
"linux-iot",
"linux-kvm-cloud-tools-5.4.0-1009",
"linux-kvm-headers-5.4.0-1009",
"linux-kvm-tools-5.4.0-1009",
"linux-libc-dev",
"linux-modules-5.4.0-1008-raspi",
"linux-modules-5.4.0-1009-aws",
"linux-modules-5.4.0-1009-gcp",
"linux-modules-5.4.0-1009-kvm",
"linux-modules-5.4.0-1009-oracle",
"linux-modules-5.4.0-1010-azure",
"linux-modules-5.4.0-26-generic",
"linux-modules-5.4.0-26-generic-lpae",
"linux-modules-5.4.0-26-lowlatency",
"linux-modules-extra-5.4.0-1009-aws",
"linux-modules-extra-5.4.0-1009-gcp",
"linux-modules-extra-5.4.0-1009-kvm",
"linux-modules-extra-5.4.0-1009-oracle",
"linux-modules-extra-5.4.0-1010-azure",
"linux-modules-extra-5.4.0-26-generic",
"linux-modules-extra-5.4.0-26-generic-lpae",
"linux-modules-extra-5.4.0-26-lowlatency",
"linux-oracle-headers-5.4.0-1009",
"linux-oracle-tools-5.4.0-1009",
"linux-raspi-headers-5.4.0-1008",
"linux-raspi-tools-5.4.0-1008",
"linux-source-5.4.0",
"linux-tools-5.4.0-1008-raspi",
"linux-tools-5.4.0-1009-aws",
"linux-tools-5.4.0-1009-gcp",
"linux-tools-5.4.0-1009-kvm",
"linux-tools-5.4.0-1009-oracle",
"linux-tools-5.4.0-1010-azure",
"linux-tools-5.4.0-26",
"linux-tools-5.4.0-26-generic",
"linux-tools-5.4.0-26-generic-lpae",
"linux-tools-common",
"linux-tools-host",
"linux-udebs-aws",
"linux-udebs-azure",
"linux-udebs-generic",
"linux-udebs-generic-lpae",
"linux-udebs-kvm",
"linux-xilinx-zynqmp"
],
"type": "dpkg_package"
},
"check_algorithm": "dpkg",
"constraints": [
{
"requires": [
{
"scope": "target",
"match": {
"distro": "ubuntu"
}
},
{
"scope": "target",
"match": {
"os_version": "20.04"
}
}
]
}
]
},
{
"product": {
"name": [
"kernel",
"kernel-rt"
],
"type": "rpm_package"
},
"check_algorithm": "rpm",
"constraints": [
{
"requires": [
{
"scope": "target",
"match": {
"distro": "redhat"
}
},
{
"scope": "target",
"match_one": {
"os_version": [
"8",
"9"
]
}
}
]
}
]
}
]
};
var vdf_res = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_NOTE);
vdf::handle_check_and_report_errors(vdf_result: vdf_res);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation