CVE-2025-22122 Affecting kernel6.12-modules-extra package, versions <0:6.12.35-55.103.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (6th 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-AMZN2023-KERNEL612MODULESEXTRA-10694467
  • published11 Jul 2025
  • disclosed16 Apr 2025

Introduced: 16 Apr 2025

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

How to fix?

Upgrade Amazon-Linux:2023 kernel6.12-modules-extra to version 0:6.12.35-55.103.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1080.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.12-modules-extra package and not the kernel6.12-modules-extra package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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

block: fix adding folio to bio

>4GB folio is possible on some ARCHs, such as aarch64, 16GB hugepage is supported, then 'offset' of folio can't be held in 'unsigned int', cause warning in bio_add_folio_nofail() and IO failure.

Fix it by adjusting 'page' & trimming 'offset' so that -&gt;bi_offset won't be overflow, and folio can be added to bio successfully.

CVSS Base Scores

version 3.1