Bottlerocket: bottlerocket-kernel-6.12, kernel-6.12: security update to 6.12.22

high Tenable Self-Hosted Container Security Plugin ID 428198

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- In the Linux kernel, the following vulnerability has been resolved: keys: Fix UAF in key_put() Once a
key's reference count has been reduced to 0, the garbage collector thread may destroy it at any time and
so key_put() is not allowed to touch the key after that point. The most key_put() is normally allowed to
do is to touch key_gc_work as that's a static global variable. However, in an effort to speed up the
reclamation of quota, this is now done in key_put() once the key's usage is reduced to 0 - but now the
code is looking at the key after the deadline, which is forbidden. Fix this by using a flag to indicate
that a key can be gc'd now rather than looking at the key's refcount in the garbage collector.
(CVE-2025-21893)

Plugin Details

Severity: High

ID: 428198

Version: Revision 1.4

Type: Local

Published: 6/30/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:C

CVSS Score Source: CVE-2025-21893

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/31/2025

Reference Information

CVE: CVE-2025-21893