# CVE-2026-23156: efivarfs: fix error propagation in efivar_entry_get()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-02-14T16:01:23.215Z
- Modified: 2026-06-17T10:21:00.207Z
- 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().

(As written by CVE List.)

## Affected

- 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 *)
- 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

## References

- <https://git.kernel.org/stable/c/3960f1754664661a970dc9ebbab44ff93a0b4c42> (patch)
- <https://git.kernel.org/stable/c/510a16f1c5c1690b33504052bc13fbc2772c23f8> (patch)
- <https://git.kernel.org/stable/c/89b8ca709eeeabcc11ebba64806677873a2787a8> (patch)
- <https://git.kernel.org/stable/c/e4e15a0a4403c96d9898d8398f0640421df9cb16> (patch)
- <https://git.kernel.org/stable/c/4b22ec1685ce1fc0d862dcda3225d852fb107995> (patch)

## Sources

- CVE List: [CVE-2026-23156](https://www.cve.org/CVERecord?id=CVE-2026-23156), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23156](https://nvd.nist.gov/vuln/detail/CVE-2026-23156), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23156 · Whole record: https://cve.day/CVE-2026-23156.json · Rebuilt by cve.day 2026-11-25T22:59:13.894Z
