# CVE-2026-63837: net: ena: PHC: Check return code before setting timestamp output

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-07-19T14:04:33.781Z
- Modified: 2026-11-12T19:59:30.547Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

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

net: ena: PHC: Check return code before setting timestamp output

ena_phc_gettimex64() is setting the output parameter regardless
of whether ena_com_phc_get_timestamp() succeeded or failed.

When ena_com_phc_get_timestamp() returns an error, the timestamp
parameter may contain uninitialized stack memory (e.g., when PHC is
disabled or in blocked state) or invalid hardware values. Passing
these to userspace via the PTP ioctl is both a security issue
(information leak) and a correctness bug.

Fix by checking the return code after releasing the lock and only
setting the output timestamp on success.

(As written by CVE List.)

## Affected

- Linux Linux: from e0ea34158ee8c4f7536cd781010339ff28c0d24c before bddf59818ae5102e6d82a4dae5add6df8da38fb0; from e0ea34158ee8c4f7536cd781010339ff28c0d24c before edcb049d836e175e7b3d5e0d05657104545b5e65; from e0ea34158ee8c4f7536cd781010339ff28c0d24c before 24a08d7d6218d60c033015cf4870b6096446e734; 6.17 (not affected: before 6.17; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.17 before 6.18.33; from 6.19 before 7.0.10; 7.1

## References

- <https://git.kernel.org/stable/c/bddf59818ae5102e6d82a4dae5add6df8da38fb0> (patch)
- <https://git.kernel.org/stable/c/edcb049d836e175e7b3d5e0d05657104545b5e65> (patch)
- <https://git.kernel.org/stable/c/24a08d7d6218d60c033015cf4870b6096446e734> (patch)

## Sources

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

---

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