CVE-2026-72453

regcache: Do not overwrite error code when finalizing cache after error

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

regcache: Do not overwrite error code when finalizing cache after error

During regcache initialization, if an error occurs in the
cache_ops->populate callback, and if cache operations include an exit
callback, the error code from populate() is overwritten with the return
value from exit(). This hides the error condition from the caller of
regcache_init(), and can cause NULL pointer dereferences when the regcache
is later accessed.

Analysis

AI-generated

Technical impact

During the initialization of the Linux kernel register cache helper, an error returned by the populate callback can be overwritten by the exit callback’s return value, if both are defined. The original error is therefore hidden from the caller of regcache_init, making the failure invisible at that point. If the cache is later accessed, this missing error state can cause a null pointer dereference, which will crash the kernel and disrupt all processes on the affected system.

Affected Systems

All Linux kernel builds that use the regcache helper with both populate and exit callbacks and have not incorporated the patch found in the referenced git commits are affected. In practice, this includes any kernel version prior to the application of those changes, regardless of distribution. The defect is present in the kernel source tree wherever the regcache infrastructure is compiled in.

Risk and Exploitability

The EPSS score is less than 1%, and the vulnerability is not listed in CISA's KEV catalog, suggesting that public exploitation is unknown or limited. The CVSS score is 5.5, which indicates medium severity. Because the error occurs during regcache initialization, the likely attack vector is a local or privileged scenario in which an attacker can cause the driver or subsystem that uses regcache to perform an erroneous populate call. Once the error is hidden, an attacker could trigger use of the cached interface to provoke the crash. The overall threat is moderate to high for systems that allow such low‑level code execution but low for typical end‑users who cannot influence kernel initialization paths.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the running Linux kernel to a release that includes the regcache error-code preservation fix referenced in the supplied git commit URLs.
  • If a kernel update cannot be performed immediately, apply a local patch to the regcache source: copy the original error code before the exit callback, invoke exit, then restore the original error code if the returned value is non‑zero.
  • After applying the patch or upgrading, reboot the system or restart any affected services to clear stale cache entries and verify that regcache initialization reporting now reflects actual errors.

Generated by OpenCVE AI on August 22, 2026 at 06:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-690
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-690
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: regcache: Do not overwrite error code when finalizing cache after error During regcache initialization, if an error occurs in the cache_ops->populate callback, and if cache operations include an exit callback, the error code from populate() is overwritten with the return value from exit(). This hides the error condition from the caller of regcache_init(), and can cause NULL pointer dereferences when the regcache is later accessed.
Title regcache: Do not overwrite error code when finalizing cache after error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:29 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Low
Public date
Aug 15, 2026, 12:00 AM