Improper Update of Reference Count Affecting kernel6.12-devel package, versions <1:6.12.64-87.122.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (3rd 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-KERNEL612DEVEL-15319085
  • published19 Feb 2026
  • disclosed23 Jan 2026

Introduced: 23 Jan 2026

CVE-2025-71157  (opens in a new tab)
CWE-911  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.12-devel to version 1:6.12.64-87.122.amzn2023 or higher.
This issue was patched in ALAS2023-2026-1423.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.12-devel package and not the kernel6.12-devel 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:

RDMA/core: always drop device refcount in ib_del_sub_device_and_put()

Since nldev_deldev() (introduced by commit 060c642b2ab8 ("RDMA/nldev: Add support to add/delete a sub IB device through netlink") grabs a reference using ib_device_get_by_index() before calling ib_del_sub_device_and_put(), we need to drop that reference before returning -EOPNOTSUPP error.

CVSS Base Scores

version 3.1