CVE-2026-99888
JSON

7.8high

ceph: fix uninitialized err in ceph_netfs_issue_read()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99888 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-99888 changed 2026-12-01Public domain