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.
https://git.kernel.org/stable/c/d2f96029c08ac0f5298270c227963c4e3ffab3dc
https://git.kernel.org/stable/c/c94e08ae4ad38ef847e273d9d989b106a083dd2e
https://git.kernel.org/stable/c/87f72492245bcc04a9145315dd44f0493988b9a9
https://git.kernel.org/stable/c/823d21c78453fcdf58dbd8ecefbb41f4f3eb6540