CentOS Linux 8 [TuxCare] Security Update: bpftool / kernel / kernel-core / kernel-cross-headers / etc Multiple Vulnerabilities (CENTOS-STREAM8:CLSA-2025:1757961506)
10
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(360992);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/10/02");
script_cve_id(
"CVE-2021-47670",
"CVE-2022-50020",
"CVE-2022-50127",
"CVE-2024-50106",
"CVE-2024-57982",
"CVE-2025-21727",
"CVE-2025-22020",
"CVE-2025-22058",
"CVE-2025-37890",
"CVE-2025-38000",
"CVE-2025-38052",
"CVE-2025-38079",
"CVE-2025-38085",
"CVE-2025-38159",
"CVE-2025-38177",
"CVE-2025-38200",
"CVE-2025-38211",
"CVE-2025-38250",
"CVE-2025-38273",
"CVE-2025-38332",
"CVE-2025-38350",
"CVE-2025-38352",
"CVE-2025-38380",
"CVE-2025-38464",
"CVE-2025-38477"
);
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2025/09/25");
script_xref(name:"CLSA", value:"2025:1757961506");
script_name(english:"CentOS Linux 8 [TuxCare] Security Update: bpftool / kernel / kernel-core / kernel-cross-headers / etc Multiple Vulnerabilities (CENTOS-STREAM8:CLSA-2025:1757961506)");
script_set_attribute(attribute:"synopsis", value:
"The CentOS Linux host is missing one or more security updates.");
script_set_attribute(attribute:"description", value:
"The CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the
TuxCare CENTOS-STREAM8:CLSA-2025:1757961506 advisory.
- In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs
After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which
aliases skb memory is accessed after the peak_usb_netif_rx_ni(). Reordering the lines solves the issue.
(CVE-2021-47670)
- In the Linux kernel, the following vulnerability has been resolved: ext4: avoid resizing to a partial
cluster size This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An
online resize to a size that is not integral to cluster size results in the last iteration attempting to
grow the fs by a negative amount, which trips a BUG_ON and leaves the fs with a corrupted in-memory
superblock. (CVE-2022-50020)
- In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix error unwind in
rxe_create_qp() In the function rxe_create_qp(), rxe_qp_from_init() is called to initialize qp, internally
things like the spin locks are not setup until rxe_qp_init_req(). If an error occures before this point
then the unwind will call rxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task() which
will oops when trying to access the uninitialized spinlock. Move the spinlock initializations earlier
before any failures. (CVE-2022-50127)
- In the Linux kernel, the following vulnerability has been resolved: nfsd: fix race between laundromat and
free_stateid There is a race between laundromat handling of revoked delegations and a client sending
free_stateid operation. Laundromat thread finds that delegation has expired and needs to be revoked so it
marks the delegation stid revoked and it puts it on a reaper list but then it unlock the state lock and
the actual delegation revocation happens without the lock. Once the stid is marked revoked a racing
free_stateid processing thread does the following (1) it calls list_del_init() which removes it from the
reaper list and (2) frees the delegation stid structure. The laundromat thread ends up not calling the
revoke_delegation() function for this particular delegation but that means it will no release the lock
lease that exists on the file. Now, a new open for this file comes in and ends up finding that lease list
isn't empty and calls nfsd_breaker_owns_lease() which ends up trying to derefence a freed delegation
stateid. Leading to the followint use-after-free KASAN warning: kernel:
================================================================== kernel: BUG: KASAN: slab-use-after-free
in nfsd_breaker_owns_lease+0x140/0x160 [nfsd] kernel: Read of size 8 at addr ffff0000e73cd0c8 by task
nfsd/6205 kernel: kernel: CPU: 2 UID: 0 PID: 6205 Comm: nfsd Kdump: loaded Not tainted 6.11.0-rc7+ #9
kernel: Hardware name: Apple Inc. Apple Virtualization Generic Platform, BIOS 2069.0.0.0.0 08/03/2024
kernel: Call trace: kernel: dump_backtrace+0x98/0x120 kernel: show_stack+0x1c/0x30 kernel:
dump_stack_lvl+0x80/0xe8 kernel: print_address_description.constprop.0+0x84/0x390 kernel:
print_report+0xa4/0x268 kernel: kasan_report+0xb4/0xf8 kernel: __asan_report_load8_noabort+0x1c/0x28
kernel: nfsd_breaker_owns_lease+0x140/0x160 [nfsd] kernel: nfsd_file_do_acquire+0xb3c/0x11d0 [nfsd]
kernel: nfsd_file_acquire_opened+0x84/0x110 [nfsd] kernel: nfs4_get_vfs_file+0x634/0x958 [nfsd] kernel:
nfsd4_process_open2+0xa40/0x1a40 [nfsd] kernel: nfsd4_open+0xa08/0xe80 [nfsd] kernel:
nfsd4_proc_compound+0xb8c/0x2130 [nfsd] kernel: nfsd_dispatch+0x22c/0x718 [nfsd] kernel:
svc_process_common+0x8e8/0x1960 [sunrpc] kernel: svc_process+0x3d4/0x7e0 [sunrpc] kernel:
svc_handle_xprt+0x828/0xe10 [sunrpc] kernel: svc_recv+0x2cc/0x6a8 [sunrpc] kernel: nfsd+0x270/0x400 [nfsd]
kernel: kthread+0x288/0x310 kernel: ret_from_fork+0x10/0x20 This patch proposes a fixed that's based on
adding 2 new additional stid's sc_status values that help coordinate between the laundromat and other
operations (nfsd4_free_stateid() and nfsd4_delegreturn()). First to make sure, that once the stid is
marked revoked, it is not removed by the nfsd4_free_stateid(), the laundromat take a reference on the
stateid. Then, coordinating whether the stid has been put on the cl_revoked list or we are processing
FREE_STATEID and need to make sure to remove it from the list, each check that state and act accordingly.
If laundromat has added to the cl_revoke list before the arrival of FREE_STATEID, then
nfsd4_free_stateid() knows to remove it from the list. If nfsd4_free_stateid() finds that operations
arrived before laundromat has placed it on cl_revoke list, it marks the state freed and then laundromat
will no longer add it to the list. Also, for nfsd4_delegreturn() when looking for the specified stid, we
need to access stid that are marked removed or freeable, it means the laundromat has started processing it
but hasn't finished and this delegreturn needs to return nfserr_deleg_revoked and not nfserr_bad_stateid.
The latter will not trigger a FREE_STATEID and the lack of it will leave this stid on the cl_revoked list
indefinitely. (CVE-2024-50106)
- In the Linux kernel, the following vulnerability has been resolved: xfrm: state: fix out-of-bounds read
during lookup lookup and resize can run in parallel. The xfrm_state_hash_generation seqlock ensures a
retry, but the hash functions can observe a hmask value that is too large for the new hlist array. rehash
does: rcu_assign_pointer(net->xfrm.state_bydst, ndst) [..] net->xfrm.state_hmask = nhashmask; While state
lookup does: h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); hlist_for_each_entry_rcu(x,
net->xfrm.state_bydst + h, bydst) { This is only safe in case the update to state_bydst is larger than
net->xfrm.xfrm_state_hmask (or if the lookup function gets serialized via state spinlock again). Fix this
by prefetching state_hmask and the associated pointers. The xfrm_state_hash_generation seqlock retry will
ensure that the pointer and the hmask will be consistent. The existing helpers, like xfrm_dst_hash(), are
now unsafe for RCU side, add lockdep assertions to document that they are only safe for insert side.
xfrm_state_lookup_byaddr() uses the spinlock rather than RCU. AFAICS this is an oversight from back when
state lookup was converted to RCU, this lock should be replaced with RCU in a future patch.
(CVE-2024-57982)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://security.tuxcare.com/csaf/v2/els_os/centos-stream8els/advisories/2025/clsa-2025_1757961506.json
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3433e820");
script_set_attribute(attribute:"see_also", value:"https://cve.tuxcare.com/els/releases/CLSA-2025:1757961506");
script_set_attribute(attribute:"solution", value:
"Update the affected packages based on the guidance in TuxCare advisory CENTOS-STREAM8:CLSA-2025:1757961506.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-38464");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"vendor_severity", value:"Important");
script_set_attribute(attribute:"vuln_publication_date", value:"2020/11/04");
script_set_attribute(attribute:"patch_publication_date", value:"2025/09/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/10/01");
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:"CentOS Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl");
script_require_keys("Host/OS/extended-third-party", "Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/rpm-list");
exit(0);
}
include('rpm2.inc');
var third_party_support = get_kb_item('Host/OS/extended-third-party');
if (empty_or_null(third_party_support) || third_party_support != 'TuxCare') exit(0, 'TuxCare support not enabled.');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'CentOS Linux' >!< os_product) audit(AUDIT_OS_NOT, 'CentOS Linux');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'CentOS Linux');
if (! preg(pattern:"^8([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'CentOS Linux 8', 'CentOS Linux ' + os_version);
if (!get_kb_item('Host/CentOS/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'CentOS Linux', cpu);
var constraints = [
{
'release': '8',
'pkgs': [
{'reference':'bpftool-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-core-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-cross-headers-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-core-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-devel-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-modules-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-modules-extra-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-debug-modules-internal-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-devel-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-headers-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-ipaclones-internal-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-modules-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-modules-extra-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-modules-internal-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-selftests-internal-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-tools-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-tools-libs-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-tools-libs-devel-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'perf-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE},
{'reference':'python3-perf-4.18.0-553.6.1.el8_10.tuxcare.els13', 'cpu':'x86_64', 'el_string':'el8_10', 'rpm_spec_vers_cmp':TRUE}
]
}
];
var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');
var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
# Check that the target release is equal to the affected release
if (!empty_or_null(constraint['release'])){
if (constraint['release'] != os_release) continue;
}
if (!empty_or_null(constraint['sp'])){
if (constraint['sp'] != os_sp) continue;
}
foreach var pkg ( constraint['pkgs'] ) {
reference = NULL;
sp = NULL;
_cpu = NULL;
el_string = NULL;
rpm_spec_vers_cmp = NULL;
epoch = NULL;
allowmaj = NULL;
exists_check = NULL;
cves = NULL;
if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (reference &&
## (no known rpm to check OR known rpm_exists)
(!exists_check || rpm_exists(rpm:exists_check)) &&
rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
}
}
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'bpftool / kernel / kernel-core / kernel-cross-headers / etc');
}
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
02 Oct 2026 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 3.17.8 - 9.8
EPSS0.01289
SSVC