ceph: fix uninitialized err in ceph_netfs_issue_read()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | ee4cdf7ba857a894ad1650d6ab77669cbbfa329e to before 87f72492245bcc04a9145315dd44f0493988b9a9 Affectedee4cdf7ba857a894ad1650d6ab77669cbbfa329e to before c94e08ae4ad38ef847e273d9d989b106a083dd2e Affectedee4cdf7ba857a894ad1650d6ab77669cbbfa329e to before d2f96029c08ac0f5298270c227963c4e3ffab3dc Affectedee4cdf7ba857a894ad1650d6ab77669cbbfa329e to before 823d21c78453fcdf58dbd8ecefbb41f4f3eb6540 Affected |
| Linux Linux | 6.12 Affectedbefore 6.12 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.