# CVE-2026-99888: ceph: fix uninitialized err in ceph_netfs_issue_read()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:59.689Z
- Modified: 2026-12-01T06:17:55.470Z
- Assigned by: Linux

## Description

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

ceph: fix uninitialized err in ceph_netfs_issue_read()

ceph_netfs_issue_read() declares err without an initializer. On the
unencrypted, non-sparse success path nothing assigns it, then the
out: label does if (err) netfs_read_subreq_terminated(subreq).

With CONFIG_INIT_STACK_ALL_PATTERN, err is 0xaaaaaaaa (nonzero), so
the subrequest is terminated while the OSD READ is still in flight.
netfs then frees the rolling buffer that the OSD iterator still
points at, causing a KASAN UAF / oops, and finish_netfs_read()
terminates the same subrequest a second time. CONFIG_INIT_STACK_ALL_ZERO
hides it because err happens to be 0.

Restore the err = 0 initializer so a successful submit leaves
completion to finish_netfs_read() only.

(As written by CVE List.)

## Affected

- Linux Linux: from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before 87f72492245bcc04a9145315dd44f0493988b9a9; from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before c94e08ae4ad38ef847e273d9d989b106a083dd2e; from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before d2f96029c08ac0f5298270c227963c4e3ffab3dc; from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before 823d21c78453fcdf58dbd8ecefbb41f4f3eb6540; 6.12 (not affected: before 6.12; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/87f72492245bcc04a9145315dd44f0493988b9a9>
- <https://git.kernel.org/stable/c/c94e08ae4ad38ef847e273d9d989b106a083dd2e>
- <https://git.kernel.org/stable/c/d2f96029c08ac0f5298270c227963c4e3ffab3dc>
- <https://git.kernel.org/stable/c/823d21c78453fcdf58dbd8ecefbb41f4f3eb6540>

## Sources

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

---

Page: https://cve.day/CVE-2026-99888 · Whole record: https://cve.day/CVE-2026-99888.json · Rebuilt by cve.day 2026-12-01T06:32:20.706Z
