7.8high
efivarfs: fix error propagation in efivar_entry_get()
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: efivarfs: fix error propagation in efivar_entry_get() efivar_entry_get() always returns success even if the underlying __efivar_entry_get() fails, masking errors. This may result in uninitialized heap memory being copied to userspace in the efivarfs_file_read() path. Fix it by returning the error from __efivar_entry_get().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2d82e6227ea189c0589e7383a36616ac2a2d248c before 3960f1754664661a970dc9ebbab44ff93a0b4c42, from 2d82e6227ea189c0589e7383a36616ac2a2d248c before 510a16f1c5c1690b33504052bc13fbc2772c23f8, from 2d82e6227ea189c0589e7383a36616ac2a2d248c before 89b8ca709eeeabcc11ebba64806677873a2787a8, from 2d82e6227ea189c0589e7383a36616ac2a2d248c before e4e15a0a4403c96d9898d8398f0640421df9cb16, from 2d82e6227ea189c0589e7383a36616ac2a2d248c before 4b22ec1685ce1fc0d862dcda3225d852fb107995, 6.0 Not affected: before 6.0, from 6.1.162 up to 6.1.*, from 6.6.123 up to 6.6.*, from 6.12.69 up to 6.12.*, from 6.18.9 up to 6.18.*, from 6.19 up to * | CVE List |
| linux linux_kernel | from 6.0 before 6.1.162, from 6.2 before 6.6.123, from 6.7 before 6.12.69, from 6.13 before 6.18.9, 6.19 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: efivarfs: fix error propagation in efivar_entry_get() efivar_entry_get() always returns success even if the underlying __efivar_entry_get() fails, masking errors. This may result in uninitialized heap memory being copied to userspace in the efivarfs_file_read() path. Fix it by returning the error from __efivar_entry_get().
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: efivarfs: corrección de la propagación de errores en efivar_entry_get() efivar_entry_get() siempre devuelve éxito incluso si la función subyacente __efivar_entry_get() falla, enmascarando errores. Esto puede resultar en que memoria de pila no inicializada sea copiada al espacio de usuario en la ruta de efivarfs_file_read(). Se soluciona devolviendo el error desde __efivar_entry_get().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23156 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-23156 changed 2026-06-17 | Public domain |