CVE-2023-54135

Summary

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

maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()

Check the write offset end bounds before using it as the offset into the pivot array. This avoids a possible out-of-bounds access on the pivot array if the write extends to the last slot in the node, in which case the node maximum should be used as the end pivot.

akpm: this doesn't affect any current callers, but new users of mapletree may encounter this problem if backported into earlier kernels, so let's fix it in -stable kernels in case of this.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux54a611b605901c7d5d05b6b8f5d04a6ceb0962aa < 4e2ad53ababeaac44d71162650984abfe783960caffected
LinuxLinux54a611b605901c7d5d05b6b8f5d04a6ceb0962aa < dc4751bd4aba01ccfc02f91adfeee0ba4cda405caffected
LinuxLinux54a611b605901c7d5d05b6b8f5d04a6ceb0962aa < f5fcf6555a2a4f32947d17b92b173837cc652891affected
LinuxLinux54a611b605901c7d5d05b6b8f5d04a6ceb0962aa < cd00dd2585c4158e81fdfac0bbcc0446afbad26daffected
LinuxLinux6.1affected
LinuxLinux0 < 6.1unaffected
LinuxLinux6.1.37 <= 6.1.*unaffected
LinuxLinux6.3.11 <= 6.3.*unaffected
LinuxLinux6.4.1 <= 6.4.*unaffected
LinuxLinux6.5 <= *unaffected

Weaknesses

References