CVE-2025-40022 Affecting kernel-uek-container-debug package, versions <0:5.15.0-315.196.5.1.el9uek


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE9-KERNELUEKCONTAINERDEBUG-14408937
  • published13 Dec 2025
  • disclosed24 Oct 2025

Introduced: 24 Oct 2025

CVE-2025-40022  (opens in a new tab)

How to fix?

Upgrade Oracle:9 kernel-uek-container-debug to version 0:5.15.0-315.196.5.1.el9uek or higher.
This issue was patched in ELSA-2025-28048.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-uek-container-debug package and not the kernel-uek-container-debug package as distributed by Oracle. See How to fix? for Oracle:9 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

crypto: af_alg - Fix incorrect boolean values in af_alg_ctx

Commit 1b34cbbf4f01 ("crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of type u32.

However, some assignments to these fields, specifically 'more' and 'merge', assign values greater than 1. These relied on C's implicit conversion to bool, such that zero becomes false and nonzero becomes true.

With a 1-bit bitfields of type u32 instead, mod 2 of the value is taken instead, resulting in 0 being assigned in some cases when 1 was intended.

Fix this by restoring the bool type.

CVSS Base Scores

version 3.1