Skip to content
7.8 High

CVE-2025-38715 In the Linux kernel, the following vulnerability has been resolved: hfs: fix slab-out-of-bounds in hfs_bnode_read() This…

Description

In the Linux kernel, the following vulnerability has been resolved: hfs: fix slab-out-of-bounds in hfs_bnode_read() This patch introduces is_bnode_offset_valid() method that checks the requested offset value. Also, it introduces check_and_correct_requested_length() method that checks and correct the requested length (if it is necessary). These methods are used in hfs_bnode_read(), hfs_bnode_write(), hfs_bnode_clear(), hfs_bnode_copy(), and hfs_bnode_move() with the goal to prevent the access out of allocated memory and triggering the crash.

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.2 6.16.2
Linux 6.15 earliest → < 6.15.11 6.15.11
Linux 6.12 earliest → < 6.12.43 6.12.43
Linux 6.6 earliest → < 6.6.103 6.6.103
Linux 6.1 earliest → < 6.1.149 6.1.149
Linux 5.15 earliest → < 5.15.190 5.15.190
Linux 5.10 earliest → < 5.10.241 5.10.241
Linux 5.4 earliest → < 5.4.297 5.4.297
Show the 2 other branches
Product Affected versions Fixed in
Linux 2.6.12 No fix stated
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE